# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
20795 | 2017-02-16T05:02:58 Z | ainta | Shortcut (IOI16_shortcut) | C++14 | 0 ms | 431972 KB |
#include "shortcut.h" #include<stdio.h> #include<algorithm> #include<cstdlib> #include<vector> #define N_ 1010000 #define SZ 1048576 #define pll pair<long long, long long> using namespace std; int n, lower[N_]; long long LD[N_], RD[N_], S[N_], P[N_], IT1[N_][20], IT2[N_][20], TL; long long LT[N_], RT[N_]; long long Max1(int b, int e){ int t = lower[e-b+1]; return max(IT1[b][t], IT1[e-(1<<t)+1][t]); } long long Max2(int b, int e){ int t = lower[e-b+1]; return max(IT2[b][t], IT2[e-(1<<t)+1][t]); } long long st[1010000][2]; struct point{ long long a, b, num; bool operator<(const point &p)const{ return a<p.a; } }AA[N_], BB[N_]; long long LCalc(int b, int e, int mid){ if(b==1)return 0; long long mm = Max1(b,mid); if(mid < e) mm = max(mm, Max2(mid+1,e) + TL + S[e] + S[b]); return mm + LT[b-1]; } long long RCalc(int b, int e, int mid){ if(e==n)return 0; long long mm = Max2(mid,e); if(mid > b) mm = max(mm, Max1(b,mid-1) + TL - S[e] - S[b]); return mm + RT[e+1]; } bool Pos(long long d){ if(LD[n]<=d)return true; int pv, ppv, i; long long ML = 1e18; long long Mx1 = -1e18, Mx2 = -1e18; int pv1 = -1, pv2 = -1; pv = n+1; for(i=1;i<=n;i++){ while(pv>1 && BB[pv-1].a + AA[i].a > d){ pv--; if(Mx1 < BB[pv].b){ Mx2 = Mx1; pv2 = pv1; Mx1 = BB[pv].b, pv1 = BB[pv].num; } else if(Mx2 < BB[pv].b){ Mx2 = BB[pv].b, pv2 = BB[pv].num; } } if(pv1 == AA[i].num) ML = min(ML, d - (Mx2 + AA[i].b)); else ML = min(ML, d - (Mx1 + AA[i].b)); } pv = pv1 = pv2 = 1; for(i=1;i<n;i++){ if(LD[i] > d)break; while(pv+1<=n && S[pv+1]-S[i]+TL <=ML)pv++; while(pv1 < pv && S[pv]-S[i]+TL >= (S[pv1+1]-S[i])*2)pv1++; while(pv2 < pv && S[pv]-S[i]+TL < (S[pv]-S[pv2])*2)pv2++; if(LCalc(i,pv,pv1) > d)break; if(RD[pv] <= d && RCalc(i,pv,pv2) <= d && LT[i] + RT[pv] - (S[pv]-S[i]) + TL <= d)return true; } for(;i<n;i++){ if(pv<=i)return false; while(pv>i && LCalc(i,pv,pv1)>d){ pv--; if(pv<=i)return false; while(pv1 > i && S[pv]-S[i]+TL < (S[pv1]-S[i])*2)pv1--; while(pv2 > i && S[pv]-S[i]+TL >= (S[pv]-S[pv2-1])*2)pv2--; } if(RD[pv] <= d && RCalc(i,pv,pv2) <= d && LT[i] + RT[pv] - (S[pv]-S[i]) + TL <= d)return true; } return false; } long long find_shortcut(int N, vector<int> l, vector<int> d, int c) { TL = c; n = N; int i, j; for(i=1;i<=n;i++){ lower[i]=lower[i-1]; if((1<<(lower[i]+1)) <= i)lower[i]++; } for(i=1;i<=n;i++){ if(i!=1)S[i] = S[i-1] + l[i-2]; P[i] = d[i-1]; } long long mx = 0; for(i=1;i<=n;i++){ LD[i] = max(LD[i-1], mx+S[i]+P[i]); mx = max(mx, P[i]-S[i]); LT[i] = mx; } mx = S[n]; for(i=n;i>=1;i--){ RD[i] = max(RD[i+1], mx-S[i]+P[i]); mx = max(mx, P[i]+S[i]); RT[i] = mx; IT1[i][0] = S[i]+P[i], IT2[i][0] = P[i]-S[i]; } for(i=1;i<=n;i++){ AA[i].a = S[i]+P[i], AA[i].b = P[i]-S[i], AA[i].num = i; BB[i].a = P[i]-S[i], BB[i].b = S[i]+P[i], BB[i].num = i; } sort(AA+1,AA+n+1); sort(BB+1,BB+n+1); for(i=0;i<19;i++){ for(j=1;j<=n;j++){ if(j+(1<<(i+1)) - 1 > n)continue; IT1[j][i+1] = max(IT1[j][i],IT1[j+(1<<i)][i]); IT2[j][i+1] = max(IT2[j][i],IT2[j+(1<<i)][i]); } } long long b = 0, e = LD[n], mid, res = 0; while(b<=e){ mid = (b+e)/2; if(Pos(mid)){ res = mid; e = mid - 1; } else b = mid + 1; } return res; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 431972 KB | n = 4, 80 is a correct answer |
2 | Correct | 0 ms | 431972 KB | n = 9, 110 is a correct answer |
3 | Correct | 0 ms | 431972 KB | n = 4, 21 is a correct answer |
4 | Correct | 0 ms | 431972 KB | n = 3, 4 is a correct answer |
5 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
6 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
7 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
8 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
9 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
10 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
19 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
21 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
22 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
23 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
24 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
25 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
26 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
27 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
28 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
29 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
30 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
31 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
33 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
34 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
35 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
36 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
37 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
38 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 431972 KB | n = 4, 80 is a correct answer |
2 | Correct | 0 ms | 431972 KB | n = 9, 110 is a correct answer |
3 | Correct | 0 ms | 431972 KB | n = 4, 21 is a correct answer |
4 | Correct | 0 ms | 431972 KB | n = 3, 4 is a correct answer |
5 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
6 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
7 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
8 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
9 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
10 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
19 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
21 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
22 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
23 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
24 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
25 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
26 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
27 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
28 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
29 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
30 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
31 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
33 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
34 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
35 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
36 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
37 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
38 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
39 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
40 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
41 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
42 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
43 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
44 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
45 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
46 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
47 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
48 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
49 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
50 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
51 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
52 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
53 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
54 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
55 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
56 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
57 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
58 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
59 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
60 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
61 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
62 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
63 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
64 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
65 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
66 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
67 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
68 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
69 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
70 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
71 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
72 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 431972 KB | n = 4, 80 is a correct answer |
2 | Correct | 0 ms | 431972 KB | n = 9, 110 is a correct answer |
3 | Correct | 0 ms | 431972 KB | n = 4, 21 is a correct answer |
4 | Correct | 0 ms | 431972 KB | n = 3, 4 is a correct answer |
5 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
6 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
7 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
8 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
9 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
10 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
19 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
21 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
22 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
23 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
24 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
25 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
26 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
27 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
28 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
29 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
30 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
31 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
33 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
34 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
35 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
36 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
37 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
38 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
39 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
40 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
41 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
42 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
43 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
44 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
45 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
46 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
47 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
48 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
49 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
50 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
51 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
52 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
53 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
54 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
55 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
56 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
57 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
58 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
59 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
60 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
61 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
62 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
63 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
64 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
65 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
66 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
67 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
68 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
69 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
70 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
71 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
72 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
73 | Correct | 0 ms | 431972 KB | n = 250, 25037 is a correct answer |
74 | Correct | 0 ms | 431972 KB | n = 250, 199047242 is a correct answer |
75 | Incorrect | 0 ms | 431972 KB | n = 250, incorrect answer: jury 61231537449 vs contestant 61289011172 |
76 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 431972 KB | n = 4, 80 is a correct answer |
2 | Correct | 0 ms | 431972 KB | n = 9, 110 is a correct answer |
3 | Correct | 0 ms | 431972 KB | n = 4, 21 is a correct answer |
4 | Correct | 0 ms | 431972 KB | n = 3, 4 is a correct answer |
5 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
6 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
7 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
8 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
9 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
10 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
19 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
21 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
22 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
23 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
24 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
25 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
26 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
27 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
28 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
29 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
30 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
31 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
33 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
34 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
35 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
36 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
37 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
38 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
39 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
40 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
41 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
42 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
43 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
44 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
45 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
46 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
47 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
48 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
49 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
50 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
51 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
52 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
53 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
54 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
55 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
56 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
57 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
58 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
59 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
60 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
61 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
62 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
63 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
64 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
65 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
66 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
67 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
68 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
69 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
70 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
71 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
72 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
73 | Correct | 0 ms | 431972 KB | n = 250, 25037 is a correct answer |
74 | Correct | 0 ms | 431972 KB | n = 250, 199047242 is a correct answer |
75 | Incorrect | 0 ms | 431972 KB | n = 250, incorrect answer: jury 61231537449 vs contestant 61289011172 |
76 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 431972 KB | n = 4, 80 is a correct answer |
2 | Correct | 0 ms | 431972 KB | n = 9, 110 is a correct answer |
3 | Correct | 0 ms | 431972 KB | n = 4, 21 is a correct answer |
4 | Correct | 0 ms | 431972 KB | n = 3, 4 is a correct answer |
5 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
6 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
7 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
8 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
9 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
10 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
19 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
21 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
22 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
23 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
24 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
25 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
26 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
27 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
28 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
29 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
30 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
31 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
33 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
34 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
35 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
36 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
37 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
38 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
39 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
40 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
41 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
42 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
43 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
44 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
45 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
46 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
47 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
48 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
49 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
50 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
51 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
52 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
53 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
54 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
55 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
56 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
57 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
58 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
59 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
60 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
61 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
62 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
63 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
64 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
65 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
66 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
67 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
68 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
69 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
70 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
71 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
72 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
73 | Correct | 0 ms | 431972 KB | n = 250, 25037 is a correct answer |
74 | Correct | 0 ms | 431972 KB | n = 250, 199047242 is a correct answer |
75 | Incorrect | 0 ms | 431972 KB | n = 250, incorrect answer: jury 61231537449 vs contestant 61289011172 |
76 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 431972 KB | n = 4, 80 is a correct answer |
2 | Correct | 0 ms | 431972 KB | n = 9, 110 is a correct answer |
3 | Correct | 0 ms | 431972 KB | n = 4, 21 is a correct answer |
4 | Correct | 0 ms | 431972 KB | n = 3, 4 is a correct answer |
5 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
6 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
7 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
8 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
9 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
10 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
19 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
21 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
22 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
23 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
24 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
25 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
26 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
27 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
28 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
29 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
30 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
31 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
33 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
34 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
35 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
36 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
37 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
38 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
39 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
40 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
41 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
42 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
43 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
44 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
45 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
46 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
47 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
48 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
49 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
50 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
51 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
52 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
53 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
54 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
55 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
56 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
57 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
58 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
59 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
60 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
61 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
62 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
63 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
64 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
65 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
66 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
67 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
68 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
69 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
70 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
71 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
72 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
73 | Correct | 0 ms | 431972 KB | n = 250, 25037 is a correct answer |
74 | Correct | 0 ms | 431972 KB | n = 250, 199047242 is a correct answer |
75 | Incorrect | 0 ms | 431972 KB | n = 250, incorrect answer: jury 61231537449 vs contestant 61289011172 |
76 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 431972 KB | n = 4, 80 is a correct answer |
2 | Correct | 0 ms | 431972 KB | n = 9, 110 is a correct answer |
3 | Correct | 0 ms | 431972 KB | n = 4, 21 is a correct answer |
4 | Correct | 0 ms | 431972 KB | n = 3, 4 is a correct answer |
5 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
6 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
7 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
8 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
9 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
10 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
19 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
21 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
22 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
23 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
24 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
25 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
26 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
27 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
28 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
29 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
30 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
31 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
33 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
34 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
35 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
36 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
37 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
38 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
39 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
40 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
41 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
42 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
43 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
44 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
45 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
46 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
47 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
48 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
49 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
50 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
51 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
52 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
53 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
54 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
55 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
56 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
57 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
58 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
59 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
60 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
61 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
62 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
63 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
64 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
65 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
66 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
67 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
68 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
69 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
70 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
71 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
72 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
73 | Correct | 0 ms | 431972 KB | n = 250, 25037 is a correct answer |
74 | Correct | 0 ms | 431972 KB | n = 250, 199047242 is a correct answer |
75 | Incorrect | 0 ms | 431972 KB | n = 250, incorrect answer: jury 61231537449 vs contestant 61289011172 |
76 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 431972 KB | n = 4, 80 is a correct answer |
2 | Correct | 0 ms | 431972 KB | n = 9, 110 is a correct answer |
3 | Correct | 0 ms | 431972 KB | n = 4, 21 is a correct answer |
4 | Correct | 0 ms | 431972 KB | n = 3, 4 is a correct answer |
5 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
6 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
7 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
8 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
9 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
10 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
19 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
21 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
22 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
23 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
24 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
25 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
26 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
27 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
28 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
29 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
30 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
31 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
33 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
34 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
35 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
36 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
37 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
38 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
39 | Correct | 0 ms | 431972 KB | n = 2, 62 is a correct answer |
40 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
41 | Correct | 0 ms | 431972 KB | n = 3, 29 is a correct answer |
42 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
43 | Correct | 0 ms | 431972 KB | n = 2, 3 is a correct answer |
44 | Correct | 0 ms | 431972 KB | n = 2, 2000000001 is a correct answer |
45 | Correct | 0 ms | 431972 KB | n = 2, 3000000000 is a correct answer |
46 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
47 | Correct | 0 ms | 431972 KB | n = 3, 3000000000 is a correct answer |
48 | Correct | 0 ms | 431972 KB | n = 4, 3000000001 is a correct answer |
49 | Correct | 0 ms | 431972 KB | n = 4, 4000000000 is a correct answer |
50 | Correct | 0 ms | 431972 KB | n = 5, 4000000000 is a correct answer |
51 | Correct | 0 ms | 431972 KB | n = 10, 1000000343 is a correct answer |
52 | Correct | 0 ms | 431972 KB | n = 10, 3189 is a correct answer |
53 | Correct | 0 ms | 431972 KB | n = 10, 7000000000 is a correct answer |
54 | Correct | 0 ms | 431972 KB | n = 5, 12 is a correct answer |
55 | Correct | 0 ms | 431972 KB | n = 5, 25 is a correct answer |
56 | Correct | 0 ms | 431972 KB | n = 2, 122 is a correct answer |
57 | Correct | 0 ms | 431972 KB | n = 10, 117 is a correct answer |
58 | Correct | 0 ms | 431972 KB | n = 10, 336 is a correct answer |
59 | Correct | 0 ms | 431972 KB | n = 10, 438 is a correct answer |
60 | Correct | 0 ms | 431972 KB | n = 10, 206 is a correct answer |
61 | Correct | 0 ms | 431972 KB | n = 10, 636 is a correct answer |
62 | Correct | 0 ms | 431972 KB | n = 4, 2399 is a correct answer |
63 | Correct | 0 ms | 431972 KB | n = 10, 10992 is a correct answer |
64 | Correct | 0 ms | 431972 KB | n = 10, 3112 is a correct answer |
65 | Correct | 0 ms | 431972 KB | n = 100, 51000000001 is a correct answer |
66 | Correct | 0 ms | 431972 KB | n = 50, 197881272 is a correct answer |
67 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
68 | Correct | 0 ms | 431972 KB | n = 100, 20969 is a correct answer |
69 | Correct | 0 ms | 431972 KB | n = 100, 52000000000 is a correct answer |
70 | Correct | 0 ms | 431972 KB | n = 100, 285 is a correct answer |
71 | Correct | 0 ms | 431972 KB | n = 100, 21272 is a correct answer |
72 | Correct | 0 ms | 431972 KB | n = 100, 12161 is a correct answer |
73 | Correct | 0 ms | 431972 KB | n = 250, 25037 is a correct answer |
74 | Correct | 0 ms | 431972 KB | n = 250, 199047242 is a correct answer |
75 | Incorrect | 0 ms | 431972 KB | n = 250, incorrect answer: jury 61231537449 vs contestant 61289011172 |
76 | Halted | 0 ms | 0 KB | - |