# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1025286 | 2024-07-16T19:17:24 Z | Vanio | Segments (IZhO18_segments) | C++17 | 5000 ms | 12968 KB |
#pragma GCC optimize("Ofast") #pragma GCC optimize("unroll-loops") #pragma GCC optimize("avx2") #include<bits/stdc++.h> using namespace std; struct segment{ int l,r; }; segment seg[200001],tseg[200001]; bool fff(segment p, segment q){ return p.r-p.l>q.r-q.l; } struct block{ int mi=INT_MAX,ma=-1; vector<int> vl,vr; }; block b[501]; struct query{ int qt,id,l,r,k; }; query qs[200001]; int n,segbr,t,nextSegmentId,lastans,bsz,bbr,qbStart=1; set<int> segmentIds; void buildStructure(){ int i=1; segbr=segmentIds.size(); for(int it : segmentIds){ tseg[i]=seg[it]; i++; } sort(tseg+1,tseg+1+segbr,fff); bsz=sqrt(segbr)+1; bbr=segbr/bsz; if(segbr%bsz>0) bbr++; int bindx=0; for(i=1;i<=segbr;i++){ if(i%bsz==1) bindx++; b[bindx].mi=INT_MAX; b[bindx].ma=-1; b[bindx].vl.clear(); b[bindx].vr.clear(); } bindx=0; for(i=1;i<=segbr;i++){ if(i%bsz==1) bindx++; //cout<<bindx<<" "<<seg[i].l<<" "<<seg[i].r<<'\n'; b[bindx].mi=min(b[bindx].mi,tseg[i].r-tseg[i].l+1); b[bindx].ma=max(b[bindx].ma,tseg[i].r-tseg[i].l+1); b[bindx].vl.push_back(tseg[i].l); b[bindx].vr.push_back(tseg[i].r); } for(i=1;i<=bbr;i++){ sort(b[i].vl.begin(),b[i].vl.end()); sort(b[i].vr.begin(),b[i].vr.end()); } } void handleQt1(int k){ nextSegmentId++; qs[k].qt=1; qs[k].id=nextSegmentId; cin>>seg[nextSegmentId].l>>seg[nextSegmentId].r; seg[nextSegmentId].l^=lastans*t; seg[nextSegmentId].r^=lastans*t; if(seg[nextSegmentId].l>seg[nextSegmentId].r) swap(seg[nextSegmentId].l,seg[nextSegmentId].r); segmentIds.insert(nextSegmentId); } void handleQt2(int k){ qs[k].qt=2; cin>>qs[k].id; segmentIds.erase(qs[k].id); } void handleQt3(int ti){ int l,r,k,ans=0,j,i; cin>>l>>r>>k; ans=segbr; l^=lastans*t; r^=lastans*t; if(l>r) swap(l,r); //cout<<"qt3 "<<l<<" "<<r<<" "<<k<<endl; for(i=1;i<=bbr;i++){ if(b[i].mi>=k){ auto it = lower_bound(b[i].vl.begin(),b[i].vl.end(),r-k+2); //cout<<"1 "<<b[i].vl.end()-it<<endl; ans-=b[i].vl.end()-it; auto it2 = upper_bound(b[i].vr.begin(),b[i].vr.end(),l+k-2); //cout<<"1 "<<it2-b[i].vr.begin()<<endl; ans-=it2-b[i].vr.begin(); } else if(b[i].mi<k && k<=b[i].ma){ for(j=(i-1)*bsz+1;j<=i*bsz && j<=segbr;j++){ if(tseg[j].r-tseg[j].l+1<k || tseg[j].l>=r-k+2 || tseg[j].r<=l+k-2){ans--; /*cout<<"2 "<<j<<" "<<seg[j].l<<" "<<seg[j].r<<endl;*/} } } else{ ans-=segbr-bsz*(i-1); //cout<<segbr-bsz*(i-1)<<endl; break; } } int segId; for(i=ti-1;i>=qbStart;i--){ if(qs[i].qt==1){ segId=qs[i].id; if(min(r,seg[segId].r)-max(l,seg[segId].l)+1>=k) ans++; } if(qs[i].qt==2){ segId=qs[i].id; if(min(r,seg[segId].r)-max(l,seg[segId].l)+1>=k) ans--; } } lastans=ans; cout<<ans<<'\n'; } int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int i,qt,l,r,id,k,f=0,qbsz; cin>>n>>t; qbsz=sqrt(n); for(i=1;i<=n;i++){ if(i%qbsz==1){ buildStructure(); qbStart=i; //cout<<"new query block "<<i<<" "<<segbr<<endl; } cin>>qt; if(qt==1) handleQt1(i); if(qt==2) handleQt2(i); if(qt==3) handleQt3(i); } return 0; } /* 6 1 1 1 2 1 3 8 1 5 8 1 2 4 1 8 10 3 3 7 2 25 1 1 97 61 1 21 92 1 57 10 1 77 46 1 60 54 1 34 35 1 7 66 1 71 61 1 64 19 1 22 80 1 81 39 1 57 52 1 9 4 1 17 28 1 16 51 1 67 2 1 25 51 1 42 83 1 61 65 1 37 45 3 31 34 2 3 36 37 1 3 44 62 8 3 65 67 3 3 84 92 6 8 8 11 11 16 11 3 6 2 2 */
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | Output is correct |
2 | Correct | 1 ms | 4444 KB | Output is correct |
3 | Correct | 2 ms | 4444 KB | Output is correct |
4 | Correct | 3 ms | 4444 KB | Output is correct |
5 | Correct | 21 ms | 4700 KB | Output is correct |
6 | Correct | 21 ms | 4760 KB | Output is correct |
7 | Correct | 7 ms | 4696 KB | Output is correct |
8 | Correct | 18 ms | 4700 KB | Output is correct |
9 | Correct | 17 ms | 4696 KB | Output is correct |
10 | Correct | 20 ms | 4844 KB | Output is correct |
11 | Correct | 16 ms | 4700 KB | Output is correct |
12 | Correct | 16 ms | 4700 KB | Output is correct |
13 | Correct | 20 ms | 4800 KB | Output is correct |
14 | Correct | 16 ms | 4756 KB | Output is correct |
15 | Correct | 2 ms | 4444 KB | Output is correct |
16 | Correct | 2 ms | 4444 KB | Output is correct |
17 | Correct | 11 ms | 4696 KB | Output is correct |
18 | Correct | 20 ms | 4696 KB | Output is correct |
19 | Correct | 11 ms | 4700 KB | Output is correct |
20 | Correct | 12 ms | 4700 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1955 ms | 9676 KB | Output is correct |
2 | Correct | 1885 ms | 9716 KB | Output is correct |
3 | Correct | 1931 ms | 9704 KB | Output is correct |
4 | Correct | 1934 ms | 9988 KB | Output is correct |
5 | Correct | 2163 ms | 12452 KB | Output is correct |
6 | Correct | 2040 ms | 12616 KB | Output is correct |
7 | Correct | 1893 ms | 9672 KB | Output is correct |
8 | Correct | 1945 ms | 9856 KB | Output is correct |
9 | Correct | 1910 ms | 9844 KB | Output is correct |
10 | Correct | 1048 ms | 8272 KB | Output is correct |
11 | Correct | 1327 ms | 8640 KB | Output is correct |
12 | Correct | 2175 ms | 11272 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 41 ms | 6820 KB | Output is correct |
2 | Correct | 33 ms | 6808 KB | Output is correct |
3 | Correct | 76 ms | 6748 KB | Output is correct |
4 | Correct | 35 ms | 6748 KB | Output is correct |
5 | Correct | 2435 ms | 11344 KB | Output is correct |
6 | Correct | 2391 ms | 10240 KB | Output is correct |
7 | Correct | 2170 ms | 11088 KB | Output is correct |
8 | Correct | 2029 ms | 12480 KB | Output is correct |
9 | Correct | 1942 ms | 12088 KB | Output is correct |
10 | Correct | 1847 ms | 10396 KB | Output is correct |
11 | Correct | 202 ms | 7004 KB | Output is correct |
12 | Correct | 2009 ms | 11100 KB | Output is correct |
13 | Correct | 1810 ms | 9880 KB | Output is correct |
14 | Correct | 1171 ms | 8484 KB | Output is correct |
15 | Correct | 1032 ms | 8276 KB | Output is correct |
16 | Correct | 731 ms | 7688 KB | Output is correct |
17 | Correct | 2152 ms | 9640 KB | Output is correct |
18 | Correct | 2107 ms | 9688 KB | Output is correct |
19 | Correct | 2134 ms | 9812 KB | Output is correct |
20 | Correct | 2134 ms | 9752 KB | Output is correct |
21 | Correct | 313 ms | 7372 KB | Output is correct |
22 | Correct | 1422 ms | 8784 KB | Output is correct |
23 | Correct | 1758 ms | 9560 KB | Output is correct |
24 | Correct | 1540 ms | 9044 KB | Output is correct |
25 | Correct | 45 ms | 6828 KB | Output is correct |
26 | Correct | 40 ms | 6488 KB | Output is correct |
27 | Correct | 43 ms | 4692 KB | Output is correct |
28 | Correct | 39 ms | 4688 KB | Output is correct |
29 | Correct | 1840 ms | 8016 KB | Output is correct |
30 | Correct | 1860 ms | 9468 KB | Output is correct |
31 | Correct | 2257 ms | 12436 KB | Output is correct |
32 | Correct | 2005 ms | 8680 KB | Output is correct |
33 | Correct | 1935 ms | 9840 KB | Output is correct |
34 | Correct | 1008 ms | 7888 KB | Output is correct |
35 | Correct | 1726 ms | 7732 KB | Output is correct |
36 | Correct | 2017 ms | 10020 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 35 ms | 6492 KB | Output is correct |
2 | Correct | 43 ms | 4736 KB | Output is correct |
3 | Correct | 36 ms | 4664 KB | Output is correct |
4 | Correct | 58 ms | 4688 KB | Output is correct |
5 | Correct | 2273 ms | 10816 KB | Output is correct |
6 | Correct | 800 ms | 2128 KB | Output is correct |
7 | Correct | 2316 ms | 8584 KB | Output is correct |
8 | Correct | 1135 ms | 2688 KB | Output is correct |
9 | Correct | 1389 ms | 6976 KB | Output is correct |
10 | Correct | 2056 ms | 9748 KB | Output is correct |
11 | Correct | 573 ms | 7296 KB | Output is correct |
12 | Correct | 2015 ms | 11332 KB | Output is correct |
13 | Correct | 1823 ms | 9760 KB | Output is correct |
14 | Correct | 1226 ms | 4980 KB | Output is correct |
15 | Correct | 2165 ms | 9276 KB | Output is correct |
16 | Correct | 2001 ms | 6896 KB | Output is correct |
17 | Correct | 2017 ms | 5200 KB | Output is correct |
18 | Correct | 2001 ms | 5264 KB | Output is correct |
19 | Correct | 1959 ms | 5348 KB | Output is correct |
20 | Correct | 1816 ms | 5156 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | Output is correct |
2 | Correct | 1 ms | 4444 KB | Output is correct |
3 | Correct | 2 ms | 4444 KB | Output is correct |
4 | Correct | 3 ms | 4444 KB | Output is correct |
5 | Correct | 21 ms | 4700 KB | Output is correct |
6 | Correct | 21 ms | 4760 KB | Output is correct |
7 | Correct | 7 ms | 4696 KB | Output is correct |
8 | Correct | 18 ms | 4700 KB | Output is correct |
9 | Correct | 17 ms | 4696 KB | Output is correct |
10 | Correct | 20 ms | 4844 KB | Output is correct |
11 | Correct | 16 ms | 4700 KB | Output is correct |
12 | Correct | 16 ms | 4700 KB | Output is correct |
13 | Correct | 20 ms | 4800 KB | Output is correct |
14 | Correct | 16 ms | 4756 KB | Output is correct |
15 | Correct | 2 ms | 4444 KB | Output is correct |
16 | Correct | 2 ms | 4444 KB | Output is correct |
17 | Correct | 11 ms | 4696 KB | Output is correct |
18 | Correct | 20 ms | 4696 KB | Output is correct |
19 | Correct | 11 ms | 4700 KB | Output is correct |
20 | Correct | 12 ms | 4700 KB | Output is correct |
21 | Correct | 1955 ms | 9676 KB | Output is correct |
22 | Correct | 1885 ms | 9716 KB | Output is correct |
23 | Correct | 1931 ms | 9704 KB | Output is correct |
24 | Correct | 1934 ms | 9988 KB | Output is correct |
25 | Correct | 2163 ms | 12452 KB | Output is correct |
26 | Correct | 2040 ms | 12616 KB | Output is correct |
27 | Correct | 1893 ms | 9672 KB | Output is correct |
28 | Correct | 1945 ms | 9856 KB | Output is correct |
29 | Correct | 1910 ms | 9844 KB | Output is correct |
30 | Correct | 1048 ms | 8272 KB | Output is correct |
31 | Correct | 1327 ms | 8640 KB | Output is correct |
32 | Correct | 2175 ms | 11272 KB | Output is correct |
33 | Correct | 35 ms | 6492 KB | Output is correct |
34 | Correct | 43 ms | 4736 KB | Output is correct |
35 | Correct | 36 ms | 4664 KB | Output is correct |
36 | Correct | 58 ms | 4688 KB | Output is correct |
37 | Correct | 2273 ms | 10816 KB | Output is correct |
38 | Correct | 800 ms | 2128 KB | Output is correct |
39 | Correct | 2316 ms | 8584 KB | Output is correct |
40 | Correct | 1135 ms | 2688 KB | Output is correct |
41 | Correct | 1389 ms | 6976 KB | Output is correct |
42 | Correct | 2056 ms | 9748 KB | Output is correct |
43 | Correct | 573 ms | 7296 KB | Output is correct |
44 | Correct | 2015 ms | 11332 KB | Output is correct |
45 | Correct | 1823 ms | 9760 KB | Output is correct |
46 | Correct | 1226 ms | 4980 KB | Output is correct |
47 | Correct | 2165 ms | 9276 KB | Output is correct |
48 | Correct | 2001 ms | 6896 KB | Output is correct |
49 | Correct | 2017 ms | 5200 KB | Output is correct |
50 | Correct | 2001 ms | 5264 KB | Output is correct |
51 | Correct | 1959 ms | 5348 KB | Output is correct |
52 | Correct | 1816 ms | 5156 KB | Output is correct |
53 | Correct | 51 ms | 6480 KB | Output is correct |
54 | Correct | 38 ms | 6600 KB | Output is correct |
55 | Correct | 37 ms | 4692 KB | Output is correct |
56 | Correct | 53 ms | 4640 KB | Output is correct |
57 | Correct | 1377 ms | 7312 KB | Output is correct |
58 | Correct | 547 ms | 3656 KB | Output is correct |
59 | Correct | 2107 ms | 7928 KB | Output is correct |
60 | Correct | 458 ms | 3532 KB | Output is correct |
61 | Correct | 1701 ms | 9728 KB | Output is correct |
62 | Correct | 1972 ms | 10580 KB | Output is correct |
63 | Correct | 1960 ms | 12084 KB | Output is correct |
64 | Correct | 1936 ms | 10644 KB | Output is correct |
65 | Correct | 748 ms | 6228 KB | Output is correct |
66 | Correct | 609 ms | 7508 KB | Output is correct |
67 | Correct | 1818 ms | 10320 KB | Output is correct |
68 | Correct | 1525 ms | 9556 KB | Output is correct |
69 | Correct | 1830 ms | 9820 KB | Output is correct |
70 | Correct | 1789 ms | 9808 KB | Output is correct |
71 | Correct | 1825 ms | 9740 KB | Output is correct |
72 | Correct | 1781 ms | 9648 KB | Output is correct |
73 | Correct | 920 ms | 8276 KB | Output is correct |
74 | Correct | 1541 ms | 7984 KB | Output is correct |
75 | Correct | 1905 ms | 12424 KB | Output is correct |
76 | Correct | 2127 ms | 12372 KB | Output is correct |
77 | Correct | 60 ms | 6808 KB | Output is correct |
78 | Correct | 35 ms | 6748 KB | Output is correct |
79 | Correct | 57 ms | 6748 KB | Output is correct |
80 | Correct | 33 ms | 6468 KB | Output is correct |
81 | Correct | 1425 ms | 9164 KB | Output is correct |
82 | Correct | 890 ms | 8216 KB | Output is correct |
83 | Correct | 521 ms | 7332 KB | Output is correct |
84 | Correct | 1500 ms | 9252 KB | Output is correct |
85 | Correct | 2021 ms | 10324 KB | Output is correct |
86 | Correct | 1943 ms | 10988 KB | Output is correct |
87 | Correct | 1332 ms | 9040 KB | Output is correct |
88 | Correct | 502 ms | 7504 KB | Output is correct |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 4444 KB | Output is correct |
2 | Correct | 1 ms | 4444 KB | Output is correct |
3 | Correct | 2 ms | 4444 KB | Output is correct |
4 | Correct | 3 ms | 4444 KB | Output is correct |
5 | Correct | 21 ms | 4700 KB | Output is correct |
6 | Correct | 21 ms | 4760 KB | Output is correct |
7 | Correct | 7 ms | 4696 KB | Output is correct |
8 | Correct | 18 ms | 4700 KB | Output is correct |
9 | Correct | 17 ms | 4696 KB | Output is correct |
10 | Correct | 20 ms | 4844 KB | Output is correct |
11 | Correct | 16 ms | 4700 KB | Output is correct |
12 | Correct | 16 ms | 4700 KB | Output is correct |
13 | Correct | 20 ms | 4800 KB | Output is correct |
14 | Correct | 16 ms | 4756 KB | Output is correct |
15 | Correct | 2 ms | 4444 KB | Output is correct |
16 | Correct | 2 ms | 4444 KB | Output is correct |
17 | Correct | 11 ms | 4696 KB | Output is correct |
18 | Correct | 20 ms | 4696 KB | Output is correct |
19 | Correct | 11 ms | 4700 KB | Output is correct |
20 | Correct | 12 ms | 4700 KB | Output is correct |
21 | Correct | 1955 ms | 9676 KB | Output is correct |
22 | Correct | 1885 ms | 9716 KB | Output is correct |
23 | Correct | 1931 ms | 9704 KB | Output is correct |
24 | Correct | 1934 ms | 9988 KB | Output is correct |
25 | Correct | 2163 ms | 12452 KB | Output is correct |
26 | Correct | 2040 ms | 12616 KB | Output is correct |
27 | Correct | 1893 ms | 9672 KB | Output is correct |
28 | Correct | 1945 ms | 9856 KB | Output is correct |
29 | Correct | 1910 ms | 9844 KB | Output is correct |
30 | Correct | 1048 ms | 8272 KB | Output is correct |
31 | Correct | 1327 ms | 8640 KB | Output is correct |
32 | Correct | 2175 ms | 11272 KB | Output is correct |
33 | Correct | 41 ms | 6820 KB | Output is correct |
34 | Correct | 33 ms | 6808 KB | Output is correct |
35 | Correct | 76 ms | 6748 KB | Output is correct |
36 | Correct | 35 ms | 6748 KB | Output is correct |
37 | Correct | 2435 ms | 11344 KB | Output is correct |
38 | Correct | 2391 ms | 10240 KB | Output is correct |
39 | Correct | 2170 ms | 11088 KB | Output is correct |
40 | Correct | 2029 ms | 12480 KB | Output is correct |
41 | Correct | 1942 ms | 12088 KB | Output is correct |
42 | Correct | 1847 ms | 10396 KB | Output is correct |
43 | Correct | 202 ms | 7004 KB | Output is correct |
44 | Correct | 2009 ms | 11100 KB | Output is correct |
45 | Correct | 1810 ms | 9880 KB | Output is correct |
46 | Correct | 1171 ms | 8484 KB | Output is correct |
47 | Correct | 1032 ms | 8276 KB | Output is correct |
48 | Correct | 731 ms | 7688 KB | Output is correct |
49 | Correct | 2152 ms | 9640 KB | Output is correct |
50 | Correct | 2107 ms | 9688 KB | Output is correct |
51 | Correct | 2134 ms | 9812 KB | Output is correct |
52 | Correct | 2134 ms | 9752 KB | Output is correct |
53 | Correct | 313 ms | 7372 KB | Output is correct |
54 | Correct | 1422 ms | 8784 KB | Output is correct |
55 | Correct | 1758 ms | 9560 KB | Output is correct |
56 | Correct | 1540 ms | 9044 KB | Output is correct |
57 | Correct | 45 ms | 6828 KB | Output is correct |
58 | Correct | 40 ms | 6488 KB | Output is correct |
59 | Correct | 43 ms | 4692 KB | Output is correct |
60 | Correct | 39 ms | 4688 KB | Output is correct |
61 | Correct | 1840 ms | 8016 KB | Output is correct |
62 | Correct | 1860 ms | 9468 KB | Output is correct |
63 | Correct | 2257 ms | 12436 KB | Output is correct |
64 | Correct | 2005 ms | 8680 KB | Output is correct |
65 | Correct | 1935 ms | 9840 KB | Output is correct |
66 | Correct | 1008 ms | 7888 KB | Output is correct |
67 | Correct | 1726 ms | 7732 KB | Output is correct |
68 | Correct | 2017 ms | 10020 KB | Output is correct |
69 | Correct | 35 ms | 6492 KB | Output is correct |
70 | Correct | 43 ms | 4736 KB | Output is correct |
71 | Correct | 36 ms | 4664 KB | Output is correct |
72 | Correct | 58 ms | 4688 KB | Output is correct |
73 | Correct | 2273 ms | 10816 KB | Output is correct |
74 | Correct | 800 ms | 2128 KB | Output is correct |
75 | Correct | 2316 ms | 8584 KB | Output is correct |
76 | Correct | 1135 ms | 2688 KB | Output is correct |
77 | Correct | 1389 ms | 6976 KB | Output is correct |
78 | Correct | 2056 ms | 9748 KB | Output is correct |
79 | Correct | 573 ms | 7296 KB | Output is correct |
80 | Correct | 2015 ms | 11332 KB | Output is correct |
81 | Correct | 1823 ms | 9760 KB | Output is correct |
82 | Correct | 1226 ms | 4980 KB | Output is correct |
83 | Correct | 2165 ms | 9276 KB | Output is correct |
84 | Correct | 2001 ms | 6896 KB | Output is correct |
85 | Correct | 2017 ms | 5200 KB | Output is correct |
86 | Correct | 2001 ms | 5264 KB | Output is correct |
87 | Correct | 1959 ms | 5348 KB | Output is correct |
88 | Correct | 1816 ms | 5156 KB | Output is correct |
89 | Correct | 51 ms | 6480 KB | Output is correct |
90 | Correct | 38 ms | 6600 KB | Output is correct |
91 | Correct | 37 ms | 4692 KB | Output is correct |
92 | Correct | 53 ms | 4640 KB | Output is correct |
93 | Correct | 1377 ms | 7312 KB | Output is correct |
94 | Correct | 547 ms | 3656 KB | Output is correct |
95 | Correct | 2107 ms | 7928 KB | Output is correct |
96 | Correct | 458 ms | 3532 KB | Output is correct |
97 | Correct | 1701 ms | 9728 KB | Output is correct |
98 | Correct | 1972 ms | 10580 KB | Output is correct |
99 | Correct | 1960 ms | 12084 KB | Output is correct |
100 | Correct | 1936 ms | 10644 KB | Output is correct |
101 | Correct | 748 ms | 6228 KB | Output is correct |
102 | Correct | 609 ms | 7508 KB | Output is correct |
103 | Correct | 1818 ms | 10320 KB | Output is correct |
104 | Correct | 1525 ms | 9556 KB | Output is correct |
105 | Correct | 1830 ms | 9820 KB | Output is correct |
106 | Correct | 1789 ms | 9808 KB | Output is correct |
107 | Correct | 1825 ms | 9740 KB | Output is correct |
108 | Correct | 1781 ms | 9648 KB | Output is correct |
109 | Correct | 920 ms | 8276 KB | Output is correct |
110 | Correct | 1541 ms | 7984 KB | Output is correct |
111 | Correct | 1905 ms | 12424 KB | Output is correct |
112 | Correct | 2127 ms | 12372 KB | Output is correct |
113 | Correct | 60 ms | 6808 KB | Output is correct |
114 | Correct | 35 ms | 6748 KB | Output is correct |
115 | Correct | 57 ms | 6748 KB | Output is correct |
116 | Correct | 33 ms | 6468 KB | Output is correct |
117 | Correct | 1425 ms | 9164 KB | Output is correct |
118 | Correct | 890 ms | 8216 KB | Output is correct |
119 | Correct | 521 ms | 7332 KB | Output is correct |
120 | Correct | 1500 ms | 9252 KB | Output is correct |
121 | Correct | 2021 ms | 10324 KB | Output is correct |
122 | Correct | 1943 ms | 10988 KB | Output is correct |
123 | Correct | 1332 ms | 9040 KB | Output is correct |
124 | Correct | 502 ms | 7504 KB | Output is correct |
125 | Correct | 68 ms | 6744 KB | Output is correct |
126 | Correct | 70 ms | 6748 KB | Output is correct |
127 | Correct | 116 ms | 6996 KB | Output is correct |
128 | Correct | 73 ms | 6744 KB | Output is correct |
129 | Correct | 110 ms | 6880 KB | Output is correct |
130 | Correct | 110 ms | 6996 KB | Output is correct |
131 | Correct | 1714 ms | 8672 KB | Output is correct |
132 | Execution timed out | 5035 ms | 12968 KB | Time limit exceeded |
133 | Halted | 0 ms | 0 KB | - |