Submission #933372

# Submission time Handle Problem Language Result Execution time Memory
933372 2024-02-25T15:08:46 Z pcc Maze (JOI23_ho_t3) C++14
94 / 100
2000 ms 1039472 KB
#include <bits/stdc++.h>
using namespace std;

#define ll long long
#define pll pair<ll,ll>
#define pii pair<int,int>
#define fs first
#define sc second
#define tlll tuple<ll,ll,ll>
#define int ll

struct node{
	int lvl,r,c,d;
	node(){lvl = r = c = d = 0;}
	node(int lv,int rr,int cc,int dd):lvl(lv),r(rr),c(cc),d(dd){}
	bool operator<(node b)const{
		return d<b.d;
	}
	bool operator>(node b)const{
		return d>b.d;
	}
};

int R,C,N;
vector<string> arr;
vector<vector<int>> dist[5];
pii s,e;

deque<node> dq;

pii dir[] = {{0,1},{0,-1},{1,0},{-1,0}};
pii dir2[] = {{1,1},{1,-1},{-1,-1},{-1,1}};

inline void add(int lvl,int r,int c,int d){
	if(lvl>4||r<0||c<0||r>=R||c>=C)return;
	//cout<<lvl<<','<<r<<' '<<c<<' '<<d<<endl;
	if(dist[lvl][r][c] != -1&&dist[lvl][r][c]<=d)return;
	dist[lvl][r][c] = d;
	if(dq.empty()||dq.back().d<=d)dq.push_back(node(lvl,r,c,d));
	else dq.push_front(node(lvl,r,c,d));
}

void add_center(int r,int c,int d){//extend radius of N*2-1 square
	pii row = {max((int)0,r-N+1),min(r+N-1,R-1)};
	pii col = {max((int)0,c-N+1),min(c+N-1,C-1)};
	for(int i = 0;i<4;i++){
		int nr = r-dir2[i].fs*(N-1),nc = c-dir2[i].sc*(N-1);
		if(nr>=0&&nr<R&&nc>=0&&nc<C)add(i,nr,nc,d);
		else {
			nr = max((int)0,nr),nr = min(nr,R-1),nc = max((int)0,nc),nc = min(nc,C-1);
			int er,ec;
			if(dir2[i].fs>0)er = (nr+N*2-2)/(N*2-1)*(N*2-1);
			else er = nr/(N*2-1)*(N*2-1);
			if(dir2[i].sc>0)ec = (nc+N*2-2)/(N*2-1)*(N*2-1);
			else ec = nc/(N*2-1)*(N*2-1);
			er = min(er,R-1),ec = min(ec,C-1);
			if(row.fs<=er&&er<=row.sc&&col.fs<=ec&&ec<=col.sc)add(i,nr,nc,d);
		}
	}
	return;
}

void BFS(pii s){
	add(4,s.fs,s.sc,0);
	dist[4][s.fs][s.sc] = 0;
	while(!dq.empty()){
		auto now = dq.front();
		dq.pop_front();
		//cout<<now.lvl<<','<<now.r<<' '<<now.c<<':'<<now.d<<":"<<dist[now.lvl][now.r][now.c]<<endl;
		assert(dist[now.lvl][now.r][now.c]<=now.d);
		if(dist[now.lvl][now.r][now.c] != now.d)continue;
		if(now.lvl == 4){
			add_center(now.r,now.c,now.d+1);
			for(auto &d:dir){
				int nr = d.fs+now.r,nc = d.sc+now.c;
				//cout<<nr<<','<<nc<<endl;
				if(nr>=0&&nc>=0&&nr<R&&nc<C){
					add_center(nr,nc,now.d+1);
					add(4,nr,nc,now.d+(arr[nr][nc] == '#'));
				}
			}
		}
		else{
			add(4,now.r,now.c,now.d);
			int nr = now.r+dir2[now.lvl].fs,nc = now.c+dir2[now.lvl].sc;
			if(nr>=0&&nr<R&&now.r%(N*2-1) != 0)add(now.lvl,nr,now.c,now.d);
			if(nc>=0&&nc<C&&now.c%(N*2-1) != 0)add(now.lvl,now.r,nc,now.d);
		}
	}
	return;
}

main(){
	ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
	cin>>R>>C>>N;
	arr = vector<string>(R);
	dist[0] = dist[1] = dist[2] = dist[3] = dist[4] = vector<vector<int>>(R,vector<int>(C,-1));
	cin>>s.fs>>s.sc>>e.fs>>e.sc;
	s.fs--,s.sc--,e.fs--,e.sc--;
	for(auto &i:arr)cin>>i;
	BFS(s);
	cout<<dist[4][e.fs][e.sc];
}

Compilation message

