******************************* *** The hack uses generator *** ******************************* ** Command line arguments ** no arguments ** Generated test ** 0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 12 0 13 0 14 0 15 0 16 0 17 0 18 0 19 0 20 0 21 0 22 0 23 0 24 0 25 0 26 0 27 0 28 0 29 0 30 0 31 0 32 0 33 0 34 0 35 0 36 0 37 0 38 0 39 0 40 0 41 0 42 0 43 0 44 0 45 0 46 0 47 0 48 0 49 1 0 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 1 11 1 12 1 13 1 14 1 15 1 16 1 17 1 18 1 19 1 20 1 21 1 22 1 23 1 24 1 25 1 26 1 27 1 28 1 29 1 30 1 31 1 32 1 33 1 34 1 35 1 36 1 37 1 3... ** Generator source ** #include using namespace std; #define int long long int #define fast ios::sync_with_stdio(0),cin.tie(0),cout.tie(0) #define all(x) (x).begin(),(x).end() void solve() { srand(time(0)); int n = 3000; for(int i=0; i<=50; ++i) { for(int j=0; j<50; ++j) { cout << i << " " << j << "\n"; } } } signed main() { int t=1; //cin >> t; while(t--) { solve(); } return 0; }