******************************* *** The hack uses generator *** ******************************* ** Command line arguments ** no arguments ** Generated test ** 200000 77778 1 155555 2 33332 3 111109 4 188886 5 66663 6 144440 7 22217 8 99994 9 177771 10 55548 11 133325 12 11102 13 88879 14 166656 15 44433 16 122210 17 199987 18 77764 19 155541 20 33318 21 111095 22 188872 23 66649 24 144426 25 22203 26 99980 27 177757 28 55534 29 133311 30 11088 31 88865 32 166642 33 44419 34 122196 35 199973 36 77750 37 155527 38 33304 39 111081 40 188858 41 66635 42 144412 43 22189 44 99966 45 177743 46 55520 47 133297 48 11074 49... ** Generator source ** #ifdef LOCAL //#define _GLIBCXX_DEBUG #endif //#pragma GCC target("avx512f,avx512dq,avx512cd,avx512bw,avx512vl") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include using namespace std; typedef long long ll; #define endl '\n' #define REP(i, a, b) for(ll i=(a); i<(b); i++) #define PER(i, a, b) for(ll i=(a); i>=(b); i--) #define rep(i, n) REP(i, 0, n) int solve(){ ll n = 2e5; cout<