******************************* *** The hack uses generator *** ******************************* ** Command line arguments ** no arguments ** Generated test ** 1000 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 100 1 100 ... ** Generator source ** #include using namespace std; #define int long long const int mod = 1e9+7; const int mod2 = 998244353; template T power(T a,int b){ T x=1; while(b){ if(b&1)x*=a; a*=a; b>>=1; } return x; } int power(int a,int b,int m){ int x=1; while(b){ if(b&1)x=x*a%m; a=a*a%m; b>>=1; } return x; } signed main() { ios_base::sync_with_stdio(0); cin.tie(NULL); cout.tie(NULL); cout<<"1000\n"; for(int i=0;i<1000;i++){ cout<<"100 1 100\n"; } }