Task: | Bomb |
Sender: | Olli |
Submission time: | 2019-02-10 16:25:25 +0200 |
Language: | C++ |
Status: | READY |
Result: | 30 |
group | verdict | score |
---|---|---|
#1 | ACCEPTED | 1 |
#2 | ACCEPTED | 1 |
#3 | ACCEPTED | 1 |
#4 | ACCEPTED | 1 |
#5 | WRONG ANSWER | 0 |
#6 | WRONG ANSWER | 0 |
#7 | ACCEPTED | 1 |
#8 | ACCEPTED | 1 |
#9 | ACCEPTED | 1 |
#10 | ACCEPTED | 1 |
#11 | ACCEPTED | 1 |
#12 | ACCEPTED | 1 |
#13 | ACCEPTED | 1 |
#14 | ACCEPTED | 1 |
#15 | ACCEPTED | 1 |
#16 | ACCEPTED | 1 |
#17 | ACCEPTED | 1 |
#18 | ACCEPTED | 1 |
#19 | ACCEPTED | 1 |
#20 | ACCEPTED | 1 |
#21 | ACCEPTED | 1 |
#22 | ACCEPTED | 1 |
#23 | ACCEPTED | 1 |
#24 | ACCEPTED | 1 |
#25 | ACCEPTED | 1 |
#26 | ACCEPTED | 1 |
#27 | TIME LIMIT EXCEEDED | 0 |
#28 | ACCEPTED | 1 |
#29 | TIME LIMIT EXCEEDED | 0 |
#30 | TIME LIMIT EXCEEDED | 0 |
#31 | TIME LIMIT EXCEEDED | 0 |
#32 | TIME LIMIT EXCEEDED | 0 |
#33 | TIME LIMIT EXCEEDED | 0 |
#34 | ACCEPTED | 1 |
#35 | TIME LIMIT EXCEEDED | 0 |
#36 | TIME LIMIT EXCEEDED | 0 |
#37 | ACCEPTED | 1 |
#38 | TIME LIMIT EXCEEDED | 0 |
#39 | ACCEPTED | 1 |
#40 | TIME LIMIT EXCEEDED | 0 |
#41 | ACCEPTED | 1 |
#42 | ACCEPTED | 1 |
#43 | TIME LIMIT EXCEEDED | 0 |
#44 | TIME LIMIT EXCEEDED | 0 |
#45 | TIME LIMIT EXCEEDED | 0 |
#46 | TIME LIMIT EXCEEDED | 0 |
#47 | TIME LIMIT EXCEEDED | 0 |
#48 | TIME LIMIT EXCEEDED | 0 |
#49 | TIME LIMIT EXCEEDED | 0 |
#50 | TIME LIMIT EXCEEDED | 0 |
#51 | TIME LIMIT EXCEEDED | 0 |
#52 | TIME LIMIT EXCEEDED | 0 |
#53 | TIME LIMIT EXCEEDED | 0 |
#54 | TIME LIMIT EXCEEDED | 0 |
#55 | TIME LIMIT EXCEEDED | 0 |
#56 | TIME LIMIT EXCEEDED | 0 |
#57 | TIME LIMIT EXCEEDED | 0 |
#58 | TIME LIMIT EXCEEDED | 0 |
#59 | TIME LIMIT EXCEEDED | 0 |
#60 | TIME LIMIT EXCEEDED | 0 |
#61 | TIME LIMIT EXCEEDED | 0 |
#62 | TIME LIMIT EXCEEDED | 0 |
#63 | TIME LIMIT EXCEEDED | 0 |
#64 | TIME LIMIT EXCEEDED | 0 |
#65 | TIME LIMIT EXCEEDED | 0 |
#66 | TIME LIMIT EXCEEDED | 0 |
#67 | TIME LIMIT EXCEEDED | 0 |
#68 | TIME LIMIT EXCEEDED | 0 |
#69 | TIME LIMIT EXCEEDED | 0 |
#70 | TIME LIMIT EXCEEDED | 0 |
#71 | TIME LIMIT EXCEEDED | 0 |
#72 | TIME LIMIT EXCEEDED | 0 |
#73 | TIME LIMIT EXCEEDED | 0 |
#74 | TIME LIMIT EXCEEDED | 0 |
#75 | TIME LIMIT EXCEEDED | 0 |
#76 | TIME LIMIT EXCEEDED | 0 |
#77 | TIME LIMIT EXCEEDED | 0 |
#78 | TIME LIMIT EXCEEDED | 0 |
#79 | TIME LIMIT EXCEEDED | 0 |
#80 | TIME LIMIT EXCEEDED | 0 |
#81 | TIME LIMIT EXCEEDED | 0 |
#82 | TIME LIMIT EXCEEDED | 0 |
#83 | TIME LIMIT EXCEEDED | 0 |
#84 | TIME LIMIT EXCEEDED | 0 |
#85 | TIME LIMIT EXCEEDED | 0 |
#86 | TIME LIMIT EXCEEDED | 0 |
#87 | TIME LIMIT EXCEEDED | 0 |
#88 | TIME LIMIT EXCEEDED | 0 |
#89 | TIME LIMIT EXCEEDED | 0 |
#90 | TIME LIMIT EXCEEDED | 0 |
#91 | TIME LIMIT EXCEEDED | 0 |
#92 | TIME LIMIT EXCEEDED | 0 |
#93 | TIME LIMIT EXCEEDED | 0 |
#94 | TIME LIMIT EXCEEDED | 0 |
#95 | TIME LIMIT EXCEEDED | 0 |
#96 | TIME LIMIT EXCEEDED | 0 |
#97 | TIME LIMIT EXCEEDED | 0 |
#98 | TIME LIMIT EXCEEDED | 0 |
#99 | TIME LIMIT EXCEEDED | 0 |
#100 | TIME LIMIT EXCEEDED | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | ACCEPTED | 0.02 s | 1 | details |
#2 | ACCEPTED | 0.03 s | 2 | details |
#3 | ACCEPTED | 0.07 s | 3 | details |
#4 | ACCEPTED | 0.06 s | 4 | details |
#5 | WRONG ANSWER | 0.26 s | 5 | details |
#6 | WRONG ANSWER | 0.05 s | 6 | details |
#7 | ACCEPTED | 0.01 s | 7 | details |
#8 | ACCEPTED | 0.01 s | 8 | details |
#9 | ACCEPTED | 0.03 s | 9 | details |
#10 | ACCEPTED | 0.01 s | 10 | details |
#11 | ACCEPTED | 0.01 s | 11 | details |
#12 | ACCEPTED | 0.02 s | 12 | details |
#13 | ACCEPTED | 0.02 s | 13 | details |
#14 | ACCEPTED | 0.02 s | 14 | details |
#15 | ACCEPTED | 0.01 s | 15 | details |
#16 | ACCEPTED | 0.01 s | 16 | details |
#17 | ACCEPTED | 0.04 s | 17 | details |
#18 | ACCEPTED | 0.03 s | 18 | details |
#19 | ACCEPTED | 0.04 s | 19 | details |
#20 | ACCEPTED | 0.04 s | 20 | details |
#21 | ACCEPTED | 0.02 s | 21 | details |
#22 | ACCEPTED | 0.04 s | 22 | details |
#23 | ACCEPTED | 0.05 s | 23 | details |
#24 | ACCEPTED | 0.03 s | 24 | details |
#25 | ACCEPTED | 0.05 s | 25 | details |
#26 | ACCEPTED | 0.09 s | 26 | details |
#27 | TIME LIMIT EXCEEDED | -- | 27 | details |
#28 | ACCEPTED | 0.46 s | 28 | details |
#29 | TIME LIMIT EXCEEDED | -- | 29 | details |
#30 | TIME LIMIT EXCEEDED | -- | 30 | details |
#31 | TIME LIMIT EXCEEDED | -- | 31 | details |
#32 | TIME LIMIT EXCEEDED | -- | 32 | details |
#33 | TIME LIMIT EXCEEDED | -- | 33 | details |
#34 | ACCEPTED | 0.25 s | 34 | details |
#35 | TIME LIMIT EXCEEDED | -- | 35 | details |
#36 | TIME LIMIT EXCEEDED | -- | 36 | details |
#37 | ACCEPTED | 0.02 s | 37 | details |
#38 | TIME LIMIT EXCEEDED | -- | 38 | details |
#39 | ACCEPTED | 0.03 s | 39 | details |
#40 | TIME LIMIT EXCEEDED | -- | 40 | details |
#41 | ACCEPTED | 0.01 s | 41 | details |
#42 | ACCEPTED | 0.07 s | 42 | details |
#43 | TIME LIMIT EXCEEDED | -- | 43 | details |
#44 | TIME LIMIT EXCEEDED | -- | 44 | details |
#45 | TIME LIMIT EXCEEDED | -- | 45 | details |
#46 | TIME LIMIT EXCEEDED | -- | 46 | details |
#47 | TIME LIMIT EXCEEDED | -- | 47 | details |
#48 | TIME LIMIT EXCEEDED | -- | 48 | details |
#49 | TIME LIMIT EXCEEDED | -- | 49 | details |
#50 | TIME LIMIT EXCEEDED | -- | 50 | details |
#51 | TIME LIMIT EXCEEDED | -- | 51 | details |
#52 | TIME LIMIT EXCEEDED | -- | 52 | details |
#53 | TIME LIMIT EXCEEDED | -- | 53 | details |
#54 | TIME LIMIT EXCEEDED | -- | 54 | details |
#55 | TIME LIMIT EXCEEDED | -- | 55 | details |
#56 | TIME LIMIT EXCEEDED | -- | 56 | details |
#57 | TIME LIMIT EXCEEDED | -- | 57 | details |
#58 | TIME LIMIT EXCEEDED | -- | 58 | details |
#59 | TIME LIMIT EXCEEDED | -- | 59 | details |
#60 | TIME LIMIT EXCEEDED | -- | 60 | details |
#61 | TIME LIMIT EXCEEDED | -- | 61 | details |
#62 | TIME LIMIT EXCEEDED | -- | 62 | details |
#63 | TIME LIMIT EXCEEDED | -- | 63 | details |
#64 | TIME LIMIT EXCEEDED | -- | 64 | details |
#65 | TIME LIMIT EXCEEDED | -- | 65 | details |
#66 | TIME LIMIT EXCEEDED | -- | 66 | details |
#67 | TIME LIMIT EXCEEDED | -- | 67 | details |
#68 | TIME LIMIT EXCEEDED | -- | 68 | details |
#69 | TIME LIMIT EXCEEDED | -- | 69 | details |
#70 | TIME LIMIT EXCEEDED | -- | 70 | details |
#71 | TIME LIMIT EXCEEDED | -- | 71 | details |
#72 | TIME LIMIT EXCEEDED | -- | 72 | details |
#73 | TIME LIMIT EXCEEDED | -- | 73 | details |
#74 | TIME LIMIT EXCEEDED | -- | 74 | details |
#75 | TIME LIMIT EXCEEDED | -- | 75 | details |
#76 | TIME LIMIT EXCEEDED | -- | 76 | details |
#77 | TIME LIMIT EXCEEDED | -- | 77 | details |
#78 | TIME LIMIT EXCEEDED | -- | 78 | details |
#79 | TIME LIMIT EXCEEDED | -- | 79 | details |
#80 | TIME LIMIT EXCEEDED | -- | 80 | details |
#81 | TIME LIMIT EXCEEDED | -- | 81 | details |
#82 | TIME LIMIT EXCEEDED | -- | 82 | details |
#83 | TIME LIMIT EXCEEDED | -- | 83 | details |
#84 | TIME LIMIT EXCEEDED | -- | 84 | details |
#85 | TIME LIMIT EXCEEDED | -- | 85 | details |
#86 | TIME LIMIT EXCEEDED | -- | 86 | details |
#87 | TIME LIMIT EXCEEDED | -- | 87 | details |
#88 | TIME LIMIT EXCEEDED | -- | 88 | details |
#89 | TIME LIMIT EXCEEDED | -- | 89 | details |
#90 | TIME LIMIT EXCEEDED | -- | 90 | details |
#91 | TIME LIMIT EXCEEDED | -- | 91 | details |
#92 | TIME LIMIT EXCEEDED | -- | 92 | details |
#93 | TIME LIMIT EXCEEDED | -- | 93 | details |
#94 | TIME LIMIT EXCEEDED | -- | 94 | details |
#95 | TIME LIMIT EXCEEDED | -- | 95 | details |
#96 | TIME LIMIT EXCEEDED | -- | 96 | details |
#97 | TIME LIMIT EXCEEDED | -- | 97 | details |
#98 | TIME LIMIT EXCEEDED | -- | 98 | details |
#99 | TIME LIMIT EXCEEDED | -- | 99 | details |
#100 | TIME LIMIT EXCEEDED | -- | 100 | details |
Code
#include <iostream> using namespace std; const int N = 2525; const int M = 512; bool map[N][N]; int u[N][N]; int d[N][N]; int ut[N][2*M]; int dt[N][2*M]; int mini(int y, int a, int b) { a += M-1; b+= M-1; int miU = 1e9; int miD = 1e9; while(a <= b) { if(a%2 == 1) { miU = min(miU, ut[y][a]); miD = min(miD, dt[y][a]); ++a; } if(b%2 == 0) { miU = min(miU, ut[y][b]); miD = min(miD, dt[y][b]); --b; } a/=2; b/=2; } return miU + miD - 1; } int lat[N][N]; int main() { int h, w; cin >> h >> w; for(int hh = 1; hh <= h; ++hh) { for(int ww = 1; ww <= w; ++ww) { char a; cin >> a; if(a == '1') { map[hh][ww] = true; } } } for(int y = 1; y <= h; ++y) { for(int x = 1; x <= w; ++x) { if(!map[y][x]) { u[y][x] = 0; } else { u[y][x] = u[y-1][x] + 1; } } } for(int y = h; y >= 1; --y) { for(int x = 1; x <= w; ++x) { if(!map[y][x]) { d[y][x] = 0; } else { d[y][x] = d[y+1][x] + 1; } } } /* for(int y = 1; y <= h; ++y) { for(int x = 1; x <= w; ++x) { cout << d[y][x] << " "; } cout << "\n"; } */ for(int y = 1; y <= h; ++y) { for(int x = 1; x <= w; ++x) { ut[y][x-1+M] = u[y][x]; dt[y][x-1+M] = d[y][x]; } for(int i = M-1; i >= 1; --i) { ut[y][i] = min(ut[y][2*i], ut[y][2*i+1]); dt[y][i] = min(dt[y][2*i], dt[y][2*i+1]); } } int ans = 0; int co = 1; for(int ww = 1; ww <= w; ++ww) { int maxH = 0; for(int b = 12; b >= 0; --b) { int newH = maxH + (1<<b); if(newH > h) continue; for(int y = 1; y <= h; ++y) { for(int x = 1; x <= w-ww+1; ++x) { if(!map[y][x]) continue; // if(lat[y][x] == co) continue; if(mini(y, x, x+ww-1) >= newH) { lat[y][x] = co; } } } bool wo = true; for(int y = 1; y <= h; ++y) { int pre = -1e9; for(int x = 1; x <= w; ++x) { if(map[y][x]) { if(lat[y][x] == co) { pre = x; continue; } if(x - pre >= ww) { wo = false; break; } } } } ++co; if(wo) { maxH = newH; } } ans = max(maxH*ww, ans); } cout << ans << "\n"; }
Test details
Test 1
Group: 1
Verdict: ACCEPTED
input |
---|
1 20 00001111101110011110 |
correct output |
---|
3 |
user output |
---|
3 |
Test 2
Group: 2
Verdict: ACCEPTED
input |
---|
20 1 1 1 1 0 ... |
correct output |
---|
2 |
user output |
---|
2 |
Test 3
Group: 3
Verdict: ACCEPTED
input |
---|
2499 1 1 1 1 1 ... |
correct output |
---|
38 |
user output |
---|
38 |
Test 4
Group: 4
Verdict: ACCEPTED
input |
---|
2499 1 1 1 1 1 ... |
correct output |
---|
55 |
user output |
---|
55 |
Test 5
Group: 5
Verdict: WRONG ANSWER
input |
---|
1 2500 111111111110111111111110111111... |
correct output |
---|
7 |
user output |
---|
11 |
Test 6
Group: 6
Verdict: WRONG ANSWER
input |
---|
1 1000 111111111111111111111111111111... |
correct output |
---|
33 |
user output |
---|
85 |
Test 7
Group: 7
Verdict: ACCEPTED
input |
---|
5 5 11111 11111 11011 11111 ... |
correct output |
---|
4 |
user output |
---|
4 |
Test 8
Group: 8
Verdict: ACCEPTED
input |
---|
20 20 11111000000000000000 11111000000000000000 11111100000000000000 11111111111000000000 ... |
correct output |
---|
8 |
user output |
---|
8 |
Test 9
Group: 9
Verdict: ACCEPTED
input |
---|
20 20 11111100000000000000 11111100000000000000 11111110000000000000 11111111111110000000 ... |
correct output |
---|
12 |
user output |
---|
12 |
Test 10
Group: 10
Verdict: ACCEPTED
input |
---|
14 13 0000011100000 0000011100000 0000011100000 0000011110000 ... |
correct output |
---|
4 |
user output |
---|
4 |
Test 11
Group: 11
Verdict: ACCEPTED
input |
---|
20 19 1111110000000000000 1111111000000000000 1111111000000000000 1111111000000000000 ... |
correct output |
---|
10 |
user output |
---|
10 |
Test 12
Group: 12
Verdict: ACCEPTED
input |
---|
15 15 110000000000000 110000000000000 110000000000000 111000000000000 ... |
correct output |
---|
2 |
user output |
---|
2 |
Test 13
Group: 13
Verdict: ACCEPTED
input |
---|
15 11 00111000000 00111000000 00111000000 00111000000 ... |
correct output |
---|
3 |
user output |
---|
3 |
Test 14
Group: 14
Verdict: ACCEPTED
input |
---|
16 16 0000111100001111 0000111100001111 0000111100001111 0000111100001111 ... |
correct output |
---|
16 |
user output |
---|
16 |
Test 15
Group: 15
Verdict: ACCEPTED
input |
---|
18 18 111110000000000000 111110000000000000 111110000000000000 111111000000000000 ... |
correct output |
---|
8 |
user output |
---|
8 |
Test 16
Group: 16
Verdict: ACCEPTED
input |
---|
20 20 11111111111111011111 11111111111111011111 11111111111111011111 11111111111111111111 ... |
correct output |
---|
20 |
user output |
---|
20 |
Test 17
Group: 17
Verdict: ACCEPTED
input |
---|
65 70 000000000000000011111000000000... |
correct output |
---|
15 |
user output |
---|
15 |
Test 18
Group: 18
Verdict: ACCEPTED
input |
---|
70 62 111100000000000000000000000000... |
correct output |
---|
6 |
user output |
---|
6 |
Test 19
Group: 19
Verdict: ACCEPTED
input |
---|
94 78 111111111111111100000000000000... |
correct output |
---|
22 |
user output |
---|
22 |
Test 20
Group: 20
Verdict: ACCEPTED
input |
---|
92 84 111111111111111110000000000000... |
correct output |
---|
27 |
user output |
---|
27 |
Test 21
Group: 21
Verdict: ACCEPTED
input |
---|
53 89 000001111000000000000000000000... |
correct output |
---|
6 |
user output |
---|
6 |
Test 22
Group: 22
Verdict: ACCEPTED
input |
---|
76 93 000011111100000000000000000000... |
correct output |
---|
12 |
user output |
---|
12 |
Test 23
Group: 23
Verdict: ACCEPTED
input |
---|
100 100 111111111111111111111111111111... |
correct output |
---|
209 |
user output |
---|
209 |
Test 24
Group: 24
Verdict: ACCEPTED
input |
---|
81 74 111111111111111110000000000000... |
correct output |
---|
30 |
user output |
---|
30 |
Test 25
Group: 25
Verdict: ACCEPTED
input |
---|
100 100 111111111111111111111111111111... |
correct output |
---|
80 |
user output |
---|
80 |
Test 26
Group: 26
Verdict: ACCEPTED
input |
---|
100 100 111111111111111111111111111111... |
correct output |
---|
132 |
user output |
---|
132 |
Test 27
Group: 27
Verdict: TIME LIMIT EXCEEDED
input |
---|
295 268 111111111111111111111111111111... |
correct output |
---|
3 |
user output |
---|
(empty) |
Test 28
Group: 28
Verdict: ACCEPTED
input |
---|
290 383 111111110000000000000000000000... |
correct output |
---|
20 |
user output |
---|
20 |
Test 29
Group: 29
Verdict: TIME LIMIT EXCEEDED
input |
---|
390 320 000000000000000000000000000000... |
correct output |
---|
3038 |
user output |
---|
(empty) |
Test 30
Group: 30
Verdict: TIME LIMIT EXCEEDED
input |
---|
432 434 111111111111111111111111111111... |
correct output |
---|
221 |
user output |
---|
(empty) |
Test 31
Group: 31
Verdict: TIME LIMIT EXCEEDED
input |
---|
334 450 111111111111111111111111111111... |
correct output |
---|
391 |
user output |
---|
(empty) |
Test 32
Group: 32
Verdict: TIME LIMIT EXCEEDED
input |
---|
407 383 111111111111111111111111111111... |
correct output |
---|
156 |
user output |
---|
(empty) |
Test 33
Group: 33
Verdict: TIME LIMIT EXCEEDED
input |
---|
450 450 111111111111111111111111111111... |
correct output |
---|
1235 |
user output |
---|
(empty) |
Test 34
Group: 34
Verdict: ACCEPTED
input |
---|
356 231 000000000001111111111110000000... |
correct output |
---|
42 |
user output |
---|
42 |
Test 35
Group: 35
Verdict: TIME LIMIT EXCEEDED
input |
---|
450 450 111111111111111111111111111111... |
correct output |
---|
192 |
user output |
---|
(empty) |
Test 36
Group: 36
Verdict: TIME LIMIT EXCEEDED
input |
---|
450 450 111111111111111111111111111111... |
correct output |
---|
1404 |
user output |
---|
(empty) |
Test 37
Group: 37
Verdict: ACCEPTED
input |
---|
20 20 00000000001111111111 00000000001111111111 00000000001111111111 00000000001111111111 ... |
correct output |
---|
14 |
user output |
---|
14 |
Test 38
Group: 38
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
6250000 |
user output |
---|
(empty) |
Test 39
Group: 39
Verdict: ACCEPTED
input |
---|
20 20 00000000001111111111 00000000001111111111 00000000111111111111 00000001111111111111 ... |
correct output |
---|
24 |
user output |
---|
24 |
Test 40
Group: 40
Verdict: TIME LIMIT EXCEEDED
input |
---|
875 882 111111111111111111111111111111... |
correct output |
---|
69552 |
user output |
---|
(empty) |
Test 41
Group: 41
Verdict: ACCEPTED
input |
---|
20 20 00000000111111111111 00000011111111111111 00000011111111111111 00000111111111111111 ... |
correct output |
---|
36 |
user output |
---|
36 |
Test 42
Group: 42
Verdict: ACCEPTED
input |
---|
100 100 000000000000000000000000000000... |
correct output |
---|
651 |
user output |
---|
651 |
Test 43
Group: 43
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
250500 |
user output |
---|
(empty) |
Test 44
Group: 44
Verdict: TIME LIMIT EXCEEDED
input |
---|
450 450 000000000000000000000000000000... |
correct output |
---|
12864 |
user output |
---|
(empty) |
Test 45
Group: 45
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
399456 |
user output |
---|
(empty) |
Test 46
Group: 46
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111100000... |
correct output |
---|
625 |
user output |
---|
(empty) |
Test 47
Group: 47
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
395486 |
user output |
---|
(empty) |
Test 48
Group: 48
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
3360 |
user output |
---|
(empty) |
Test 49
Group: 49
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
28 |
user output |
---|
(empty) |
Test 50
Group: 50
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
7348 |
user output |
---|
(empty) |
Test 51
Group: 51
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
6622 |
user output |
---|
(empty) |
Test 52
Group: 52
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
5593 |
user output |
---|
(empty) |
Test 53
Group: 53
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
4545 |
user output |
---|
(empty) |
Test 54
Group: 54
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
4067 |
user output |
---|
(empty) |
Test 55
Group: 55
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
2806 |
user output |
---|
(empty) |
Test 56
Group: 56
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
122500 |
user output |
---|
(empty) |
Test 57
Group: 57
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
4674 |
user output |
---|
(empty) |
Test 58
Group: 58
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
6272 |
user output |
---|
(empty) |
Test 59
Group: 59
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
3337 |
user output |
---|
(empty) |
Test 60
Group: 60
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
870 |
user output |
---|
(empty) |
Test 61
Group: 61
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
532 |
user output |
---|
(empty) |
Test 62
Group: 62
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
114271 |
user output |
---|
(empty) |
Test 63
Group: 63
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
1560001 |
user output |
---|
(empty) |
Test 64
Group: 64
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
62500 |
user output |
---|
(empty) |
Test 65
Group: 65
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
1400 |
user output |
---|
(empty) |
Test 66
Group: 66
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000111111111111111111111111... |
correct output |
---|
9910 |
user output |
---|
(empty) |
Test 67
Group: 67
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
9879 |
user output |
---|
(empty) |
Test 68
Group: 68
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
16224 |
user output |
---|
(empty) |
Test 69
Group: 69
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 000000000000000000000000000000... |
correct output |
---|
6300 |
user output |
---|
(empty) |
Test 70
Group: 70
Verdict: TIME LIMIT EXCEEDED
input |
---|
2000 2000 111111111111111111111111111111... |
correct output |
---|
59760 |
user output |
---|
(empty) |
Test 71
Group: 71
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
40480 |
user output |
---|
(empty) |
Test 72
Group: 72
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
137159 |
user output |
---|
(empty) |
Test 73
Group: 73
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
32110 |
user output |
---|
(empty) |
Test 74
Group: 74
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
10914 |
user output |
---|
(empty) |
Test 75
Group: 75
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
124074 |
user output |
---|
(empty) |
Test 76
Group: 76
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
4617 |
user output |
---|
(empty) |
Test 77
Group: 77
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
106981 |
user output |
---|
(empty) |
Test 78
Group: 78
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
44980 |
user output |
---|
(empty) |
Test 79
Group: 79
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111110000... |
correct output |
---|
1365 |
user output |
---|
(empty) |
Test 80
Group: 80
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111110000000000... |
correct output |
---|
602 |
user output |
---|
(empty) |
Test 81
Group: 81
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
2709 |
user output |
---|
(empty) |
Test 82
Group: 82
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
149556 |
user output |
---|
(empty) |
Test 83
Group: 83
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
11289 |
user output |
---|
(empty) |
Test 84
Group: 84
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
366 |
user output |
---|
(empty) |
Test 85
Group: 85
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
4814 |
user output |
---|
(empty) |
Test 86
Group: 86
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
132 |
user output |
---|
(empty) |
Test 87
Group: 87
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
589 |
user output |
---|
(empty) |
Test 88
Group: 88
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
56448 |
user output |
---|
(empty) |
Test 89
Group: 89
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
10044 |
user output |
---|
(empty) |
Test 90
Group: 90
Verdict: TIME LIMIT EXCEEDED
input |
---|
2000 2000 111111111111111111111111111111... |
correct output |
---|
6384 |
user output |
---|
(empty) |
Test 91
Group: 91
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
15330 |
user output |
---|
(empty) |
Test 92
Group: 92
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
47759 |
user output |
---|
(empty) |
Test 93
Group: 93
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
624 |
user output |
---|
(empty) |
Test 94
Group: 94
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
16695 |
user output |
---|
(empty) |
Test 95
Group: 95
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
19224 |
user output |
---|
(empty) |
Test 96
Group: 96
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
89386 |
user output |
---|
(empty) |
Test 97
Group: 97
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
243 |
user output |
---|
(empty) |
Test 98
Group: 98
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
73840 |
user output |
---|
(empty) |
Test 99
Group: 99
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
10764 |
user output |
---|
(empty) |
Test 100
Group: 100
Verdict: TIME LIMIT EXCEEDED
input |
---|
2500 2500 111111111111111111111111111111... |
correct output |
---|
135 |
user output |
---|
(empty) |