#include <bits/stdc++.h> //Andrei Alexandru a.k.a Sho
#include "dreaming.h"
using ll=int;
using ld=long double;
int const INF=1000000005;
//ll const LINF=1000000000000000005;
ll const mod=1000000007;
ld const PI=3.14159265359;
#pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#define f first
#define s second
#define pb push_back
#define mp make_pair
#define endl '\n'
#define CODE_START ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
using namespace std;
int const mxN=1000005;
bool viz[mxN];
vector<pair<ll,ll>>g[1000005];
vector<ll>comp;
ll bg;
map<ll,ll> bfs(ll node){
map<ll,ll>dist;
dist[node]=0;
vector<bool>check(mxN,false);
check[node]=true;
queue<ll>q;
q.push(node);
ll mx=0;
while(!q.empty()){
ll x=q.front();
comp.pb(x);
viz[x]=1;
q.pop();
for(auto it : g[x]){
if(!check[it.f]){
dist[it.f]=dist[x]+it.s;
q.push(it.f);
check[it.f]=true;
if(dist[it.f]>mx){
mx=dist[it.f];
bg=it.f;
}
}
}
}
return dist;
}
int travelTime(int n,int m,int l,int a[], int b[], int t[]){
for(ll i=0;i<n;i++)
{
g[i].clear();
viz[i]=0;
}
for(ll i=0;i<m;i++)
{
g[a[i]].pb(mp(b[i],t[i]));
g[b[i]].pb(mp(a[i],t[i]));
}
vector<pair<ll,ll>>v;
for(ll i=0;i<n;i++)
{
if(viz[i]){
continue;
}
bg=i;
bfs(i);
map<ll,ll>X=bfs(bg);
comp.clear();
map<ll,ll>Y=bfs(bg);
ll ans=bg;
ll mx=max(X[ans],Y[ans]);
for(auto it : comp){
if(max(X[it],Y[it])<mx){
mx=max(X[it],Y[it]);
ans=it;
}
}
v.pb(mp(mx,ans));
}
sort(v.rbegin(),v.rend());
for(ll i=1;i<v.size();i++)
{
g[v[i].s].pb(mp(v[0].s,l));
g[v[0].s].pb(mp(v[i].s,l));
}
bg=0;
bfs(0);
map<ll,ll>X=bfs(bg);
map<ll,ll>Y=bfs(bg);
int ans=0;
for(ll i=0;i<n;i++)
{
ans=max(ans,max(X[i],Y[i]));
}
return ans;
}
Compilation message
dreaming.cpp: In function 'int travelTime(int, int, int, int*, int*, int*)':
dreaming.cpp:83:13: warning: comparison of integer expressions of different signedness: 'll' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(ll i=1;i<v.size();i++)
| ~^~~~~~~~~
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
571 ms |
38540 KB |
Output is correct |
2 |
Correct |
526 ms |
38508 KB |
Output is correct |
3 |
Correct |
317 ms |
33172 KB |
Output is correct |
4 |
Correct |
64 ms |
26092 KB |
Output is correct |
5 |
Correct |
46 ms |
25420 KB |
Output is correct |
6 |
Correct |
97 ms |
26808 KB |
Output is correct |
7 |
Correct |
14 ms |
23892 KB |
Output is correct |
8 |
Correct |
197 ms |
29952 KB |
Output is correct |
9 |
Correct |
274 ms |
31400 KB |
Output is correct |
10 |
Correct |
14 ms |
23892 KB |
Output is correct |
11 |
Correct |
394 ms |
34644 KB |
Output is correct |
12 |
Correct |
465 ms |
35848 KB |
Output is correct |
13 |
Correct |
17 ms |
24020 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
13 ms |
24020 KB |
Output is correct |
2 |
Correct |
14 ms |
24020 KB |
Output is correct |
3 |
Correct |
14 ms |
23984 KB |
Output is correct |
4 |
Correct |
14 ms |
24180 KB |
Output is correct |
5 |
Correct |
16 ms |
24048 KB |
Output is correct |
6 |
Correct |
17 ms |
24052 KB |
Output is correct |
7 |
Correct |
14 ms |
24056 KB |
Output is correct |
8 |
Correct |
12 ms |
24020 KB |
Output is correct |
9 |
Correct |
14 ms |
24056 KB |
Output is correct |
10 |
Correct |
13 ms |
24020 KB |
Output is correct |
11 |
Correct |
15 ms |
24020 KB |
Output is correct |
12 |
Correct |
14 ms |
23992 KB |
Output is correct |
13 |
Correct |
14 ms |
23992 KB |
Output is correct |
14 |
Correct |
13 ms |
24020 KB |
Output is correct |
15 |
Correct |
14 ms |
24000 KB |
Output is correct |
16 |
Correct |
14 ms |
24020 KB |
Output is correct |
17 |
Correct |
14 ms |
24064 KB |
Output is correct |
18 |
Correct |
17 ms |
24024 KB |
Output is correct |
19 |
Correct |
14 ms |
24028 KB |
Output is correct |
20 |
Correct |
13 ms |
24032 KB |
Output is correct |
21 |
Correct |
14 ms |
24020 KB |
Output is correct |
22 |
Correct |
14 ms |
23944 KB |
Output is correct |
23 |
Correct |
13 ms |
24020 KB |
Output is correct |
24 |
Correct |
12 ms |
24032 KB |
Output is correct |
25 |
Correct |
12 ms |
23964 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
571 ms |
38540 KB |
Output is correct |
2 |
Correct |
526 ms |
38508 KB |
Output is correct |
3 |
Correct |
317 ms |
33172 KB |
Output is correct |
4 |
Correct |
64 ms |
26092 KB |
Output is correct |
5 |
Correct |
46 ms |
25420 KB |
Output is correct |
6 |
Correct |
97 ms |
26808 KB |
Output is correct |
7 |
Correct |
14 ms |
23892 KB |
Output is correct |
8 |
Correct |
197 ms |
29952 KB |
Output is correct |
9 |
Correct |
274 ms |
31400 KB |
Output is correct |
10 |
Correct |
14 ms |
23892 KB |
Output is correct |
11 |
Correct |
394 ms |
34644 KB |
Output is correct |
12 |
Correct |
465 ms |
35848 KB |
Output is correct |
13 |
Correct |
17 ms |
24020 KB |
Output is correct |
14 |
Correct |
13 ms |
24020 KB |
Output is correct |
15 |
Correct |
14 ms |
24020 KB |
Output is correct |
16 |
Correct |
14 ms |
23984 KB |
Output is correct |
17 |
Correct |
14 ms |
24180 KB |
Output is correct |
18 |
Correct |
16 ms |
24048 KB |
Output is correct |
19 |
Correct |
17 ms |
24052 KB |
Output is correct |
20 |
Correct |
14 ms |
24056 KB |
Output is correct |
21 |
Correct |
12 ms |
24020 KB |
Output is correct |
22 |
Correct |
14 ms |
24056 KB |
Output is correct |
23 |
Correct |
13 ms |
24020 KB |
Output is correct |
24 |
Correct |
15 ms |
24020 KB |
Output is correct |
25 |
Correct |
14 ms |
23992 KB |
Output is correct |
26 |
Correct |
14 ms |
23992 KB |
Output is correct |
27 |
Correct |
13 ms |
24020 KB |
Output is correct |
28 |
Correct |
14 ms |
24000 KB |
Output is correct |
29 |
Correct |
14 ms |
24020 KB |
Output is correct |
30 |
Correct |
14 ms |
24064 KB |
Output is correct |
31 |
Correct |
17 ms |
24024 KB |
Output is correct |
32 |
Correct |
14 ms |
24028 KB |
Output is correct |
33 |
Correct |
13 ms |
24032 KB |
Output is correct |
34 |
Correct |
14 ms |
24020 KB |
Output is correct |
35 |
Correct |
14 ms |
23944 KB |
Output is correct |
36 |
Correct |
13 ms |
24020 KB |
Output is correct |
37 |
Correct |
12 ms |
24032 KB |
Output is correct |
38 |
Correct |
12 ms |
23964 KB |
Output is correct |
39 |
Correct |
547 ms |
38540 KB |
Output is correct |
40 |
Correct |
521 ms |
38472 KB |
Output is correct |
41 |
Correct |
326 ms |
33180 KB |
Output is correct |
42 |
Correct |
62 ms |
25944 KB |
Output is correct |
43 |
Correct |
19 ms |
24020 KB |
Output is correct |
44 |
Correct |
16 ms |
24020 KB |
Output is correct |
45 |
Correct |
17 ms |
24004 KB |
Output is correct |
46 |
Correct |
16 ms |
24020 KB |
Output is correct |
47 |
Correct |
22 ms |
24020 KB |
Output is correct |
48 |
Correct |
15 ms |
24020 KB |
Output is correct |
49 |
Correct |
14 ms |
24020 KB |
Output is correct |
50 |
Correct |
13 ms |
23984 KB |
Output is correct |
51 |
Correct |
14 ms |
24048 KB |
Output is correct |
52 |
Correct |
11 ms |
24040 KB |
Output is correct |
53 |
Correct |
13 ms |
24048 KB |
Output is correct |
54 |
Correct |
16 ms |
24060 KB |
Output is correct |
55 |
Correct |
12 ms |
24020 KB |
Output is correct |
56 |
Correct |
13 ms |
24020 KB |
Output is correct |
57 |
Correct |
660 ms |
39700 KB |
Output is correct |
58 |
Correct |
609 ms |
39856 KB |
Output is correct |
59 |
Correct |
643 ms |
39584 KB |
Output is correct |
60 |
Correct |
496 ms |
39668 KB |
Output is correct |
61 |
Correct |
507 ms |
39668 KB |
Output is correct |
62 |
Correct |
482 ms |
39932 KB |
Output is correct |
63 |
Correct |
507 ms |
40200 KB |
Output is correct |
64 |
Correct |
508 ms |
39488 KB |
Output is correct |
65 |
Correct |
511 ms |
39444 KB |
Output is correct |
66 |
Correct |
547 ms |
39340 KB |
Output is correct |
67 |
Correct |
538 ms |
39624 KB |
Output is correct |
68 |
Correct |
521 ms |
39720 KB |
Output is correct |
69 |
Correct |
505 ms |
39776 KB |
Output is correct |
70 |
Correct |
512 ms |
39636 KB |
Output is correct |
71 |
Correct |
13 ms |
24020 KB |
Output is correct |
72 |
Correct |
21 ms |
24380 KB |
Output is correct |
73 |
Correct |
20 ms |
24328 KB |
Output is correct |
74 |
Correct |
22 ms |
24396 KB |
Output is correct |
75 |
Correct |
20 ms |
24340 KB |
Output is correct |
76 |
Correct |
23 ms |
24404 KB |
Output is correct |
77 |
Correct |
20 ms |
24356 KB |
Output is correct |
78 |
Correct |
21 ms |
24308 KB |
Output is correct |
79 |
Correct |
20 ms |
24404 KB |
Output is correct |
80 |
Correct |
506 ms |
39944 KB |
Output is correct |
81 |
Correct |
516 ms |
39664 KB |
Output is correct |
82 |
Correct |
512 ms |
39776 KB |
Output is correct |
83 |
Correct |
518 ms |
39716 KB |
Output is correct |
84 |
Correct |
20 ms |
24248 KB |
Output is correct |
85 |
Correct |
17 ms |
24220 KB |
Output is correct |
86 |
Correct |
19 ms |
24244 KB |
Output is correct |
87 |
Correct |
19 ms |
24236 KB |
Output is correct |
88 |
Correct |
20 ms |
24352 KB |
Output is correct |
89 |
Correct |
19 ms |
24348 KB |
Output is correct |
90 |
Correct |
20 ms |
24356 KB |
Output is correct |
91 |
Correct |
20 ms |
24404 KB |
Output is correct |
92 |
Correct |
21 ms |
24332 KB |
Output is correct |
93 |
Correct |
19 ms |
24320 KB |
Output is correct |
94 |
Correct |
13 ms |
24020 KB |
Output is correct |
95 |
Correct |
14 ms |
24148 KB |
Output is correct |
96 |
Correct |
13 ms |
23968 KB |
Output is correct |
97 |
Correct |
13 ms |
23956 KB |
Output is correct |
98 |
Correct |
13 ms |
24052 KB |
Output is correct |
99 |
Correct |
13 ms |
24020 KB |
Output is correct |
100 |
Correct |
14 ms |
24020 KB |
Output is correct |
101 |
Correct |
13 ms |
24020 KB |
Output is correct |
102 |
Correct |
13 ms |
24020 KB |
Output is correct |
103 |
Correct |
12 ms |
24020 KB |
Output is correct |
104 |
Correct |
48 ms |
25420 KB |
Output is correct |
105 |
Correct |
94 ms |
26852 KB |
Output is correct |
106 |
Correct |
13 ms |
23892 KB |
Output is correct |
107 |
Correct |
173 ms |
30008 KB |
Output is correct |
108 |
Correct |
223 ms |
31348 KB |
Output is correct |
109 |
Correct |
14 ms |
23892 KB |
Output is correct |
110 |
Correct |
337 ms |
34548 KB |
Output is correct |
111 |
Correct |
400 ms |
35848 KB |
Output is correct |
112 |
Correct |
15 ms |
24088 KB |
Output is correct |
113 |
Correct |
590 ms |
38876 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
694 ms |
39396 KB |
Output is correct |
2 |
Correct |
692 ms |
39904 KB |
Output is correct |
3 |
Correct |
697 ms |
40036 KB |
Output is correct |
4 |
Correct |
716 ms |
39836 KB |
Output is correct |
5 |
Correct |
706 ms |
39876 KB |
Output is correct |
6 |
Correct |
737 ms |
40708 KB |
Output is correct |
7 |
Correct |
745 ms |
40472 KB |
Output is correct |
8 |
Correct |
681 ms |
39624 KB |
Output is correct |
9 |
Correct |
702 ms |
39416 KB |
Output is correct |
10 |
Correct |
725 ms |
40340 KB |
Output is correct |
11 |
Correct |
14 ms |
24020 KB |
Output is correct |
12 |
Correct |
957 ms |
40576 KB |
Output is correct |
13 |
Correct |
932 ms |
40620 KB |
Output is correct |
14 |
Correct |
975 ms |
40608 KB |
Output is correct |
15 |
Correct |
982 ms |
40536 KB |
Output is correct |
16 |
Correct |
985 ms |
40564 KB |
Output is correct |
17 |
Correct |
940 ms |
40584 KB |
Output is correct |
18 |
Correct |
937 ms |
40504 KB |
Output is correct |
19 |
Correct |
945 ms |
40480 KB |
Output is correct |
20 |
Correct |
12 ms |
24020 KB |
Output is correct |
21 |
Correct |
13 ms |
23928 KB |
Output is correct |
22 |
Correct |
40 ms |
24440 KB |
Output is correct |
23 |
Correct |
981 ms |
40624 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
13 ms |
24020 KB |
Output is correct |
2 |
Correct |
14 ms |
24020 KB |
Output is correct |
3 |
Correct |
14 ms |
23984 KB |
Output is correct |
4 |
Correct |
14 ms |
24180 KB |
Output is correct |
5 |
Correct |
16 ms |
24048 KB |
Output is correct |
6 |
Correct |
17 ms |
24052 KB |
Output is correct |
7 |
Correct |
14 ms |
24056 KB |
Output is correct |
8 |
Correct |
12 ms |
24020 KB |
Output is correct |
9 |
Correct |
14 ms |
24056 KB |
Output is correct |
10 |
Correct |
13 ms |
24020 KB |
Output is correct |
11 |
Correct |
15 ms |
24020 KB |
Output is correct |
12 |
Correct |
14 ms |
23992 KB |
Output is correct |
13 |
Correct |
14 ms |
23992 KB |
Output is correct |
14 |
Correct |
13 ms |
24020 KB |
Output is correct |
15 |
Correct |
14 ms |
24000 KB |
Output is correct |
16 |
Correct |
14 ms |
24020 KB |
Output is correct |
17 |
Correct |
14 ms |
24064 KB |
Output is correct |
18 |
Correct |
17 ms |
24024 KB |
Output is correct |
19 |
Correct |
14 ms |
24028 KB |
Output is correct |
20 |
Correct |
13 ms |
24032 KB |
Output is correct |
21 |
Correct |
14 ms |
24020 KB |
Output is correct |
22 |
Correct |
14 ms |
23944 KB |
Output is correct |
23 |
Correct |
13 ms |
24020 KB |
Output is correct |
24 |
Correct |
12 ms |
24032 KB |
Output is correct |
25 |
Correct |
12 ms |
23964 KB |
Output is correct |
26 |
Correct |
16 ms |
24020 KB |
Output is correct |
27 |
Correct |
19 ms |
24164 KB |
Output is correct |
28 |
Correct |
22 ms |
24404 KB |
Output is correct |
29 |
Correct |
18 ms |
24076 KB |
Output is correct |
30 |
Correct |
19 ms |
24276 KB |
Output is correct |
31 |
Correct |
23 ms |
24396 KB |
Output is correct |
32 |
Correct |
17 ms |
24036 KB |
Output is correct |
33 |
Correct |
19 ms |
24276 KB |
Output is correct |
34 |
Correct |
22 ms |
24396 KB |
Output is correct |
35 |
Correct |
12 ms |
24084 KB |
Output is correct |
36 |
Correct |
13 ms |
24064 KB |
Output is correct |
37 |
Correct |
13 ms |
24060 KB |
Output is correct |
38 |
Correct |
13 ms |
24020 KB |
Output is correct |
39 |
Correct |
13 ms |
24032 KB |
Output is correct |
40 |
Correct |
13 ms |
23976 KB |
Output is correct |
41 |
Correct |
13 ms |
24020 KB |
Output is correct |
42 |
Correct |
14 ms |
24020 KB |
Output is correct |
43 |
Correct |
14 ms |
24060 KB |
Output is correct |
44 |
Correct |
12 ms |
24020 KB |
Output is correct |
45 |
Correct |
13 ms |
24020 KB |
Output is correct |
46 |
Correct |
12 ms |
24020 KB |
Output is correct |
47 |
Correct |
13 ms |
24068 KB |
Output is correct |
48 |
Correct |
13 ms |
23984 KB |
Output is correct |
49 |
Correct |
13 ms |
24056 KB |
Output is correct |
50 |
Correct |
12 ms |
24020 KB |
Output is correct |
51 |
Correct |
13 ms |
23952 KB |
Output is correct |
52 |
Correct |
12 ms |
24020 KB |
Output is correct |
53 |
Correct |
13 ms |
24020 KB |
Output is correct |
54 |
Correct |
21 ms |
24404 KB |
Output is correct |
55 |
Correct |
22 ms |
24276 KB |
Output is correct |
56 |
Correct |
28 ms |
24456 KB |
Output is correct |
57 |
Correct |
37 ms |
24348 KB |
Output is correct |
58 |
Correct |
21 ms |
24468 KB |
Output is correct |
59 |
Correct |
22 ms |
24352 KB |
Output is correct |
60 |
Correct |
33 ms |
24380 KB |
Output is correct |
61 |
Correct |
34 ms |
24408 KB |
Output is correct |
62 |
Correct |
21 ms |
24396 KB |
Output is correct |
63 |
Correct |
21 ms |
24376 KB |
Output is correct |
64 |
Correct |
39 ms |
24396 KB |
Output is correct |
65 |
Correct |
31 ms |
24396 KB |
Output is correct |
66 |
Correct |
21 ms |
24368 KB |
Output is correct |
67 |
Correct |
21 ms |
24448 KB |
Output is correct |
68 |
Correct |
27 ms |
24336 KB |
Output is correct |
69 |
Correct |
25 ms |
24392 KB |
Output is correct |
70 |
Correct |
32 ms |
24376 KB |
Output is correct |
71 |
Correct |
34 ms |
24320 KB |
Output is correct |
72 |
Correct |
20 ms |
24460 KB |
Output is correct |
73 |
Correct |
20 ms |
24376 KB |
Output is correct |
74 |
Correct |
20 ms |
24404 KB |
Output is correct |
75 |
Correct |
20 ms |
24412 KB |
Output is correct |
76 |
Correct |
20 ms |
24404 KB |
Output is correct |
77 |
Correct |
23 ms |
24404 KB |
Output is correct |
78 |
Correct |
35 ms |
24396 KB |
Output is correct |
79 |
Correct |
35 ms |
24380 KB |
Output is correct |
80 |
Correct |
43 ms |
24436 KB |
Output is correct |
81 |
Correct |
41 ms |
24428 KB |
Output is correct |
82 |
Correct |
22 ms |
24404 KB |
Output is correct |
83 |
Correct |
23 ms |
24352 KB |
Output is correct |
84 |
Correct |
34 ms |
24376 KB |
Output is correct |
85 |
Correct |
41 ms |
24328 KB |
Output is correct |
86 |
Correct |
28 ms |
24348 KB |
Output is correct |
87 |
Correct |
23 ms |
24456 KB |
Output is correct |
88 |
Correct |
29 ms |
24464 KB |
Output is correct |
89 |
Correct |
28 ms |
24428 KB |
Output is correct |
90 |
Correct |
32 ms |
24320 KB |
Output is correct |
91 |
Correct |
34 ms |
24320 KB |
Output is correct |
92 |
Correct |
18 ms |
24276 KB |
Output is correct |
93 |
Correct |
18 ms |
24200 KB |
Output is correct |
94 |
Correct |
18 ms |
24276 KB |
Output is correct |
95 |
Correct |
19 ms |
24360 KB |
Output is correct |
96 |
Correct |
19 ms |
24336 KB |
Output is correct |
97 |
Correct |
21 ms |
24364 KB |
Output is correct |
98 |
Correct |
19 ms |
24356 KB |
Output is correct |
99 |
Correct |
20 ms |
24368 KB |
Output is correct |
100 |
Correct |
20 ms |
24372 KB |
Output is correct |
101 |
Correct |
19 ms |
24340 KB |
Output is correct |
102 |
Correct |
13 ms |
24020 KB |
Output is correct |
103 |
Correct |
13 ms |
24052 KB |
Output is correct |
104 |
Correct |
15 ms |
24056 KB |
Output is correct |
105 |
Correct |
12 ms |
24008 KB |
Output is correct |
106 |
Correct |
13 ms |
24020 KB |
Output is correct |
107 |
Correct |
13 ms |
24052 KB |
Output is correct |
108 |
Correct |
13 ms |
24020 KB |
Output is correct |
109 |
Correct |
12 ms |
24020 KB |
Output is correct |
110 |
Correct |
13 ms |
24016 KB |
Output is correct |
111 |
Correct |
13 ms |
23960 KB |
Output is correct |
112 |
Correct |
12 ms |
23932 KB |
Output is correct |
113 |
Correct |
14 ms |
23992 KB |
Output is correct |
114 |
Correct |
17 ms |
24020 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
571 ms |
38540 KB |
Output is correct |
2 |
Correct |
526 ms |
38508 KB |
Output is correct |
3 |
Correct |
317 ms |
33172 KB |
Output is correct |
4 |
Correct |
64 ms |
26092 KB |
Output is correct |
5 |
Correct |
46 ms |
25420 KB |
Output is correct |
6 |
Correct |
97 ms |
26808 KB |
Output is correct |
7 |
Correct |
14 ms |
23892 KB |
Output is correct |
8 |
Correct |
197 ms |
29952 KB |
Output is correct |
9 |
Correct |
274 ms |
31400 KB |
Output is correct |
10 |
Correct |
14 ms |
23892 KB |
Output is correct |
11 |
Correct |
394 ms |
34644 KB |
Output is correct |
12 |
Correct |
465 ms |
35848 KB |
Output is correct |
13 |
Correct |
17 ms |
24020 KB |
Output is correct |
14 |
Correct |
13 ms |
24020 KB |
Output is correct |
15 |
Correct |
14 ms |
24020 KB |
Output is correct |
16 |
Correct |
14 ms |
23984 KB |
Output is correct |
17 |
Correct |
14 ms |
24180 KB |
Output is correct |
18 |
Correct |
16 ms |
24048 KB |
Output is correct |
19 |
Correct |
17 ms |
24052 KB |
Output is correct |
20 |
Correct |
14 ms |
24056 KB |
Output is correct |
21 |
Correct |
12 ms |
24020 KB |
Output is correct |
22 |
Correct |
14 ms |
24056 KB |
Output is correct |
23 |
Correct |
13 ms |
24020 KB |
Output is correct |
24 |
Correct |
15 ms |
24020 KB |
Output is correct |
25 |
Correct |
14 ms |
23992 KB |
Output is correct |
26 |
Correct |
14 ms |
23992 KB |
Output is correct |
27 |
Correct |
13 ms |
24020 KB |
Output is correct |
28 |
Correct |
14 ms |
24000 KB |
Output is correct |
29 |
Correct |
14 ms |
24020 KB |
Output is correct |
30 |
Correct |
14 ms |
24064 KB |
Output is correct |
31 |
Correct |
17 ms |
24024 KB |
Output is correct |
32 |
Correct |
14 ms |
24028 KB |
Output is correct |
33 |
Correct |
13 ms |
24032 KB |
Output is correct |
34 |
Correct |
14 ms |
24020 KB |
Output is correct |
35 |
Correct |
14 ms |
23944 KB |
Output is correct |
36 |
Correct |
13 ms |
24020 KB |
Output is correct |
37 |
Correct |
12 ms |
24032 KB |
Output is correct |
38 |
Correct |
12 ms |
23964 KB |
Output is correct |
39 |
Correct |
547 ms |
38540 KB |
Output is correct |
40 |
Correct |
521 ms |
38472 KB |
Output is correct |
41 |
Correct |
326 ms |
33180 KB |
Output is correct |
42 |
Correct |
62 ms |
25944 KB |
Output is correct |
43 |
Correct |
19 ms |
24020 KB |
Output is correct |
44 |
Correct |
16 ms |
24020 KB |
Output is correct |
45 |
Correct |
17 ms |
24004 KB |
Output is correct |
46 |
Correct |
16 ms |
24020 KB |
Output is correct |
47 |
Correct |
22 ms |
24020 KB |
Output is correct |
48 |
Correct |
15 ms |
24020 KB |
Output is correct |
49 |
Correct |
14 ms |
24020 KB |
Output is correct |
50 |
Correct |
13 ms |
23984 KB |
Output is correct |
51 |
Correct |
14 ms |
24048 KB |
Output is correct |
52 |
Correct |
11 ms |
24040 KB |
Output is correct |
53 |
Correct |
13 ms |
24048 KB |
Output is correct |
54 |
Correct |
16 ms |
24060 KB |
Output is correct |
55 |
Correct |
12 ms |
24020 KB |
Output is correct |
56 |
Correct |
13 ms |
24020 KB |
Output is correct |
57 |
Correct |
660 ms |
39700 KB |
Output is correct |
58 |
Correct |
609 ms |
39856 KB |
Output is correct |
59 |
Correct |
643 ms |
39584 KB |
Output is correct |
60 |
Correct |
496 ms |
39668 KB |
Output is correct |
61 |
Correct |
507 ms |
39668 KB |
Output is correct |
62 |
Correct |
482 ms |
39932 KB |
Output is correct |
63 |
Correct |
507 ms |
40200 KB |
Output is correct |
64 |
Correct |
508 ms |
39488 KB |
Output is correct |
65 |
Correct |
511 ms |
39444 KB |
Output is correct |
66 |
Correct |
547 ms |
39340 KB |
Output is correct |
67 |
Correct |
538 ms |
39624 KB |
Output is correct |
68 |
Correct |
521 ms |
39720 KB |
Output is correct |
69 |
Correct |
505 ms |
39776 KB |
Output is correct |
70 |
Correct |
512 ms |
39636 KB |
Output is correct |
71 |
Correct |
13 ms |
24020 KB |
Output is correct |
72 |
Correct |
21 ms |
24380 KB |
Output is correct |
73 |
Correct |
20 ms |
24328 KB |
Output is correct |
74 |
Correct |
22 ms |
24396 KB |
Output is correct |
75 |
Correct |
20 ms |
24340 KB |
Output is correct |
76 |
Correct |
23 ms |
24404 KB |
Output is correct |
77 |
Correct |
20 ms |
24356 KB |
Output is correct |
78 |
Correct |
21 ms |
24308 KB |
Output is correct |
79 |
Correct |
20 ms |
24404 KB |
Output is correct |
80 |
Correct |
506 ms |
39944 KB |
Output is correct |
81 |
Correct |
516 ms |
39664 KB |
Output is correct |
82 |
Correct |
512 ms |
39776 KB |
Output is correct |
83 |
Correct |
518 ms |
39716 KB |
Output is correct |
84 |
Correct |
20 ms |
24248 KB |
Output is correct |
85 |
Correct |
17 ms |
24220 KB |
Output is correct |
86 |
Correct |
19 ms |
24244 KB |
Output is correct |
87 |
Correct |
19 ms |
24236 KB |
Output is correct |
88 |
Correct |
20 ms |
24352 KB |
Output is correct |
89 |
Correct |
19 ms |
24348 KB |
Output is correct |
90 |
Correct |
20 ms |
24356 KB |
Output is correct |
91 |
Correct |
20 ms |
24404 KB |
Output is correct |
92 |
Correct |
21 ms |
24332 KB |
Output is correct |
93 |
Correct |
19 ms |
24320 KB |
Output is correct |
94 |
Correct |
13 ms |
24020 KB |
Output is correct |
95 |
Correct |
14 ms |
24148 KB |
Output is correct |
96 |
Correct |
13 ms |
23968 KB |
Output is correct |
97 |
Correct |
13 ms |
23956 KB |
Output is correct |
98 |
Correct |
13 ms |
24052 KB |
Output is correct |
99 |
Correct |
13 ms |
24020 KB |
Output is correct |
100 |
Correct |
14 ms |
24020 KB |
Output is correct |
101 |
Correct |
13 ms |
24020 KB |
Output is correct |
102 |
Correct |
13 ms |
24020 KB |
Output is correct |
103 |
Correct |
12 ms |
24020 KB |
Output is correct |
104 |
Correct |
48 ms |
25420 KB |
Output is correct |
105 |
Correct |
94 ms |
26852 KB |
Output is correct |
106 |
Correct |
13 ms |
23892 KB |
Output is correct |
107 |
Correct |
173 ms |
30008 KB |
Output is correct |
108 |
Correct |
223 ms |
31348 KB |
Output is correct |
109 |
Correct |
14 ms |
23892 KB |
Output is correct |
110 |
Correct |
337 ms |
34548 KB |
Output is correct |
111 |
Correct |
400 ms |
35848 KB |
Output is correct |
112 |
Correct |
15 ms |
24088 KB |
Output is correct |
113 |
Correct |
590 ms |
38876 KB |
Output is correct |
114 |
Correct |
694 ms |
39396 KB |
Output is correct |
115 |
Correct |
692 ms |
39904 KB |
Output is correct |
116 |
Correct |
697 ms |
40036 KB |
Output is correct |
117 |
Correct |
716 ms |
39836 KB |
Output is correct |
118 |
Correct |
706 ms |
39876 KB |
Output is correct |
119 |
Correct |
737 ms |
40708 KB |
Output is correct |
120 |
Correct |
745 ms |
40472 KB |
Output is correct |
121 |
Correct |
681 ms |
39624 KB |
Output is correct |
122 |
Correct |
702 ms |
39416 KB |
Output is correct |
123 |
Correct |
725 ms |
40340 KB |
Output is correct |
124 |
Correct |
14 ms |
24020 KB |
Output is correct |
125 |
Correct |
957 ms |
40576 KB |
Output is correct |
126 |
Correct |
932 ms |
40620 KB |
Output is correct |
127 |
Correct |
975 ms |
40608 KB |
Output is correct |
128 |
Correct |
982 ms |
40536 KB |
Output is correct |
129 |
Correct |
985 ms |
40564 KB |
Output is correct |
130 |
Correct |
940 ms |
40584 KB |
Output is correct |
131 |
Correct |
937 ms |
40504 KB |
Output is correct |
132 |
Correct |
945 ms |
40480 KB |
Output is correct |
133 |
Correct |
12 ms |
24020 KB |
Output is correct |
134 |
Correct |
13 ms |
23928 KB |
Output is correct |
135 |
Correct |
40 ms |
24440 KB |
Output is correct |
136 |
Correct |
981 ms |
40624 KB |
Output is correct |
137 |
Correct |
16 ms |
24020 KB |
Output is correct |
138 |
Correct |
19 ms |
24164 KB |
Output is correct |
139 |
Correct |
22 ms |
24404 KB |
Output is correct |
140 |
Correct |
18 ms |
24076 KB |
Output is correct |
141 |
Correct |
19 ms |
24276 KB |
Output is correct |
142 |
Correct |
23 ms |
24396 KB |
Output is correct |
143 |
Correct |
17 ms |
24036 KB |
Output is correct |
144 |
Correct |
19 ms |
24276 KB |
Output is correct |
145 |
Correct |
22 ms |
24396 KB |
Output is correct |
146 |
Correct |
12 ms |
24084 KB |
Output is correct |
147 |
Correct |
13 ms |
24064 KB |
Output is correct |
148 |
Correct |
13 ms |
24060 KB |
Output is correct |
149 |
Correct |
13 ms |
24020 KB |
Output is correct |
150 |
Correct |
13 ms |
24032 KB |
Output is correct |
151 |
Correct |
13 ms |
23976 KB |
Output is correct |
152 |
Correct |
13 ms |
24020 KB |
Output is correct |
153 |
Correct |
14 ms |
24020 KB |
Output is correct |
154 |
Correct |
14 ms |
24060 KB |
Output is correct |
155 |
Correct |
12 ms |
24020 KB |
Output is correct |
156 |
Correct |
13 ms |
24020 KB |
Output is correct |
157 |
Correct |
12 ms |
24020 KB |
Output is correct |
158 |
Correct |
13 ms |
24068 KB |
Output is correct |
159 |
Correct |
13 ms |
23984 KB |
Output is correct |
160 |
Correct |
13 ms |
24056 KB |
Output is correct |
161 |
Correct |
12 ms |
24020 KB |
Output is correct |
162 |
Correct |
13 ms |
23952 KB |
Output is correct |
163 |
Correct |
12 ms |
24020 KB |
Output is correct |
164 |
Correct |
13 ms |
24020 KB |
Output is correct |
165 |
Correct |
21 ms |
24404 KB |
Output is correct |
166 |
Correct |
22 ms |
24276 KB |
Output is correct |
167 |
Correct |
28 ms |
24456 KB |
Output is correct |
168 |
Correct |
37 ms |
24348 KB |
Output is correct |
169 |
Correct |
21 ms |
24468 KB |
Output is correct |
170 |
Correct |
22 ms |
24352 KB |
Output is correct |
171 |
Correct |
33 ms |
24380 KB |
Output is correct |
172 |
Correct |
34 ms |
24408 KB |
Output is correct |
173 |
Correct |
21 ms |
24396 KB |
Output is correct |
174 |
Correct |
21 ms |
24376 KB |
Output is correct |
175 |
Correct |
39 ms |
24396 KB |
Output is correct |
176 |
Correct |
31 ms |
24396 KB |
Output is correct |
177 |
Correct |
21 ms |
24368 KB |
Output is correct |
178 |
Correct |
21 ms |
24448 KB |
Output is correct |
179 |
Correct |
27 ms |
24336 KB |
Output is correct |
180 |
Correct |
25 ms |
24392 KB |
Output is correct |
181 |
Correct |
32 ms |
24376 KB |
Output is correct |
182 |
Correct |
34 ms |
24320 KB |
Output is correct |
183 |
Correct |
20 ms |
24460 KB |
Output is correct |
184 |
Correct |
20 ms |
24376 KB |
Output is correct |
185 |
Correct |
20 ms |
24404 KB |
Output is correct |
186 |
Correct |
20 ms |
24412 KB |
Output is correct |
187 |
Correct |
20 ms |
24404 KB |
Output is correct |
188 |
Correct |
23 ms |
24404 KB |
Output is correct |
189 |
Correct |
35 ms |
24396 KB |
Output is correct |
190 |
Correct |
35 ms |
24380 KB |
Output is correct |
191 |
Correct |
43 ms |
24436 KB |
Output is correct |
192 |
Correct |
41 ms |
24428 KB |
Output is correct |
193 |
Correct |
22 ms |
24404 KB |
Output is correct |
194 |
Correct |
23 ms |
24352 KB |
Output is correct |
195 |
Correct |
34 ms |
24376 KB |
Output is correct |
196 |
Correct |
41 ms |
24328 KB |
Output is correct |
197 |
Correct |
28 ms |
24348 KB |
Output is correct |
198 |
Correct |
23 ms |
24456 KB |
Output is correct |
199 |
Correct |
29 ms |
24464 KB |
Output is correct |
200 |
Correct |
28 ms |
24428 KB |
Output is correct |
201 |
Correct |
32 ms |
24320 KB |
Output is correct |
202 |
Correct |
34 ms |
24320 KB |
Output is correct |
203 |
Correct |
18 ms |
24276 KB |
Output is correct |
204 |
Correct |
18 ms |
24200 KB |
Output is correct |
205 |
Correct |
18 ms |
24276 KB |
Output is correct |
206 |
Correct |
19 ms |
24360 KB |
Output is correct |
207 |
Correct |
19 ms |
24336 KB |
Output is correct |
208 |
Correct |
21 ms |
24364 KB |
Output is correct |
209 |
Correct |
19 ms |
24356 KB |
Output is correct |
210 |
Correct |
20 ms |
24368 KB |
Output is correct |
211 |
Correct |
20 ms |
24372 KB |
Output is correct |
212 |
Correct |
19 ms |
24340 KB |
Output is correct |
213 |
Correct |
13 ms |
24020 KB |
Output is correct |
214 |
Correct |
13 ms |
24052 KB |
Output is correct |
215 |
Correct |
15 ms |
24056 KB |
Output is correct |
216 |
Correct |
12 ms |
24008 KB |
Output is correct |
217 |
Correct |
13 ms |
24020 KB |
Output is correct |
218 |
Correct |
13 ms |
24052 KB |
Output is correct |
219 |
Correct |
13 ms |
24020 KB |
Output is correct |
220 |
Correct |
12 ms |
24020 KB |
Output is correct |
221 |
Correct |
13 ms |
24016 KB |
Output is correct |
222 |
Correct |
13 ms |
23960 KB |
Output is correct |
223 |
Correct |
12 ms |
23932 KB |
Output is correct |
224 |
Correct |
14 ms |
23992 KB |
Output is correct |
225 |
Correct |
17 ms |
24020 KB |
Output is correct |
226 |
Correct |
15 ms |
24056 KB |
Output is correct |
227 |
Correct |
17 ms |
24276 KB |
Output is correct |
228 |
Correct |
22 ms |
24368 KB |
Output is correct |
229 |
Correct |
347 ms |
37404 KB |
Output is correct |
230 |
Correct |
441 ms |
41488 KB |
Output is correct |
231 |
Correct |
16 ms |
24060 KB |
Output is correct |
232 |
Correct |
20 ms |
24148 KB |
Output is correct |
233 |
Correct |
23 ms |
24452 KB |
Output is correct |
234 |
Correct |
353 ms |
37480 KB |
Output is correct |
235 |
Correct |
438 ms |
41280 KB |
Output is correct |
236 |
Correct |
15 ms |
24020 KB |
Output is correct |
237 |
Correct |
19 ms |
24200 KB |
Output is correct |
238 |
Correct |
21 ms |
24396 KB |
Output is correct |
239 |
Correct |
331 ms |
37508 KB |
Output is correct |
240 |
Correct |
421 ms |
41448 KB |
Output is correct |
241 |
Correct |
694 ms |
40056 KB |
Output is correct |
242 |
Correct |
701 ms |
39852 KB |
Output is correct |
243 |
Correct |
705 ms |
39840 KB |
Output is correct |
244 |
Correct |
696 ms |
39804 KB |
Output is correct |
245 |
Correct |
691 ms |
39772 KB |
Output is correct |
246 |
Correct |
731 ms |
40748 KB |
Output is correct |
247 |
Correct |
740 ms |
40520 KB |
Output is correct |
248 |
Correct |
691 ms |
39680 KB |
Output is correct |
249 |
Correct |
688 ms |
39508 KB |
Output is correct |
250 |
Correct |
727 ms |
40468 KB |
Output is correct |
251 |
Correct |
13 ms |
24020 KB |
Output is correct |
252 |
Correct |
450 ms |
39732 KB |
Output is correct |
253 |
Correct |
451 ms |
39744 KB |
Output is correct |
254 |
Correct |
291 ms |
34020 KB |
Output is correct |
255 |
Correct |
60 ms |
26296 KB |
Output is correct |
256 |
Correct |
13 ms |
24020 KB |
Output is correct |
257 |
Correct |
12 ms |
23992 KB |
Output is correct |
258 |
Correct |
12 ms |
23984 KB |
Output is correct |
259 |
Correct |
12 ms |
24020 KB |
Output is correct |
260 |
Correct |
13 ms |
23932 KB |
Output is correct |
261 |
Correct |
13 ms |
24020 KB |
Output is correct |
262 |
Correct |
13 ms |
24020 KB |
Output is correct |
263 |
Correct |
13 ms |
24060 KB |
Output is correct |
264 |
Correct |
13 ms |
24020 KB |
Output is correct |
265 |
Correct |
12 ms |
24020 KB |
Output is correct |
266 |
Correct |
13 ms |
24060 KB |
Output is correct |
267 |
Correct |
12 ms |
24020 KB |
Output is correct |
268 |
Correct |
13 ms |
23920 KB |
Output is correct |
269 |
Correct |
13 ms |
24020 KB |
Output is correct |
270 |
Correct |
13 ms |
23996 KB |
Output is correct |
271 |
Correct |
13 ms |
24148 KB |
Output is correct |
272 |
Correct |
545 ms |
41100 KB |
Output is correct |
273 |
Correct |
505 ms |
41208 KB |
Output is correct |
274 |
Correct |
533 ms |
40928 KB |
Output is correct |
275 |
Correct |
487 ms |
41112 KB |
Output is correct |
276 |
Correct |
951 ms |
40764 KB |
Output is correct |
277 |
Correct |
953 ms |
40668 KB |
Output is correct |
278 |
Correct |
498 ms |
41056 KB |
Output is correct |
279 |
Correct |
486 ms |
41360 KB |
Output is correct |
280 |
Correct |
517 ms |
41572 KB |
Output is correct |
281 |
Correct |
519 ms |
40912 KB |
Output is correct |
282 |
Correct |
525 ms |
41136 KB |
Output is correct |
283 |
Correct |
515 ms |
41052 KB |
Output is correct |
284 |
Correct |
569 ms |
40864 KB |
Output is correct |
285 |
Correct |
514 ms |
40884 KB |
Output is correct |
286 |
Correct |
491 ms |
41584 KB |
Output is correct |
287 |
Correct |
503 ms |
41480 KB |
Output is correct |
288 |
Correct |
947 ms |
40608 KB |
Output is correct |
289 |
Correct |
967 ms |
40560 KB |
Output is correct |
290 |
Correct |
947 ms |
40588 KB |
Output is correct |
291 |
Correct |
947 ms |
40592 KB |
Output is correct |
292 |
Correct |
948 ms |
40840 KB |
Output is correct |
293 |
Correct |
953 ms |
40676 KB |
Output is correct |
294 |
Correct |
13 ms |
23964 KB |
Output is correct |
295 |
Correct |
13 ms |
24068 KB |
Output is correct |
296 |
Correct |
22 ms |
24348 KB |
Output is correct |
297 |
Correct |
21 ms |
24376 KB |
Output is correct |
298 |
Correct |
469 ms |
40756 KB |
Output is correct |
299 |
Correct |
481 ms |
40612 KB |
Output is correct |
300 |
Correct |
29 ms |
24420 KB |
Output is correct |
301 |
Correct |
36 ms |
24352 KB |
Output is correct |
302 |
Correct |
21 ms |
24440 KB |
Output is correct |
303 |
Correct |
21 ms |
24324 KB |
Output is correct |
304 |
Correct |
31 ms |
24396 KB |
Output is correct |
305 |
Correct |
35 ms |
24368 KB |
Output is correct |
306 |
Correct |
20 ms |
24376 KB |
Output is correct |
307 |
Correct |
21 ms |
24424 KB |
Output is correct |
308 |
Correct |
39 ms |
24492 KB |
Output is correct |
309 |
Correct |
28 ms |
24428 KB |
Output is correct |
310 |
Correct |
21 ms |
24452 KB |
Output is correct |
311 |
Correct |
20 ms |
24336 KB |
Output is correct |
312 |
Correct |
27 ms |
24404 KB |
Output is correct |
313 |
Correct |
30 ms |
24456 KB |
Output is correct |
314 |
Correct |
35 ms |
24368 KB |
Output is correct |
315 |
Correct |
33 ms |
24384 KB |
Output is correct |
316 |
Correct |
20 ms |
24404 KB |
Output is correct |
317 |
Correct |
20 ms |
24396 KB |
Output is correct |
318 |
Correct |
21 ms |
24364 KB |
Output is correct |
319 |
Correct |
21 ms |
24404 KB |
Output is correct |
320 |
Correct |
21 ms |
24404 KB |
Output is correct |
321 |
Correct |
21 ms |
24392 KB |
Output is correct |
322 |
Correct |
33 ms |
24396 KB |
Output is correct |
323 |
Correct |
33 ms |
24380 KB |
Output is correct |
324 |
Correct |
39 ms |
24432 KB |
Output is correct |
325 |
Correct |
42 ms |
24440 KB |
Output is correct |
326 |
Correct |
22 ms |
24396 KB |
Output is correct |
327 |
Correct |
22 ms |
24364 KB |
Output is correct |
328 |
Correct |
35 ms |
24396 KB |
Output is correct |
329 |
Correct |
38 ms |
24320 KB |
Output is correct |
330 |
Correct |
29 ms |
24424 KB |
Output is correct |
331 |
Correct |
23 ms |
24404 KB |
Output is correct |
332 |
Correct |
27 ms |
24404 KB |
Output is correct |
333 |
Correct |
30 ms |
24344 KB |
Output is correct |
334 |
Correct |
32 ms |
24380 KB |
Output is correct |
335 |
Correct |
37 ms |
24396 KB |
Output is correct |
336 |
Correct |
506 ms |
40024 KB |
Output is correct |
337 |
Correct |
564 ms |
41092 KB |
Output is correct |
338 |
Correct |
481 ms |
40800 KB |
Output is correct |
339 |
Correct |
520 ms |
40992 KB |
Output is correct |
340 |
Correct |
845 ms |
40724 KB |
Output is correct |
341 |
Correct |
706 ms |
40700 KB |
Output is correct |
342 |
Correct |
495 ms |
41084 KB |
Output is correct |
343 |
Correct |
502 ms |
41120 KB |
Output is correct |
344 |
Correct |
618 ms |
40856 KB |
Output is correct |
345 |
Correct |
763 ms |
41100 KB |
Output is correct |
346 |
Correct |
484 ms |
41044 KB |
Output is correct |
347 |
Correct |
490 ms |
40996 KB |
Output is correct |
348 |
Correct |
411 ms |
40896 KB |
Output is correct |
349 |
Correct |
499 ms |
41152 KB |
Output is correct |
350 |
Correct |
513 ms |
41160 KB |
Output is correct |
351 |
Correct |
535 ms |
41112 KB |
Output is correct |
352 |
Correct |
916 ms |
40628 KB |
Output is correct |
353 |
Correct |
485 ms |
41272 KB |
Output is correct |
354 |
Correct |
748 ms |
40840 KB |
Output is correct |
355 |
Correct |
740 ms |
40856 KB |
Output is correct |
356 |
Correct |
503 ms |
41008 KB |
Output is correct |
357 |
Correct |
867 ms |
40840 KB |
Output is correct |
358 |
Correct |
737 ms |
40808 KB |
Output is correct |
359 |
Correct |
736 ms |
40860 KB |
Output is correct |
360 |
Correct |
930 ms |
40764 KB |
Output is correct |
361 |
Correct |
944 ms |
40624 KB |
Output is correct |
362 |
Correct |
370 ms |
41012 KB |
Output is correct |
363 |
Correct |
361 ms |
41020 KB |
Output is correct |
364 |
Correct |
675 ms |
40496 KB |
Output is correct |
365 |
Correct |
753 ms |
39856 KB |
Output is correct |
366 |
Correct |
683 ms |
40604 KB |
Output is correct |
367 |
Correct |
622 ms |
40840 KB |
Output is correct |
368 |
Correct |
511 ms |
40552 KB |
Output is correct |
369 |
Correct |
583 ms |
40752 KB |
Output is correct |
370 |
Correct |
712 ms |
40892 KB |
Output is correct |
371 |
Correct |
515 ms |
40788 KB |
Output is correct |
372 |
Correct |
18 ms |
24276 KB |
Output is correct |
373 |
Correct |
17 ms |
24196 KB |
Output is correct |
374 |
Correct |
18 ms |
24364 KB |
Output is correct |
375 |
Correct |
20 ms |
24264 KB |
Output is correct |
376 |
Correct |
19 ms |
24324 KB |
Output is correct |
377 |
Correct |
19 ms |
24304 KB |
Output is correct |
378 |
Correct |
20 ms |
24356 KB |
Output is correct |
379 |
Correct |
21 ms |
24404 KB |
Output is correct |
380 |
Correct |
23 ms |
24404 KB |
Output is correct |
381 |
Correct |
21 ms |
24348 KB |
Output is correct |
382 |
Correct |
14 ms |
23976 KB |
Output is correct |
383 |
Correct |
14 ms |
24020 KB |
Output is correct |
384 |
Correct |
13 ms |
24020 KB |
Output is correct |
385 |
Correct |
13 ms |
24020 KB |
Output is correct |
386 |
Correct |
13 ms |
24020 KB |
Output is correct |
387 |
Correct |
12 ms |
24012 KB |
Output is correct |
388 |
Correct |
12 ms |
24064 KB |
Output is correct |
389 |
Correct |
13 ms |
24020 KB |
Output is correct |
390 |
Correct |
13 ms |
24060 KB |
Output is correct |
391 |
Correct |
13 ms |
24020 KB |
Output is correct |
392 |
Correct |
47 ms |
25548 KB |
Output is correct |
393 |
Correct |
95 ms |
27148 KB |
Output is correct |
394 |
Correct |
14 ms |
23892 KB |
Output is correct |
395 |
Correct |
176 ms |
30624 KB |
Output is correct |
396 |
Correct |
223 ms |
32128 KB |
Output is correct |
397 |
Correct |
14 ms |
24020 KB |
Output is correct |
398 |
Correct |
338 ms |
35620 KB |
Output is correct |
399 |
Correct |
403 ms |
37052 KB |
Output is correct |
400 |
Correct |
15 ms |
24068 KB |
Output is correct |
401 |
Correct |
631 ms |
40412 KB |
Output is correct |