Main.cpp:93:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   93 | main(){
      | ^~~~
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 1 ms 604 KB Output is correct
5 Correct 1 ms 344 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 348 KB Output is correct
8 Correct 1 ms 344 KB Output is correct
9 Correct 0 ms 344 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 0 ms 348 KB Output is correct
12 Correct 0 ms 348 KB Output is correct
13 Correct 0 ms 348 KB Output is correct
14 Correct 0 ms 348 KB Output is correct
15 Correct 0 ms 348 KB Output is correct
16 Correct 1 ms 348 KB Output is correct
17 Correct 1 ms 348 KB Output is correct
18 Correct 0 ms 348 KB Output is correct
19 Correct 15 ms 2940 KB Output is correct
20 Correct 8 ms 2652 KB Output is correct
21 Correct 19 ms 11188 KB Output is correct
22 Correct 17 ms 3164 KB Output is correct
23 Correct 15 ms 2908 KB Output is correct
24 Correct 14 ms 3164 KB Output is correct
25 Correct 10 ms 3164 KB Output is correct
26 Correct 17 ms 4188 KB Output is correct
27 Correct 17 ms 3420 KB Output is correct
28 Correct 16 ms 3208 KB Output is correct
29 Correct 39 ms 6492 KB Output is correct
30 Correct 15 ms 2924 KB Output is correct
31 Correct 53 ms 26644 KB Output is correct
32 Correct 41 ms 7008 KB Output is correct
33 Correct 39 ms 6492 KB Output is correct
34 Correct 27 ms 7668 KB Output is correct
35 Correct 26 ms 7260 KB Output is correct
36 Correct 43 ms 8780 KB Output is correct
37 Correct 41 ms 7516 KB Output is correct
38 Correct 38 ms 7004 KB Output is correct
39 Correct 446 ms 61524 KB Output is correct
40 Correct 45 ms 7260 KB Output is correct
41 Correct 32 ms 9052 KB Output is correct
42 Correct 62 ms 9188 KB Output is correct
43 Correct 54 ms 10844 KB Output is correct
44 Correct 198 ms 30536 KB Output is correct
45 Correct 201 ms 33116 KB Output is correct
46 Correct 622 ms 260516 KB Output is correct
47 Correct 441 ms 62028 KB Output is correct
48 Correct 488 ms 61324 KB Output is correct
49 Correct 270 ms 70748 KB Output is correct
50 Correct 250 ms 70744 KB Output is correct
51 Correct 510 ms 69668 KB Output is correct
52 Correct 453 ms 64172 KB Output is correct
53 Correct 431 ms 62524 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 396 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 1 ms 348 KB Output is correct
6 Correct 0 ms 348 KB Output is correct
7 Correct 0 ms 348 KB Output is correct
8 Correct 0 ms 348 KB Output is correct
9 Correct 1 ms 604 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 0 ms 348 KB Output is correct
12 Correct 1 ms 348 KB Output is correct
13 Correct 1 ms 348 KB Output is correct
14 Correct 1 ms 348 KB Output is correct
15 Correct 0 ms 348 KB Output is correct
16 Correct 0 ms 348 KB Output is correct
17 Correct 1 ms 344 KB Output is correct
18 Correct 0 ms 348 KB Output is correct
19 Correct 1 ms 348 KB Output is correct
20 Correct 1 ms 348 KB Output is correct
21 Correct 0 ms 348 KB Output is correct
22 Correct 0 ms 348 KB Output is correct
23 Correct 0 ms 348 KB Output is correct
24 Correct 0 ms 348 KB Output is correct
25 Correct 0 ms 348 KB Output is correct
26 Correct 0 ms 420 KB Output is correct
27 Correct 0 ms 348 KB Output is correct
28 Correct 1 ms 348 KB Output is correct
29 Correct 0 ms 348 KB Output is correct
30 Correct 1 ms 348 KB Output is correct
31 Correct 1 ms 372 KB Output is correct
32 Correct 1 ms 344 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 0 ms 348 KB Output is correct
6 Correct 0 ms 348 KB Output is correct
7 Correct 1 ms 604 KB Output is correct
8 Correct 1 ms 348 KB Output is correct
9 Correct 1 ms 348 KB Output is correct
10 Correct 1 ms 348 KB Output is correct
11 Correct 1 ms 348 KB Output is correct
12 Correct 1 ms 348 KB Output is correct
13 Correct 0 ms 348 KB Output is correct
14 Correct 0 ms 348 KB Output is correct
15 Correct 0 ms 348 KB Output is correct
16 Correct 1 ms 348 KB Output is correct
17 Correct 0 ms 348 KB Output is correct
18 Correct 0 ms 344 KB Output is correct
19 Correct 0 ms 348 KB Output is correct
20 Correct 0 ms 348 KB Output is correct
21 Correct 0 ms 348 KB Output is correct
22 Correct 1 ms 348 KB Output is correct
23 Correct 1 ms 348 KB Output is correct
24 Correct 1 ms 604 KB Output is correct
25 Correct 14 ms 2136 KB Output is correct
26 Correct 18 ms 9308 KB Output is correct
27 Correct 19 ms 11060 KB Output is correct
28 Correct 18 ms 3476 KB Output is correct
29 Correct 21 ms 3952 KB Output is correct
30 Correct 19 ms 4696 KB Output is correct
31 Correct 19 ms 3160 KB Output is correct
32 Correct 22 ms 4388 KB Output is correct
33 Correct 17 ms 3544 KB Output is correct
34 Correct 43 ms 16468 KB Output is correct
35 Correct 52 ms 26612 KB Output is correct
36 Correct 45 ms 7880 KB Output is correct
37 Correct 55 ms 9556 KB Output is correct
38 Correct 45 ms 11348 KB Output is correct
39 Correct 176 ms 74112 KB Output is correct
40 Correct 479 ms 121752 KB Output is correct
41 Correct 597 ms 260216 KB Output is correct
42 Correct 518 ms 84684 KB Output is correct
43 Correct 543 ms 90776 KB Output is correct
44 Correct 546 ms 109636 KB Output is correct
45 Correct 515 ms 80052 KB Output is correct
46 Correct 521 ms 78936 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 396 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 1 ms 348 KB Output is correct
6 Correct 0 ms 348 KB Output is correct
7 Correct 0 ms 348 KB Output is correct
8 Correct 0 ms 348 KB Output is correct
9 Correct 1 ms 604 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 0 ms 348 KB Output is correct
12 Correct 1 ms 348 KB Output is correct
13 Correct 1 ms 348 KB Output is correct
14 Correct 1 ms 348 KB Output is correct
15 Correct 0 ms 348 KB Output is correct
16 Correct 0 ms 348 KB Output is correct
17 Correct 1 ms 344 KB Output is correct
18 Correct 0 ms 348 KB Output is correct
19 Correct 1 ms 348 KB Output is correct
20 Correct 1 ms 348 KB Output is correct
21 Correct 0 ms 348 KB Output is correct
22 Correct 0 ms 348 KB Output is correct
23 Correct 0 ms 348 KB Output is correct
24 Correct 0 ms 348 KB Output is correct
25 Correct 0 ms 348 KB Output is correct
26 Correct 0 ms 420 KB Output is correct
27 Correct 0 ms 348 KB Output is correct
28 Correct 1 ms 348 KB Output is correct
29 Correct 0 ms 348 KB Output is correct
30 Correct 1 ms 348 KB Output is correct
31 Correct 1 ms 372 KB Output is correct
32 Correct 1 ms 344 KB Output is correct
33 Correct 15 ms 2908 KB Output is correct
34 Correct 1 ms 604 KB Output is correct
35 Correct 1 ms 604 KB Output is correct
36 Correct 13 ms 2136 KB Output is correct
37 Correct 8 ms 2468 KB Output is correct
38 Correct 18 ms 9288 KB Output is correct
39 Correct 19 ms 10984 KB Output is correct
40 Correct 16 ms 3164 KB Output is correct
41 Correct 15 ms 2908 KB Output is correct
42 Correct 18 ms 3420 KB Output is correct
43 Correct 22 ms 4180 KB Output is correct
44 Correct 19 ms 4696 KB Output is correct
45 Correct 11 ms 3164 KB Output is correct
46 Correct 11 ms 3164 KB Output is correct
47 Correct 16 ms 2928 KB Output is correct
48 Correct 19 ms 2652 KB Output is correct
49 Correct 20 ms 2920 KB Output is correct
50 Correct 21 ms 2940 KB Output is correct
51 Correct 19 ms 2904 KB Output is correct
52 Correct 17 ms 4188 KB Output is correct
53 Correct 17 ms 3420 KB Output is correct
54 Correct 15 ms 3164 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 396 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 1 ms 348 KB Output is correct
6 Correct 0 ms 348 KB Output is correct
7 Correct 0 ms 348 KB Output is correct
8 Correct 0 ms 348 KB Output is correct
9 Correct 1 ms 604 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 0 ms 348 KB Output is correct
12 Correct 1 ms 348 KB Output is correct
13 Correct 1 ms 348 KB Output is correct
14 Correct 1 ms 348 KB Output is correct
15 Correct 0 ms 348 KB Output is correct
16 Correct 0 ms 348 KB Output is correct
17 Correct 1 ms 344 KB Output is correct
18 Correct 0 ms 348 KB Output is correct
19 Correct 1 ms 348 KB Output is correct
20 Correct 1 ms 348 KB Output is correct
21 Correct 0 ms 348 KB Output is correct
22 Correct 0 ms 348 KB Output is correct
23 Correct 0 ms 348 KB Output is correct
24 Correct 0 ms 348 KB Output is correct
25 Correct 0 ms 348 KB Output is correct
26 Correct 0 ms 420 KB Output is correct
27 Correct 0 ms 348 KB Output is correct
28 Correct 1 ms 348 KB Output is correct
29 Correct 0 ms 348 KB Output is correct
30 Correct 1 ms 348 KB Output is correct
31 Correct 1 ms 372 KB Output is correct
32 Correct 1 ms 344 KB Output is correct
33 Correct 15 ms 2908 KB Output is correct
34 Correct 1 ms 604 KB Output is correct
35 Correct 1 ms 604 KB Output is correct
36 Correct 13 ms 2136 KB Output is correct
37 Correct 8 ms 2468 KB Output is correct
38 Correct 18 ms 9288 KB Output is correct
39 Correct 19 ms 10984 KB Output is correct
40 Correct 16 ms 3164 KB Output is correct
41 Correct 15 ms 2908 KB Output is correct
42 Correct 18 ms 3420 KB Output is correct
43 Correct 22 ms 4180 KB Output is correct
44 Correct 19 ms 4696 KB Output is correct
45 Correct 11 ms 3164 KB Output is correct
46 Correct 11 ms 3164 KB Output is correct
47 Correct 16 ms 2928 KB Output is correct
48 Correct 19 ms 2652 KB Output is correct
49 Correct 20 ms 2920 KB Output is correct
50 Correct 21 ms 2940 KB Output is correct
51 Correct 19 ms 2904 KB Output is correct
52 Correct 17 ms 4188 KB Output is correct
53 Correct 17 ms 3420 KB Output is correct
54 Correct 15 ms 3164 KB Output is correct
55 Correct 41 ms 6660 KB Output is correct
56 Correct 14 ms 2924 KB Output is correct
57 Correct 42 ms 16352 KB Output is correct
58 Correct 47 ms 5976 KB Output is correct
59 Correct 52 ms 26612 KB Output is correct
60 Correct 44 ms 7000 KB Output is correct
61 Correct 38 ms 6648 KB Output is correct
62 Correct 42 ms 8016 KB Output is correct
63 Correct 45 ms 9440 KB Output is correct
64 Correct 44 ms 11344 KB Output is correct
65 Correct 27 ms 7256 KB Output is correct
66 Correct 30 ms 7260 KB Output is correct
67 Correct 39 ms 6748 KB Output is correct
68 Correct 47 ms 6492 KB Output is correct
69 Correct 47 ms 6492 KB Output is correct
70 Correct 49 ms 6740 KB Output is correct
71 Correct 56 ms 6744 KB Output is correct
72 Correct 48 ms 8692 KB Output is correct
73 Correct 41 ms 7516 KB Output is correct
74 Correct 38 ms 7008 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 1 ms 604 KB Output is correct
5 Correct 1 ms 344 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 348 KB Output is correct
8 Correct 1 ms 344 KB Output is correct
9 Correct 0 ms 344 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 0 ms 348 KB Output is correct
12 Correct 0 ms 348 KB Output is correct
13 Correct 0 ms 348 KB Output is correct
14 Correct 0 ms 348 KB Output is correct
15 Correct 0 ms 348 KB Output is correct
16 Correct 1 ms 348 KB Output is correct
17 Correct 1 ms 348 KB Output is correct
18 Correct 0 ms 348 KB Output is correct
19 Correct 15 ms 2940 KB Output is correct
20 Correct 8 ms 2652 KB Output is correct
21 Correct 19 ms 11188 KB Output is correct
22 Correct 17 ms 3164 KB Output is correct
23 Correct 15 ms 2908 KB Output is correct
24 Correct 14 ms 3164 KB Output is correct
25 Correct 10 ms 3164 KB Output is correct
26 Correct 17 ms 4188 KB Output is correct
27 Correct 17 ms 3420 KB Output is correct
28 Correct 16 ms 3208 KB Output is correct
29 Correct 39 ms 6492 KB Output is correct
30 Correct 15 ms 2924 KB Output is correct
31 Correct 53 ms 26644 KB Output is correct
32 Correct 41 ms 7008 KB Output is correct
33 Correct 39 ms 6492 KB Output is correct
34 Correct 27 ms 7668 KB Output is correct
35 Correct 26 ms 7260 KB Output is correct
36 Correct 43 ms 8780 KB Output is correct
37 Correct 41 ms 7516 KB Output is correct
38 Correct 38 ms 7004 KB Output is correct
39 Correct 446 ms 61524 KB Output is correct
40 Correct 45 ms 7260 KB Output is correct
41 Correct 32 ms 9052 KB Output is correct
42 Correct 62 ms 9188 KB Output is correct
43 Correct 54 ms 10844 KB Output is correct
44 Correct 198 ms 30536 KB Output is correct
45 Correct 201 ms 33116 KB Output is correct
46 Correct 622 ms 260516 KB Output is correct
47 Correct 441 ms 62028 KB Output is correct
48 Correct 488 ms 61324 KB Output is correct
49 Correct 270 ms 70748 KB Output is correct
50 Correct 250 ms 70744 KB Output is correct
51 Correct 510 ms 69668 KB Output is correct
52 Correct 453 ms 64172 KB Output is correct
53 Correct 431 ms 62524 KB Output is correct
54 Correct 0 ms 348 KB Output is correct
55 Correct 0 ms 396 KB Output is correct
56 Correct 0 ms 348 KB Output is correct
57 Correct 0 ms 348 KB Output is correct
58 Correct 1 ms 348 KB Output is correct
59 Correct 0 ms 348 KB Output is correct
60 Correct 0 ms 348 KB Output is correct
61 Correct 0 ms 348 KB Output is correct
62 Correct 1 ms 604 KB Output is correct
63 Correct 0 ms 348 KB Output is correct
64 Correct 0 ms 348 KB Output is correct
65 Correct 1 ms 348 KB Output is correct
66 Correct 1 ms 348 KB Output is correct
67 Correct 1 ms 348 KB Output is correct
68 Correct 0 ms 348 KB Output is correct
69 Correct 0 ms 348 KB Output is correct
70 Correct 1 ms 344 KB Output is correct
71 Correct 0 ms 348 KB Output is correct
72 Correct 1 ms 348 KB Output is correct
73 Correct 1 ms 348 KB Output is correct
74 Correct 0 ms 348 KB Output is correct
75 Correct 0 ms 348 KB Output is correct
76 Correct 0 ms 348 KB Output is correct
77 Correct 0 ms 348 KB Output is correct
78 Correct 0 ms 348 KB Output is correct
79 Correct 0 ms 420 KB Output is correct
80 Correct 0 ms 348 KB Output is correct
81 Correct 1 ms 348 KB Output is correct
82 Correct 0 ms 348 KB Output is correct
83 Correct 1 ms 348 KB Output is correct
84 Correct 1 ms 372 KB Output is correct
85 Correct 1 ms 344 KB Output is correct
86 Correct 0 ms 348 KB Output is correct
87 Correct 0 ms 348 KB Output is correct
88 Correct 0 ms 348 KB Output is correct
89 Correct 0 ms 348 KB Output is correct
90 Correct 0 ms 348 KB Output is correct
91 Correct 0 ms 348 KB Output is correct
92 Correct 1 ms 604 KB Output is correct
93 Correct 1 ms 348 KB Output is correct
94 Correct 1 ms 348 KB Output is correct
95 Correct 1 ms 348 KB Output is correct
96 Correct 1 ms 348 KB Output is correct
97 Correct 1 ms 348 KB Output is correct
98 Correct 0 ms 348 KB Output is correct
99 Correct 0 ms 348 KB Output is correct
100 Correct 0 ms 348 KB Output is correct
101 Correct 1 ms 348 KB Output is correct
102 Correct 0 ms 348 KB Output is correct
103 Correct 0 ms 344 KB Output is correct
104 Correct 0 ms 348 KB Output is correct
105 Correct 0 ms 348 KB Output is correct
106 Correct 0 ms 348 KB Output is correct
107 Correct 1 ms 348 KB Output is correct
108 Correct 1 ms 348 KB Output is correct
109 Correct 1 ms 604 KB Output is correct
110 Correct 14 ms 2136 KB Output is correct
111 Correct 18 ms 9308 KB Output is correct
112 Correct 19 ms 11060 KB Output is correct
113 Correct 18 ms 3476 KB Output is correct
114 Correct 21 ms 3952 KB Output is correct
115 Correct 19 ms 4696 KB Output is correct
116 Correct 19 ms 3160 KB Output is correct
117 Correct 22 ms 4388 KB Output is correct
118 Correct 17 ms 3544 KB Output is correct
119 Correct 43 ms 16468 KB Output is correct
120 Correct 52 ms 26612 KB Output is correct
121 Correct 45 ms 7880 KB Output is correct
122 Correct 55 ms 9556 KB Output is correct
123 Correct 45 ms 11348 KB Output is correct
124 Correct 176 ms 74112 KB Output is correct
125 Correct 479 ms 121752 KB Output is correct
126 Correct 597 ms 260216 KB Output is correct
127 Correct 518 ms 84684 KB Output is correct
128 Correct 543 ms 90776 KB Output is correct
129 Correct 546 ms 109636 KB Output is correct
130 Correct 515 ms 80052 KB Output is correct
131 Correct 521 ms 78936 KB Output is correct
132 Correct 15 ms 2908 KB Output is correct
133 Correct 1 ms 604 KB Output is correct
134 Correct 1 ms 604 KB Output is correct
135 Correct 13 ms 2136 KB Output is correct
136 Correct 8 ms 2468 KB Output is correct
137 Correct 18 ms 9288 KB Output is correct
138 Correct 19 ms 10984 KB Output is correct
139 Correct 16 ms 3164 KB Output is correct
140 Correct 15 ms 2908 KB Output is correct
141 Correct 18 ms 3420 KB Output is correct
142 Correct 22 ms 4180 KB Output is correct
143 Correct 19 ms 4696 KB Output is correct
144 Correct 11 ms 3164 KB Output is correct
145 Correct 11 ms 3164 KB Output is correct
146 Correct 16 ms 2928 KB Output is correct
147 Correct 19 ms 2652 KB Output is correct
148 Correct 20 ms 2920 KB Output is correct
149 Correct 21 ms 2940 KB Output is correct
150 Correct 19 ms 2904 KB Output is correct
151 Correct 17 ms 4188 KB Output is correct
152 Correct 17 ms 3420 KB Output is correct
153 Correct 15 ms 3164 KB Output is correct
154 Correct 41 ms 6660 KB Output is correct
155 Correct 14 ms 2924 KB Output is correct
156 Correct 42 ms 16352 KB Output is correct
157 Correct 47 ms 5976 KB Output is correct
158 Correct 52 ms 26612 KB Output is correct
159 Correct 44 ms 7000 KB Output is correct
160 Correct 38 ms 6648 KB Output is correct
161 Correct 42 ms 8016 KB Output is correct
162 Correct 45 ms 9440 KB Output is correct
163 Correct 44 ms 11344 KB Output is correct
164 Correct 27 ms 7256 KB Output is correct
165 Correct 30 ms 7260 KB Output is correct
166 Correct 39 ms 6748 KB Output is correct
167 Correct 47 ms 6492 KB Output is correct
168 Correct 47 ms 6492 KB Output is correct
169 Correct 49 ms 6740 KB Output is correct
170 Correct 56 ms 6744 KB Output is correct
171 Correct 48 ms 8692 KB Output is correct
172 Correct 41 ms 7516 KB Output is correct
173 Correct 38 ms 7008 KB Output is correct
174 Correct 64 ms 8284 KB Output is correct
175 Correct 111 ms 14300 KB Output is correct
176 Correct 237 ms 32088 KB Output is correct
177 Correct 348 ms 42344 KB Output is correct
178 Correct 446 ms 55552 KB Output is correct
179 Correct 505 ms 63052 KB Output is correct
180 Correct 505 ms 63200 KB Output is correct
181 Correct 511 ms 63292 KB Output is correct
182 Correct 488 ms 64420 KB Output is correct
183 Correct 501 ms 66096 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 1 ms 604 KB Output is correct
5 Correct 1 ms 344 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 348 KB Output is correct
8 Correct 1 ms 344 KB Output is correct
9 Correct 0 ms 344 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 0 ms 348 KB Output is correct
12 Correct 0 ms 348 KB Output is correct
13 Correct 0 ms 348 KB Output is correct
14 Correct 0 ms 348 KB Output is correct
15 Correct 0 ms 348 KB Output is correct
16 Correct 1 ms 348 KB Output is correct
17 Correct 1 ms 348 KB Output is correct
18 Correct 0 ms 348 KB Output is correct
19 Correct 15 ms 2940 KB Output is correct
20 Correct 8 ms 2652 KB Output is correct
21 Correct 19 ms 11188 KB Output is correct
22 Correct 17 ms 3164 KB Output is correct
23 Correct 15 ms 2908 KB Output is correct
24 Correct 14 ms 3164 KB Output is correct
25 Correct 10 ms 3164 KB Output is correct
26 Correct 17 ms 4188 KB Output is correct
27 Correct 17 ms 3420 KB Output is correct
28 Correct 16 ms 3208 KB Output is correct
29 Correct 39 ms 6492 KB Output is correct
30 Correct 15 ms 2924 KB Output is correct
31 Correct 53 ms 26644 KB Output is correct
32 Correct 41 ms 7008 KB Output is correct
33 Correct 39 ms 6492 KB Output is correct
34 Correct 27 ms 7668 KB Output is correct
35 Correct 26 ms 7260 KB Output is correct
36 Correct 43 ms 8780 KB Output is correct
37 Correct 41 ms 7516 KB Output is correct
38 Correct 38 ms 7004 KB Output is correct
39 Correct 446 ms 61524 KB Output is correct
40 Correct 45 ms 7260 KB Output is correct
41 Correct 32 ms 9052 KB Output is correct
42 Correct 62 ms 9188 KB Output is correct
43 Correct 54 ms 10844 KB Output is correct
44 Correct 198 ms 30536 KB Output is correct
45 Correct 201 ms 33116 KB Output is correct
46 Correct 622 ms 260516 KB Output is correct
47 Correct 441 ms 62028 KB Output is correct
48 Correct 488 ms 61324 KB Output is correct
49 Correct 270 ms 70748 KB Output is correct
50 Correct 250 ms 70744 KB Output is correct
51 Correct 510 ms 69668 KB Output is correct
52 Correct 453 ms 64172 KB Output is correct
53 Correct 431 ms 62524 KB Output is correct
54 Correct 0 ms 348 KB Output is correct
55 Correct 0 ms 396 KB Output is correct
56 Correct 0 ms 348 KB Output is correct
57 Correct 0 ms 348 KB Output is correct
58 Correct 1 ms 348 KB Output is correct
59 Correct 0 ms 348 KB Output is correct
60 Correct 0 ms 348 KB Output is correct
61 Correct 0 ms 348 KB Output is correct
62 Correct 1 ms 604 KB Output is correct
63 Correct 0 ms 348 KB Output is correct
64 Correct 0 ms 348 KB Output is correct
65 Correct 1 ms 348 KB Output is correct
66 Correct 1 ms 348 KB Output is correct
67 Correct 1 ms 348 KB Output is correct
68 Correct 0 ms 348 KB Output is correct
69 Correct 0 ms 348 KB Output is correct
70 Correct 1 ms 344 KB Output is correct
71 Correct 0 ms 348 KB Output is correct
72 Correct 1 ms 348 KB Output is correct
73 Correct 1 ms 348 KB Output is correct
74 Correct 0 ms 348 KB Output is correct
75 Correct 0 ms 348 KB Output is correct
76 Correct 0 ms 348 KB Output is correct
77 Correct 0 ms 348 KB Output is correct
78 Correct 0 ms 348 KB Output is correct
79 Correct 0 ms 420 KB Output is correct
80 Correct 0 ms 348 KB Output is correct
81 Correct 1 ms 348 KB Output is correct
82 Correct 0 ms 348 KB Output is correct
83 Correct 1 ms 348 KB Output is correct
84 Correct 1 ms 372 KB Output is correct
85 Correct 1 ms 344 KB Output is correct
86 Correct 0 ms 348 KB Output is correct
87 Correct 0 ms 348 KB Output is correct
88 Correct 0 ms 348 KB Output is correct
89 Correct 0 ms 348 KB Output is correct
90 Correct 0 ms 348 KB Output is correct
91 Correct 0 ms 348 KB Output is correct
92 Correct 1 ms 604 KB Output is correct
93 Correct 1 ms 348 KB Output is correct
94 Correct 1 ms 348 KB Output is correct
95 Correct 1 ms 348 KB Output is correct
96 Correct 1 ms 348 KB Output is correct
97 Correct 1 ms 348 KB Output is correct
98 Correct 0 ms 348 KB Output is correct
99 Correct 0 ms 348 KB Output is correct
100 Correct 0 ms 348 KB Output is correct
101 Correct 1 ms 348 KB Output is correct
102 Correct 0 ms 348 KB Output is correct
103 Correct 0 ms 344 KB Output is correct
104 Correct 0 ms 348 KB Output is correct
105 Correct 0 ms 348 KB Output is correct
106 Correct 0 ms 348 KB Output is correct
107 Correct 1 ms 348 KB Output is correct
108 Correct 1 ms 348 KB Output is correct
109 Correct 1 ms 604 KB Output is correct
110 Correct 14 ms 2136 KB Output is correct
111 Correct 18 ms 9308 KB Output is correct
112 Correct 19 ms 11060 KB Output is correct
113 Correct 18 ms 3476 KB Output is correct
114 Correct 21 ms 3952 KB Output is correct
115 Correct 19 ms 4696 KB Output is correct
116 Correct 19 ms 3160 KB Output is correct
117 Correct 22 ms 4388 KB Output is correct
118 Correct 17 ms 3544 KB Output is correct
119 Correct 43 ms 16468 KB Output is correct
120 Correct 52 ms 26612 KB Output is correct
121 Correct 45 ms 7880 KB Output is correct
122 Correct 55 ms 9556 KB Output is correct
123 Correct 45 ms 11348 KB Output is correct
124 Correct 176 ms 74112 KB Output is correct
125 Correct 479 ms 121752 KB Output is correct
126 Correct 597 ms 260216 KB Output is correct
127 Correct 518 ms 84684 KB Output is correct
128 Correct 543 ms 90776 KB Output is correct
129 Correct 546 ms 109636 KB Output is correct
130 Correct 515 ms 80052 KB Output is correct
131 Correct 521 ms 78936 KB Output is correct
132 Correct 15 ms 2908 KB Output is correct
133 Correct 1 ms 604 KB Output is correct
134 Correct 1 ms 604 KB Output is correct
135 Correct 13 ms 2136 KB Output is correct
136 Correct 8 ms 2468 KB Output is correct
137 Correct 18 ms 9288 KB Output is correct
138 Correct 19 ms 10984 KB Output is correct
139 Correct 16 ms 3164 KB Output is correct
140 Correct 15 ms 2908 KB Output is correct
141 Correct 18 ms 3420 KB Output is correct
142 Correct 22 ms 4180 KB Output is correct
143 Correct 19 ms 4696 KB Output is correct
144 Correct 11 ms 3164 KB Output is correct
145 Correct 11 ms 3164 KB Output is correct
146 Correct 16 ms 2928 KB Output is correct
147 Correct 19 ms 2652 KB Output is correct
148 Correct 20 ms 2920 KB Output is correct
149 Correct 21 ms 2940 KB Output is correct
150 Correct 19 ms 2904 KB Output is correct
151 Correct 17 ms 4188 KB Output is correct
152 Correct 17 ms 3420 KB Output is correct
153 Correct 15 ms 3164 KB Output is correct
154 Correct 41 ms 6660 KB Output is correct
155 Correct 14 ms 2924 KB Output is correct
156 Correct 42 ms 16352 KB Output is correct
157 Correct 47 ms 5976 KB Output is correct
158 Correct 52 ms 26612 KB Output is correct
159 Correct 44 ms 7000 KB Output is correct
160 Correct 38 ms 6648 KB Output is correct
161 Correct 42 ms 8016 KB Output is correct
162 Correct 45 ms 9440 KB Output is correct
163 Correct 44 ms 11344 KB Output is correct
164 Correct 27 ms 7256 KB Output is correct
165 Correct 30 ms 7260 KB Output is correct
166 Correct 39 ms 6748 KB Output is correct
167 Correct 47 ms 6492 KB Output is correct
168 Correct 47 ms 6492 KB Output is correct
169 Correct 49 ms 6740 KB Output is correct
170 Correct 56 ms 6744 KB Output is correct
171 Correct 48 ms 8692 KB Output is correct
172 Correct 41 ms 7516 KB Output is correct
173 Correct 38 ms 7008 KB Output is correct
174 Correct 64 ms 8284 KB Output is correct
175 Correct 111 ms 14300 KB Output is correct
176 Correct 237 ms 32088 KB Output is correct
177 Correct 348 ms 42344 KB Output is correct
178 Correct 446 ms 55552 KB Output is correct
179 Correct 505 ms 63052 KB Output is correct
180 Correct 505 ms 63200 KB Output is correct
181 Correct 511 ms 63292 KB Output is correct
182 Correct 488 ms 64420 KB Output is correct
183 Correct 501 ms 66096 KB Output is correct
184 Correct 894 ms 124800 KB Output is correct
185 Correct 553 ms 68568 KB Output is correct
186 Correct 700 ms 305672 KB Output is correct
187 Correct 720 ms 103476 KB Output is correct
188 Correct 1334 ms 533876 KB Output is correct
189 Correct 891 ms 126796 KB Output is correct
190 Correct 907 ms 124860 KB Output is correct
191 Correct 974 ms 172104 KB Output is correct
192 Correct 1043 ms 183256 KB Output is correct
193 Correct 1051 ms 221476 KB Output is correct
194 Correct 505 ms 141136 KB Output is correct
195 Correct 504 ms 141136 KB Output is correct
196 Correct 1018 ms 124596 KB Output is correct
197 Correct 1028 ms 126020 KB Output is correct
198 Correct 1018 ms 126412 KB Output is correct
199 Correct 1041 ms 128360 KB Output is correct
200 Correct 1092 ms 136636 KB Output is correct
201 Correct 1002 ms 129624 KB Output is correct
202 Correct 932 ms 126636 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 1 ms 604 KB Output is correct
5 Correct 1 ms 344 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 348 KB Output is correct
8 Correct 1 ms 344 KB Output is correct
9 Correct 0 ms 344 KB Output is correct
10 Correct 0 ms 348 KB Output is correct
11 Correct 0 ms 348 KB Output is correct
12 Correct 0 ms 348 KB Output is correct
13 Correct 0 ms 348 KB Output is correct
14 Correct 0 ms 348 KB Output is correct
15 Correct 0 ms 348 KB Output is correct
16 Correct 1 ms 348 KB Output is correct
17 Correct 1 ms 348 KB Output is correct
18 Correct 0 ms 348 KB Output is correct
19 Correct 15 ms 2940 KB Output is correct
20 Correct 8 ms 2652 KB Output is correct
21 Correct 19 ms 11188 KB Output is correct
22 Correct 17 ms 3164 KB Output is correct
23 Correct 15 ms 2908 KB Output is correct
24 Correct 14 ms 3164 KB Output is correct
25 Correct 10 ms 3164 KB Output is correct
26 Correct 17 ms 4188 KB Output is correct
27 Correct 17 ms 3420 KB Output is correct
28 Correct 16 ms 3208 KB Output is correct
29 Correct 39 ms 6492 KB Output is correct
30 Correct 15 ms 2924 KB Output is correct
31 Correct 53 ms 26644 KB Output is correct
32 Correct 41 ms 7008 KB Output is correct
33 Correct 39 ms 6492 KB Output is correct
34 Correct 27 ms 7668 KB Output is correct
35 Correct 26 ms 7260 KB Output is correct
36 Correct 43 ms 8780 KB Output is correct
37 Correct 41 ms 7516 KB Output is correct
38 Correct 38 ms 7004 KB Output is correct
39 Correct 446 ms 61524 KB Output is correct
40 Correct 45 ms 7260 KB Output is correct
41 Correct 32 ms 9052 KB Output is correct
42 Correct 62 ms 9188 KB Output is correct
43 Correct 54 ms 10844 KB Output is correct
44 Correct 198 ms 30536 KB Output is correct
45 Correct 201 ms 33116 KB Output is correct
46 Correct 622 ms 260516 KB Output is correct
47 Correct 441 ms 62028 KB Output is correct
48 Correct 488 ms 61324 KB Output is correct
49 Correct 270 ms 70748 KB Output is correct
50 Correct 250 ms 70744 KB Output is correct
51 Correct 510 ms 69668 KB Output is correct
52 Correct 453 ms 64172 KB Output is correct
53 Correct 431 ms 62524 KB Output is correct
54 Correct 0 ms 348 KB Output is correct
55 Correct 0 ms 396 KB Output is correct
56 Correct 0 ms 348 KB Output is correct
57 Correct 0 ms 348 KB Output is correct
58 Correct 1 ms 348 KB Output is correct
59 Correct 0 ms 348 KB Output is correct
60 Correct 0 ms 348 KB Output is correct
61 Correct 0 ms 348 KB Output is correct
62 Correct 1 ms 604 KB Output is correct
63 Correct 0 ms 348 KB Output is correct
64 Correct 0 ms 348 KB Output is correct
65 Correct 1 ms 348 KB Output is correct
66 Correct 1 ms 348 KB Output is correct
67 Correct 1 ms 348 KB Output is correct
68 Correct 0 ms 348 KB Output is correct
69 Correct 0 ms 348 KB Output is correct
70 Correct 1 ms 344 KB Output is correct
71 Correct 0 ms 348 KB Output is correct
72 Correct 1 ms 348 KB Output is correct
73 Correct 1 ms 348 KB Output is correct
74 Correct 0 ms 348 KB Output is correct
75 Correct 0 ms 348 KB Output is correct
76 Correct 0 ms 348 KB Output is correct
77 Correct 0 ms 348 KB Output is correct
78 Correct 0 ms 348 KB Output is correct
79 Correct 0 ms 420 KB Output is correct
80 Correct 0 ms 348 KB Output is correct
81 Correct 1 ms 348 KB Output is correct
82 Correct 0 ms 348 KB Output is correct
83 Correct 1 ms 348 KB Output is correct
84 Correct 1 ms 372 KB Output is correct
85 Correct 1 ms 344 KB Output is correct
86 Correct 0 ms 348 KB Output is correct
87 Correct 0 ms 348 KB Output is correct
88 Correct 0 ms 348 KB Output is correct
89 Correct 0 ms 348 KB Output is correct
90 Correct 0 ms 348 KB Output is correct
91 Correct 0 ms 348 KB Output is correct
92 Correct 1 ms 604 KB Output is correct
93 Correct 1 ms 348 KB Output is correct
94 Correct 1 ms 348 KB Output is correct
95 Correct 1 ms 348 KB Output is correct
96 Correct 1 ms 348 KB Output is correct
97 Correct 1 ms 348 KB Output is correct
98 Correct 0 ms 348 KB Output is correct
99 Correct 0 ms 348 KB Output is correct
100 Correct 0 ms 348 KB Output is correct
101 Correct 1 ms 348 KB Output is correct
102 Correct 0 ms 348 KB Output is correct
103 Correct 0 ms 344 KB Output is correct
104 Correct 0 ms 348 KB Output is correct
105 Correct 0 ms 348 KB Output is correct
106 Correct 0 ms 348 KB Output is correct
107 Correct 1 ms 348 KB Output is correct
108 Correct 1 ms 348 KB Output is correct
109 Correct 1 ms 604 KB Output is correct
110 Correct 14 ms 2136 KB Output is correct
111 Correct 18 ms 9308 KB Output is correct
112 Correct 19 ms 11060 KB Output is correct
113 Correct 18 ms 3476 KB Output is correct
114 Correct 21 ms 3952 KB Output is correct
115 Correct 19 ms 4696 KB Output is correct
116 Correct 19 ms 3160 KB Output is correct
117 Correct 22 ms 4388 KB Output is correct
118 Correct 17 ms 3544 KB Output is correct
119 Correct 43 ms 16468 KB Output is correct
120 Correct 52 ms 26612 KB Output is correct
121 Correct 45 ms 7880 KB Output is correct
122 Correct 55 ms 9556 KB Output is correct
123 Correct 45 ms 11348 KB Output is correct
124 Correct 176 ms 74112 KB Output is correct
125 Correct 479 ms 121752 KB Output is correct
126 Correct 597 ms 260216 KB Output is correct
127 Correct 518 ms 84684 KB Output is correct
128 Correct 543 ms 90776 KB Output is correct
129 Correct 546 ms 109636 KB Output is correct
130 Correct 515 ms 80052 KB Output is correct
131 Correct 521 ms 78936 KB Output is correct
132 Correct 15 ms 2908 KB Output is correct
133 Correct 1 ms 604 KB Output is correct
134 Correct 1 ms 604 KB Output is correct
135 Correct 13 ms 2136 KB Output is correct
136 Correct 8 ms 2468 KB Output is correct
137 Correct 18 ms 9288 KB Output is correct
138 Correct 19 ms 10984 KB Output is correct
139 Correct 16 ms 3164 KB Output is correct
140 Correct 15 ms 2908 KB Output is correct
141 Correct 18 ms 3420 KB Output is correct
142 Correct 22 ms 4180 KB Output is correct
143 Correct 19 ms 4696 KB Output is correct
144 Correct 11 ms 3164 KB Output is correct
145 Correct 11 ms 3164 KB Output is correct
146 Correct 16 ms 2928 KB Output is correct
147 Correct 19 ms 2652 KB Output is correct
148 Correct 20 ms 2920 KB Output is correct
149 Correct 21 ms 2940 KB Output is correct
150 Correct 19 ms 2904 KB Output is correct
151 Correct 17 ms 4188 KB Output is correct
152 Correct 17 ms 3420 KB Output is correct
153 Correct 15 ms 3164 KB Output is correct
154 Correct 41 ms 6660 KB Output is correct
155 Correct 14 ms 2924 KB Output is correct
156 Correct 42 ms 16352 KB Output is correct
157 Correct 47 ms 5976 KB Output is correct
158 Correct 52 ms 26612 KB Output is correct
159 Correct 44 ms 7000 KB Output is correct
160 Correct 38 ms 6648 KB Output is correct
161 Correct 42 ms 8016 KB Output is correct
162 Correct 45 ms 9440 KB Output is correct
163 Correct 44 ms 11344 KB Output is correct
164 Correct 27 ms 7256 KB Output is correct
165 Correct 30 ms 7260 KB Output is correct
166 Correct 39 ms 6748 KB Output is correct
167 Correct 47 ms 6492 KB Output is correct
168 Correct 47 ms 6492 KB Output is correct
169 Correct 49 ms 6740 KB Output is correct
170 Correct 56 ms 6744 KB Output is correct
171 Correct 48 ms 8692 KB Output is correct
172 Correct 41 ms 7516 KB Output is correct
173 Correct 38 ms 7008 KB Output is correct
174 Correct 64 ms 8284 KB Output is correct
175 Correct 111 ms 14300 KB Output is correct
176 Correct 237 ms 32088 KB Output is correct
177 Correct 348 ms 42344 KB Output is correct
178 Correct 446 ms 55552 KB Output is correct
179 Correct 505 ms 63052 KB Output is correct
180 Correct 505 ms 63200 KB Output is correct
181 Correct 511 ms 63292 KB Output is correct
182 Correct 488 ms 64420 KB Output is correct
183 Correct 501 ms 66096 KB Output is correct
184 Correct 894 ms 124800 KB Output is correct
185 Correct 553 ms 68568 KB Output is correct
186 Correct 700 ms 305672 KB Output is correct
187 Correct 720 ms 103476 KB Output is correct
188 Correct 1334 ms 533876 KB Output is correct
189 Correct 891 ms 126796 KB Output is correct
190 Correct 907 ms 124860 KB Output is correct
191 Correct 974 ms 172104 KB Output is correct
192 Correct 1043 ms 183256 KB Output is correct
193 Correct 1051 ms 221476 KB Output is correct
194 Correct 505 ms 141136 KB Output is correct
195 Correct 504 ms 141136 KB Output is correct
196 Correct 1018 ms 124596 KB Output is correct
197 Correct 1028 ms 126020 KB Output is correct
198 Correct 1018 ms 126412 KB Output is correct
199 Correct 1041 ms 128360 KB Output is correct
200 Correct 1092 ms 136636 KB Output is correct
201 Correct 1002 ms 129624 KB Output is correct
202 Correct 932 ms 126636 KB Output is correct
203 Correct 1839 ms 248552 KB Output is correct
204 Correct 1171 ms 152396 KB Output is correct
205 Correct 1291 ms 156484 KB Output is correct
206 Correct 1616 ms 246972 KB Output is correct
207 Execution timed out 2126 ms 1039472 KB Time limit exceeded
208 Halted 0 ms 0 KB -