You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be produced not intentional in polygon with simple generator
#include "testlib.h"
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main(int argc, char* argv[]){
registerGen(argc, argv, 1);
ll r = rnd.next(1LL, ll(1e18));
cout<<r<<endl;
return 0;
}
and any test script with arguments different in last symbol (this makes seeds different by 1)
<#list 10..49 as k>
gen ${k} > $
</#list>
<#list ['a','b','c','d','e','f','g','h','i'] as k>
gen ajsd nkajsbdk jas ${k} > $
</#list>
gen 15 this > $
gen 15 random > $
gen 15 tokens > $
gen 15 matters > $
gen 10 > $ ... gen 19 > $ will generate close to each other numbers, next 10 tests will be close to each other and so on.
The text was updated successfully, but these errors were encountered:
First random 64bit number always similar for similar seeds
example program
output
This can be produced not intentional in polygon with simple generator
and any test script with arguments different in last symbol (this makes seeds different by 1)
gen 10 > $
...gen 19 > $
will generate close to each other numbers, next 10 tests will be close to each other and so on.The text was updated successfully, but these errors were encountered: