# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
990530 | 2024-05-30T15:36:15 Z | AdamGS | Shortcut (IOI16_shortcut) | C++17 | 1 ms | 4444 KB |
#include "shortcut.h" #include<bits/stdc++.h> using namespace std; typedef long long ll; #define rep(a, b) for(int a = 0; a < (b); ++a) #define st first #define nd second #define pb push_back #define all(a) a.begin(), a.end() const ll INF=1e18+7; const int LIM=1e6+7; ll P[LIM], T[LIM], prefm[LIM], n, C; ll tr[4*LIM], N=1; vector<pair<ll,ll>>sum, roz; void upd(int v, ll x) { v+=N; while(v) { tr[v]=max(tr[v], x); v/=2; } } ll cnt(int l, int r) { if(l>r) return -INF; l+=N; r+=N; ll ans=max(tr[l], tr[r]); while(l/2!=r/2) { if(l%2==0) ans=max(ans, tr[l+1]); if(r%2==1) ans=max(ans, tr[r-1]); l/=2; r/=2; } return ans; } bool check(ll k) { rep(i, 2*N) tr[i]=-INF; ll xpy_dol=-INF, xpy_gora=INF, ymx_dol=0, ymx_gora=INF; for(int b=1; b<n; ++b) { if(prefm[b-1]>k-P[b]-T[b]) { xpy_gora=min(xpy_gora, -prefm[b-1]+P[b]-T[b]+k-C); ymx_dol=max(ymx_dol, prefm[b-1]+P[b]+T[b]-k+C); } } int l=n-1; for(auto i : sum) { while(l>=0 && roz[l].st>k-i.st) { upd(roz[l].nd, P[roz[l].nd]+T[roz[l].nd]); --l; } ll x=cnt(0, i.nd-1); xpy_dol=max(xpy_dol, x+P[i.nd]+T[i.nd]-k+C); ymx_gora=min(ymx_gora, -x+P[i.nd]-T[i.nd]+k-C); } int la=n, lb=n-1, lc=-1, ld=0; rep(b, n) { while(la>0 && P[la-1]+P[b]>=xpy_dol) --la; while(lb>=0 && P[lb]+P[b]>xpy_gora) --lb; while(lc+1<n && P[b]-P[lc+1]>=ymx_dol) ++lc; while(ld<n && P[b]-P[ld]>ymx_gora) ++ld; if(la<=lb && ld<=lc && ((la<=ld && ld<=lb) || (la<=lc && lc<=lb))) return true; } return false; } ll find_shortcut(int _n, vector<int>_l, vector<int>_d, int _c) { n=_n; C=_c; while(N<n) N*=2; rep(i, n-1) P[i+1]=P[i]+_l[i]; rep(i, n) T[i]=_d[i]; rep(i, n) { prefm[i]=T[i]-P[i]; if(i) prefm[i]=max(prefm[i], prefm[i-1]); sum.pb({T[i]+P[i], i}); roz.pb({T[i]-P[i], i}); } sort(all(sum)); sort(all(roz)); ll po=0, ko=3000000000000000; while(po<ko) { ll sr=(po+ko)/2; if(check(sr)) ko=sr; else po=sr+1; } return po; }
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | n = 4, 80 is a correct answer |
2 | Correct | 1 ms | 4444 KB | n = 9, 110 is a correct answer |
3 | Correct | 1 ms | 4444 KB | n = 4, 21 is a correct answer |
4 | Correct | 1 ms | 4444 KB | n = 3, 4 is a correct answer |
5 | Correct | 1 ms | 4444 KB | n = 2, 62 is a correct answer |
6 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
7 | Correct | 1 ms | 4444 KB | n = 3, 29 is a correct answer |
8 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
9 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
10 | Correct | 1 ms | 4444 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 1 ms | 4444 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 1 ms | 4444 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 1 ms | 4444 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 1 ms | 4444 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 1 ms | 4444 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 1 ms | 4444 KB | n = 10, 3189 is a correct answer |
19 | Correct | 1 ms | 4444 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 1 ms | 4444 KB | n = 5, 12 is a correct answer |
21 | Correct | 1 ms | 4444 KB | n = 5, 25 is a correct answer |
22 | Correct | 1 ms | 4444 KB | n = 2, 122 is a correct answer |
23 | Correct | 1 ms | 4444 KB | n = 10, 117 is a correct answer |
24 | Correct | 1 ms | 4444 KB | n = 10, 336 is a correct answer |
25 | Correct | 1 ms | 4444 KB | n = 10, 438 is a correct answer |
26 | Correct | 1 ms | 4444 KB | n = 10, 206 is a correct answer |
27 | Correct | 1 ms | 4444 KB | n = 10, 636 is a correct answer |
28 | Correct | 1 ms | 4444 KB | n = 4, 2399 is a correct answer |
29 | Correct | 1 ms | 4444 KB | n = 10, 10992 is a correct answer |
30 | Correct | 1 ms | 4444 KB | n = 10, 3112 is a correct answer |
31 | Correct | 1 ms | 4444 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 1 ms | 4444 KB | n = 50, 197881272 is a correct answer |
33 | Incorrect | 1 ms | 4444 KB | n = 100, incorrect answer: jury 20969 vs contestant 20979 |
34 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | n = 4, 80 is a correct answer |
2 | Correct | 1 ms | 4444 KB | n = 9, 110 is a correct answer |
3 | Correct | 1 ms | 4444 KB | n = 4, 21 is a correct answer |
4 | Correct | 1 ms | 4444 KB | n = 3, 4 is a correct answer |
5 | Correct | 1 ms | 4444 KB | n = 2, 62 is a correct answer |
6 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
7 | Correct | 1 ms | 4444 KB | n = 3, 29 is a correct answer |
8 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
9 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
10 | Correct | 1 ms | 4444 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 1 ms | 4444 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 1 ms | 4444 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 1 ms | 4444 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 1 ms | 4444 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 1 ms | 4444 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 1 ms | 4444 KB | n = 10, 3189 is a correct answer |
19 | Correct | 1 ms | 4444 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 1 ms | 4444 KB | n = 5, 12 is a correct answer |
21 | Correct | 1 ms | 4444 KB | n = 5, 25 is a correct answer |
22 | Correct | 1 ms | 4444 KB | n = 2, 122 is a correct answer |
23 | Correct | 1 ms | 4444 KB | n = 10, 117 is a correct answer |
24 | Correct | 1 ms | 4444 KB | n = 10, 336 is a correct answer |
25 | Correct | 1 ms | 4444 KB | n = 10, 438 is a correct answer |
26 | Correct | 1 ms | 4444 KB | n = 10, 206 is a correct answer |
27 | Correct | 1 ms | 4444 KB | n = 10, 636 is a correct answer |
28 | Correct | 1 ms | 4444 KB | n = 4, 2399 is a correct answer |
29 | Correct | 1 ms | 4444 KB | n = 10, 10992 is a correct answer |
30 | Correct | 1 ms | 4444 KB | n = 10, 3112 is a correct answer |
31 | Correct | 1 ms | 4444 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 1 ms | 4444 KB | n = 50, 197881272 is a correct answer |
33 | Incorrect | 1 ms | 4444 KB | n = 100, incorrect answer: jury 20969 vs contestant 20979 |
34 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | n = 4, 80 is a correct answer |
2 | Correct | 1 ms | 4444 KB | n = 9, 110 is a correct answer |
3 | Correct | 1 ms | 4444 KB | n = 4, 21 is a correct answer |
4 | Correct | 1 ms | 4444 KB | n = 3, 4 is a correct answer |
5 | Correct | 1 ms | 4444 KB | n = 2, 62 is a correct answer |
6 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
7 | Correct | 1 ms | 4444 KB | n = 3, 29 is a correct answer |
8 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
9 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
10 | Correct | 1 ms | 4444 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 1 ms | 4444 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 1 ms | 4444 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 1 ms | 4444 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 1 ms | 4444 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 1 ms | 4444 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 1 ms | 4444 KB | n = 10, 3189 is a correct answer |
19 | Correct | 1 ms | 4444 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 1 ms | 4444 KB | n = 5, 12 is a correct answer |
21 | Correct | 1 ms | 4444 KB | n = 5, 25 is a correct answer |
22 | Correct | 1 ms | 4444 KB | n = 2, 122 is a correct answer |
23 | Correct | 1 ms | 4444 KB | n = 10, 117 is a correct answer |
24 | Correct | 1 ms | 4444 KB | n = 10, 336 is a correct answer |
25 | Correct | 1 ms | 4444 KB | n = 10, 438 is a correct answer |
26 | Correct | 1 ms | 4444 KB | n = 10, 206 is a correct answer |
27 | Correct | 1 ms | 4444 KB | n = 10, 636 is a correct answer |
28 | Correct | 1 ms | 4444 KB | n = 4, 2399 is a correct answer |
29 | Correct | 1 ms | 4444 KB | n = 10, 10992 is a correct answer |
30 | Correct | 1 ms | 4444 KB | n = 10, 3112 is a correct answer |
31 | Correct | 1 ms | 4444 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 1 ms | 4444 KB | n = 50, 197881272 is a correct answer |
33 | Incorrect | 1 ms | 4444 KB | n = 100, incorrect answer: jury 20969 vs contestant 20979 |
34 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | n = 4, 80 is a correct answer |
2 | Correct | 1 ms | 4444 KB | n = 9, 110 is a correct answer |
3 | Correct | 1 ms | 4444 KB | n = 4, 21 is a correct answer |
4 | Correct | 1 ms | 4444 KB | n = 3, 4 is a correct answer |
5 | Correct | 1 ms | 4444 KB | n = 2, 62 is a correct answer |
6 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
7 | Correct | 1 ms | 4444 KB | n = 3, 29 is a correct answer |
8 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
9 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
10 | Correct | 1 ms | 4444 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 1 ms | 4444 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 1 ms | 4444 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 1 ms | 4444 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 1 ms | 4444 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 1 ms | 4444 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 1 ms | 4444 KB | n = 10, 3189 is a correct answer |
19 | Correct | 1 ms | 4444 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 1 ms | 4444 KB | n = 5, 12 is a correct answer |
21 | Correct | 1 ms | 4444 KB | n = 5, 25 is a correct answer |
22 | Correct | 1 ms | 4444 KB | n = 2, 122 is a correct answer |
23 | Correct | 1 ms | 4444 KB | n = 10, 117 is a correct answer |
24 | Correct | 1 ms | 4444 KB | n = 10, 336 is a correct answer |
25 | Correct | 1 ms | 4444 KB | n = 10, 438 is a correct answer |
26 | Correct | 1 ms | 4444 KB | n = 10, 206 is a correct answer |
27 | Correct | 1 ms | 4444 KB | n = 10, 636 is a correct answer |
28 | Correct | 1 ms | 4444 KB | n = 4, 2399 is a correct answer |
29 | Correct | 1 ms | 4444 KB | n = 10, 10992 is a correct answer |
30 | Correct | 1 ms | 4444 KB | n = 10, 3112 is a correct answer |
31 | Correct | 1 ms | 4444 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 1 ms | 4444 KB | n = 50, 197881272 is a correct answer |
33 | Incorrect | 1 ms | 4444 KB | n = 100, incorrect answer: jury 20969 vs contestant 20979 |
34 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | n = 4, 80 is a correct answer |
2 | Correct | 1 ms | 4444 KB | n = 9, 110 is a correct answer |
3 | Correct | 1 ms | 4444 KB | n = 4, 21 is a correct answer |
4 | Correct | 1 ms | 4444 KB | n = 3, 4 is a correct answer |
5 | Correct | 1 ms | 4444 KB | n = 2, 62 is a correct answer |
6 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
7 | Correct | 1 ms | 4444 KB | n = 3, 29 is a correct answer |
8 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
9 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
10 | Correct | 1 ms | 4444 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 1 ms | 4444 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 1 ms | 4444 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 1 ms | 4444 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 1 ms | 4444 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 1 ms | 4444 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 1 ms | 4444 KB | n = 10, 3189 is a correct answer |
19 | Correct | 1 ms | 4444 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 1 ms | 4444 KB | n = 5, 12 is a correct answer |
21 | Correct | 1 ms | 4444 KB | n = 5, 25 is a correct answer |
22 | Correct | 1 ms | 4444 KB | n = 2, 122 is a correct answer |
23 | Correct | 1 ms | 4444 KB | n = 10, 117 is a correct answer |
24 | Correct | 1 ms | 4444 KB | n = 10, 336 is a correct answer |
25 | Correct | 1 ms | 4444 KB | n = 10, 438 is a correct answer |
26 | Correct | 1 ms | 4444 KB | n = 10, 206 is a correct answer |
27 | Correct | 1 ms | 4444 KB | n = 10, 636 is a correct answer |
28 | Correct | 1 ms | 4444 KB | n = 4, 2399 is a correct answer |
29 | Correct | 1 ms | 4444 KB | n = 10, 10992 is a correct answer |
30 | Correct | 1 ms | 4444 KB | n = 10, 3112 is a correct answer |
31 | Correct | 1 ms | 4444 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 1 ms | 4444 KB | n = 50, 197881272 is a correct answer |
33 | Incorrect | 1 ms | 4444 KB | n = 100, incorrect answer: jury 20969 vs contestant 20979 |
34 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | n = 4, 80 is a correct answer |
2 | Correct | 1 ms | 4444 KB | n = 9, 110 is a correct answer |
3 | Correct | 1 ms | 4444 KB | n = 4, 21 is a correct answer |
4 | Correct | 1 ms | 4444 KB | n = 3, 4 is a correct answer |
5 | Correct | 1 ms | 4444 KB | n = 2, 62 is a correct answer |
6 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
7 | Correct | 1 ms | 4444 KB | n = 3, 29 is a correct answer |
8 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
9 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
10 | Correct | 1 ms | 4444 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 1 ms | 4444 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 1 ms | 4444 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 1 ms | 4444 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 1 ms | 4444 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 1 ms | 4444 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 1 ms | 4444 KB | n = 10, 3189 is a correct answer |
19 | Correct | 1 ms | 4444 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 1 ms | 4444 KB | n = 5, 12 is a correct answer |
21 | Correct | 1 ms | 4444 KB | n = 5, 25 is a correct answer |
22 | Correct | 1 ms | 4444 KB | n = 2, 122 is a correct answer |
23 | Correct | 1 ms | 4444 KB | n = 10, 117 is a correct answer |
24 | Correct | 1 ms | 4444 KB | n = 10, 336 is a correct answer |
25 | Correct | 1 ms | 4444 KB | n = 10, 438 is a correct answer |
26 | Correct | 1 ms | 4444 KB | n = 10, 206 is a correct answer |
27 | Correct | 1 ms | 4444 KB | n = 10, 636 is a correct answer |
28 | Correct | 1 ms | 4444 KB | n = 4, 2399 is a correct answer |
29 | Correct | 1 ms | 4444 KB | n = 10, 10992 is a correct answer |
30 | Correct | 1 ms | 4444 KB | n = 10, 3112 is a correct answer |
31 | Correct | 1 ms | 4444 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 1 ms | 4444 KB | n = 50, 197881272 is a correct answer |
33 | Incorrect | 1 ms | 4444 KB | n = 100, incorrect answer: jury 20969 vs contestant 20979 |
34 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | n = 4, 80 is a correct answer |
2 | Correct | 1 ms | 4444 KB | n = 9, 110 is a correct answer |
3 | Correct | 1 ms | 4444 KB | n = 4, 21 is a correct answer |
4 | Correct | 1 ms | 4444 KB | n = 3, 4 is a correct answer |
5 | Correct | 1 ms | 4444 KB | n = 2, 62 is a correct answer |
6 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
7 | Correct | 1 ms | 4444 KB | n = 3, 29 is a correct answer |
8 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
9 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
10 | Correct | 1 ms | 4444 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 1 ms | 4444 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 1 ms | 4444 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 1 ms | 4444 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 1 ms | 4444 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 1 ms | 4444 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 1 ms | 4444 KB | n = 10, 3189 is a correct answer |
19 | Correct | 1 ms | 4444 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 1 ms | 4444 KB | n = 5, 12 is a correct answer |
21 | Correct | 1 ms | 4444 KB | n = 5, 25 is a correct answer |
22 | Correct | 1 ms | 4444 KB | n = 2, 122 is a correct answer |
23 | Correct | 1 ms | 4444 KB | n = 10, 117 is a correct answer |
24 | Correct | 1 ms | 4444 KB | n = 10, 336 is a correct answer |
25 | Correct | 1 ms | 4444 KB | n = 10, 438 is a correct answer |
26 | Correct | 1 ms | 4444 KB | n = 10, 206 is a correct answer |
27 | Correct | 1 ms | 4444 KB | n = 10, 636 is a correct answer |
28 | Correct | 1 ms | 4444 KB | n = 4, 2399 is a correct answer |
29 | Correct | 1 ms | 4444 KB | n = 10, 10992 is a correct answer |
30 | Correct | 1 ms | 4444 KB | n = 10, 3112 is a correct answer |
31 | Correct | 1 ms | 4444 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 1 ms | 4444 KB | n = 50, 197881272 is a correct answer |
33 | Incorrect | 1 ms | 4444 KB | n = 100, incorrect answer: jury 20969 vs contestant 20979 |
34 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | n = 4, 80 is a correct answer |
2 | Correct | 1 ms | 4444 KB | n = 9, 110 is a correct answer |
3 | Correct | 1 ms | 4444 KB | n = 4, 21 is a correct answer |
4 | Correct | 1 ms | 4444 KB | n = 3, 4 is a correct answer |
5 | Correct | 1 ms | 4444 KB | n = 2, 62 is a correct answer |
6 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
7 | Correct | 1 ms | 4444 KB | n = 3, 29 is a correct answer |
8 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
9 | Correct | 1 ms | 4444 KB | n = 2, 3 is a correct answer |
10 | Correct | 1 ms | 4444 KB | n = 2, 2000000001 is a correct answer |
11 | Correct | 1 ms | 4444 KB | n = 2, 3000000000 is a correct answer |
12 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
13 | Correct | 1 ms | 4444 KB | n = 3, 3000000000 is a correct answer |
14 | Correct | 1 ms | 4444 KB | n = 4, 3000000001 is a correct answer |
15 | Correct | 1 ms | 4444 KB | n = 4, 4000000000 is a correct answer |
16 | Correct | 1 ms | 4444 KB | n = 5, 4000000000 is a correct answer |
17 | Correct | 1 ms | 4444 KB | n = 10, 1000000343 is a correct answer |
18 | Correct | 1 ms | 4444 KB | n = 10, 3189 is a correct answer |
19 | Correct | 1 ms | 4444 KB | n = 10, 7000000000 is a correct answer |
20 | Correct | 1 ms | 4444 KB | n = 5, 12 is a correct answer |
21 | Correct | 1 ms | 4444 KB | n = 5, 25 is a correct answer |
22 | Correct | 1 ms | 4444 KB | n = 2, 122 is a correct answer |
23 | Correct | 1 ms | 4444 KB | n = 10, 117 is a correct answer |
24 | Correct | 1 ms | 4444 KB | n = 10, 336 is a correct answer |
25 | Correct | 1 ms | 4444 KB | n = 10, 438 is a correct answer |
26 | Correct | 1 ms | 4444 KB | n = 10, 206 is a correct answer |
27 | Correct | 1 ms | 4444 KB | n = 10, 636 is a correct answer |
28 | Correct | 1 ms | 4444 KB | n = 4, 2399 is a correct answer |
29 | Correct | 1 ms | 4444 KB | n = 10, 10992 is a correct answer |
30 | Correct | 1 ms | 4444 KB | n = 10, 3112 is a correct answer |
31 | Correct | 1 ms | 4444 KB | n = 100, 51000000001 is a correct answer |
32 | Correct | 1 ms | 4444 KB | n = 50, 197881272 is a correct answer |
33 | Incorrect | 1 ms | 4444 KB | n = 100, incorrect answer: jury 20969 vs contestant 20979 |
34 | Halted | 0 ms | 0 KB | - |