Task: | Bootfall |
Sender: | Olli |
Submission time: | 2019-02-02 16:10:03 +0200 |
Language: | C++ |
Status: | READY |
Result: | 28 |
group | verdict | score |
---|---|---|
#1 | ACCEPTED | 6 |
#2 | ACCEPTED | 7 |
#3 | ACCEPTED | 15 |
#4 | TIME LIMIT EXCEEDED | 0 |
#5 | TIME LIMIT EXCEEDED | 0 |
#6 | TIME LIMIT EXCEEDED | 0 |
test | verdict | time | group | |
---|---|---|---|---|
#1 | ACCEPTED | 0.01 s | 1 | details |
#2 | ACCEPTED | 0.02 s | 1 | details |
#3 | ACCEPTED | 0.01 s | 1 | details |
#4 | ACCEPTED | 0.01 s | 1 | details |
#5 | ACCEPTED | 0.01 s | 1 | details |
#6 | ACCEPTED | 0.02 s | 1 | details |
#7 | ACCEPTED | 0.03 s | 1 | details |
#8 | ACCEPTED | 0.02 s | 1 | details |
#9 | ACCEPTED | 0.02 s | 1 | details |
#10 | ACCEPTED | 0.02 s | 2 | details |
#11 | ACCEPTED | 0.01 s | 2 | details |
#12 | ACCEPTED | 0.02 s | 2 | details |
#13 | ACCEPTED | 0.03 s | 2 | details |
#14 | ACCEPTED | 0.01 s | 2 | details |
#15 | ACCEPTED | 0.03 s | 2 | details |
#16 | ACCEPTED | 0.02 s | 2 | details |
#17 | ACCEPTED | 0.01 s | 2 | details |
#18 | ACCEPTED | 0.02 s | 2 | details |
#19 | ACCEPTED | 0.03 s | 2 | details |
#20 | ACCEPTED | 0.02 s | 2 | details |
#21 | ACCEPTED | 0.04 s | 3 | details |
#22 | ACCEPTED | 0.05 s | 3 | details |
#23 | ACCEPTED | 0.02 s | 3 | details |
#24 | ACCEPTED | 0.09 s | 3 | details |
#25 | ACCEPTED | 0.14 s | 3 | details |
#26 | ACCEPTED | 0.17 s | 3 | details |
#27 | ACCEPTED | 0.15 s | 3 | details |
#28 | ACCEPTED | 0.16 s | 3 | details |
#29 | ACCEPTED | 0.14 s | 3 | details |
#30 | ACCEPTED | 0.02 s | 3 | details |
#31 | ACCEPTED | 0.14 s | 3 | details |
#32 | ACCEPTED | 0.09 s | 3 | details |
#33 | ACCEPTED | 0.08 s | 3 | details |
#34 | ACCEPTED | 0.08 s | 3 | details |
#35 | ACCEPTED | 0.14 s | 3 | details |
#36 | ACCEPTED | 0.08 s | 3 | details |
#37 | TIME LIMIT EXCEEDED | -- | 4 | details |
#38 | TIME LIMIT EXCEEDED | -- | 4 | details |
#39 | TIME LIMIT EXCEEDED | -- | 4 | details |
#40 | TIME LIMIT EXCEEDED | -- | 4 | details |
#41 | TIME LIMIT EXCEEDED | -- | 4 | details |
#42 | TIME LIMIT EXCEEDED | -- | 4 | details |
#43 | TIME LIMIT EXCEEDED | -- | 4 | details |
#44 | TIME LIMIT EXCEEDED | -- | 4 | details |
#45 | TIME LIMIT EXCEEDED | -- | 4 | details |
#46 | TIME LIMIT EXCEEDED | -- | 4 | details |
#47 | TIME LIMIT EXCEEDED | -- | 4 | details |
#48 | TIME LIMIT EXCEEDED | -- | 4 | details |
#49 | TIME LIMIT EXCEEDED | -- | 4 | details |
#50 | TIME LIMIT EXCEEDED | -- | 4 | details |
#51 | ACCEPTED | 0.03 s | 4 | details |
#52 | TIME LIMIT EXCEEDED | -- | 4 | details |
#53 | TIME LIMIT EXCEEDED | -- | 5 | details |
#54 | TIME LIMIT EXCEEDED | -- | 5 | details |
#55 | TIME LIMIT EXCEEDED | -- | 5 | details |
#56 | TIME LIMIT EXCEEDED | -- | 5 | details |
#57 | TIME LIMIT EXCEEDED | -- | 5 | details |
#58 | TIME LIMIT EXCEEDED | -- | 5 | details |
#59 | TIME LIMIT EXCEEDED | -- | 5 | details |
#60 | ACCEPTED | 0.02 s | 5 | details |
#61 | TIME LIMIT EXCEEDED | -- | 5 | details |
#62 | TIME LIMIT EXCEEDED | -- | 5 | details |
#63 | TIME LIMIT EXCEEDED | -- | 5 | details |
#64 | TIME LIMIT EXCEEDED | -- | 5 | details |
#65 | TIME LIMIT EXCEEDED | -- | 5 | details |
#66 | TIME LIMIT EXCEEDED | -- | 5 | details |
#67 | TIME LIMIT EXCEEDED | -- | 6 | details |
#68 | TIME LIMIT EXCEEDED | -- | 6 | details |
#69 | TIME LIMIT EXCEEDED | -- | 6 | details |
#70 | TIME LIMIT EXCEEDED | -- | 6 | details |
#71 | TIME LIMIT EXCEEDED | -- | 6 | details |
#72 | ACCEPTED | 0.02 s | 6 | details |
#73 | ACCEPTED | 0.02 s | 6 | details |
#74 | TIME LIMIT EXCEEDED | -- | 6 | details |
#75 | TIME LIMIT EXCEEDED | -- | 6 | details |
#76 | TIME LIMIT EXCEEDED | -- | 6 | details |
#77 | TIME LIMIT EXCEEDED | -- | 6 | details |
Compiler report
input/code.cpp: In function 'int main()': input/code.cpp:87:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < ans.size(); ++i) { ~~^~~~~~~~~~~~
Code
#include <iostream> #include <vector> #include <algorithm> #include <set> #include <unordered_map> #include <math.h> using namespace std; const int N = 250000; const int M = 500; bool can[N][M+1]; int t[M]; int main() { int n; cin >> n; int s = 0; bool all1 = true; bool all0 = true; for(int i = 0; i < n; ++i) { int a; cin >> a; if(a%2 == 1) { all0 = false; } else { all1 = false; } t[i] = a; s+=a; } if(!(all1 || all0) || s%2 == 1) { cout << 0 << "\n"; return 0; } for(int i = 0; i < n; ++i) { can[0][i] = true; int curS = 0; for(int j = 0; j < n; ++j) { if(j == i) continue; for(int k = curS; k >= 0; --k) { if(can[k][i]) { can[k+t[j]][i] = true; } } curS += t[j]; } } int curS = 0; can[0][n] = true; for(int j = 0; j < n; ++j) { for(int k = curS; k >= 0; --k) { if(can[k][n]) { can[k + t[j]][n] = true; } } curS += t[j]; } if(!can[s/2][n]) { cout << 0 << "\n"; return 0; } vector<int> ans; for(int a = 1; a <= s; ++a) { int S = s + a; if(S%2 != t[0]%2) continue; bool w = true; for(int i = 0; i < n; ++i) { bool wo = can[(S - t[i])/2][i]; if(!wo) { w = false; break; } } if(w) ans.push_back(a); } cout << ans.size() << "\n"; for(int i = 0; i < ans.size(); ++i) { cout << ans[i] << " "; } cout << "\n"; }
Test details
Test 1
Group: 1
Verdict: ACCEPTED
input |
---|
4 1 3 1 5 |
correct output |
---|
1 3 |
user output |
---|
1 3 |
Test 2
Group: 1
Verdict: ACCEPTED
input |
---|
6 3 5 7 11 9 13 |
correct output |
---|
4 1 3 17 19 |
user output |
---|
4 1 3 17 19 |
Test 3
Group: 1
Verdict: ACCEPTED
input |
---|
3 2 2 2 |
correct output |
---|
0 |
user output |
---|
0 |
Test 4
Group: 1
Verdict: ACCEPTED
input |
---|
4 200 200 200 200 |
correct output |
---|
2 200 600 |
user output |
---|
2 200 600 |
Test 5
Group: 1
Verdict: ACCEPTED
input |
---|
12 51 45 111 103 155 59 35 11 75 ... |
correct output |
---|
122 3 5 13 15 19 21 27 29 31 33 37... |
user output |
---|
122 3 5 13 15 19 21 27 29 31 33 37... Truncated |
Test 6
Group: 1
Verdict: ACCEPTED
input |
---|
8 11 13 31 23 51 11 45 13 |
correct output |
---|
3 33 39 51 |
user output |
---|
3 33 39 51 |
Test 7
Group: 1
Verdict: ACCEPTED
input |
---|
6 77 21 35 49 91 49 |
correct output |
---|
1 133 |
user output |
---|
1 133 |
Test 8
Group: 1
Verdict: ACCEPTED
input |
---|
12 150 190 138 198 198 66 126 10 ... |
correct output |
---|
140 2 6 10 14 18 22 26 30 34 38 42... |
user output |
---|
140 2 6 10 14 18 22 26 30 34 38 42... Truncated |
Test 9
Group: 1
Verdict: ACCEPTED
input |
---|
10 32 71 89 38 82 36 16 84 69 33 |
correct output |
---|
0 |
user output |
---|
0 |
Test 10
Group: 2
Verdict: ACCEPTED
input |
---|
30 19 19 19 19 19 19 19 19 19 19 ... |
correct output |
---|
15 19 57 95 133 171 209 247 285 3... |
user output |
---|
15 19 57 95 133 171 209 247 285 3... |
Test 11
Group: 2
Verdict: ACCEPTED
input |
---|
30 3 15 11 3 3 17 9 9 1 17 5 15 1... |
correct output |
---|
118 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
118 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 12
Group: 2
Verdict: ACCEPTED
input |
---|
30 18 20 12 16 18 6 2 4 14 16 12 ... |
correct output |
---|
0 |
user output |
---|
0 |
Test 13
Group: 2
Verdict: ACCEPTED
input |
---|
26 6 20 5 7 4 11 16 7 1 15 10 9 1... |
correct output |
---|
0 |
user output |
---|
0 |
Test 14
Group: 2
Verdict: ACCEPTED
input |
---|
28 17 15 5 7 5 15 19 3 9 5 15 15 ... |
correct output |
---|
135 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
135 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 15
Group: 2
Verdict: ACCEPTED
input |
---|
28 3 3 5 3 5 1 19 3 5 9 3 1 9 9 1... |
correct output |
---|
101 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
101 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 16
Group: 2
Verdict: ACCEPTED
input |
---|
30 3 3 13 13 1 7 1 7 9 3 7 19 1 3... |
correct output |
---|
117 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
117 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 17
Group: 2
Verdict: ACCEPTED
input |
---|
18 9 5 5 19 19 13 13 3 1 19 5 3 7... |
correct output |
---|
81 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
81 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 18
Group: 2
Verdict: ACCEPTED
input |
---|
24 17 5 1 9 7 13 17 7 17 7 9 13 1... |
correct output |
---|
112 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
112 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 19
Group: 2
Verdict: ACCEPTED
input |
---|
26 17 13 9 9 19 3 5 3 7 5 9 5 7 7... |
correct output |
---|
87 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
87 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 20
Group: 2
Verdict: ACCEPTED
input |
---|
30 20 20 20 20 20 20 20 20 20 20 ... |
correct output |
---|
15 20 60 100 140 180 220 260 300 ... |
user output |
---|
15 20 60 100 140 180 220 260 300 ... |
Test 21
Group: 3
Verdict: ACCEPTED
input |
---|
64 61 65 13 49 83 3 71 87 45 39 2... |
correct output |
---|
1523 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
1523 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 22
Group: 3
Verdict: ACCEPTED
input |
---|
74 93 69 63 89 13 85 47 65 23 13 ... |
correct output |
---|
1656 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
1656 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 23
Group: 3
Verdict: ACCEPTED
input |
---|
50 11 27 27 95 49 49 27 27 41 63 ... |
correct output |
---|
1113 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
1113 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 24
Group: 3
Verdict: ACCEPTED
input |
---|
94 27 41 75 17 25 63 85 29 1 83 3... |
correct output |
---|
2252 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
2252 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 25
Group: 3
Verdict: ACCEPTED
input |
---|
94 99 99 97 97 95 95 89 97 91 95 ... |
correct output |
---|
2952 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
2952 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 26
Group: 3
Verdict: ACCEPTED
input |
---|
100 91 95 89 89 93 95 97 95 99 95 ... |
correct output |
---|
3239 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
3239 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 27
Group: 3
Verdict: ACCEPTED
input |
---|
100 90 90 90 82 90 90 98 78 78 98 ... |
correct output |
---|
1892 2 6 10 14 18 22 26 30 34 38 42... |
user output |
---|
1892 2 6 10 14 18 22 26 30 34 38 42... Truncated |
Test 28
Group: 3
Verdict: ACCEPTED
input |
---|
100 98 98 94 98 98 94 90 98 90 98 ... |
correct output |
---|
1516 2 6 10 14 18 22 26 30 34 38 42... |
user output |
---|
1516 2 6 10 14 18 22 26 30 34 38 42... Truncated |
Test 29
Group: 3
Verdict: ACCEPTED
input |
---|
100 99 97 99 99 95 99 97 99 95 97 ... |
correct output |
---|
840 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
840 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 30
Group: 3
Verdict: ACCEPTED
input |
---|
100 13 49 3 89 88 49 58 31 68 19 4... |
correct output |
---|
0 |
user output |
---|
0 |
Test 31
Group: 3
Verdict: ACCEPTED
input |
---|
100 59 55 69 93 77 87 95 89 85 55 ... |
correct output |
---|
3535 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
3535 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 32
Group: 3
Verdict: ACCEPTED
input |
---|
100 99 35 99 35 25 3 29 49 93 47 5... |
correct output |
---|
2320 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
2320 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 33
Group: 3
Verdict: ACCEPTED
input |
---|
100 100 100 100 100 100 100 100 10... |
correct output |
---|
50 100 300 500 700 900 1100 1300 ... |
user output |
---|
50 100 300 500 700 900 1100 1300 ... Truncated |
Test 34
Group: 3
Verdict: ACCEPTED
input |
---|
100 99 99 99 99 99 99 99 99 99 99 ... |
correct output |
---|
50 99 297 495 693 891 1089 1287 1... |
user output |
---|
50 99 297 495 693 891 1089 1287 1... Truncated |
Test 35
Group: 3
Verdict: ACCEPTED
input |
---|
100 97 97 95 97 97 95 97 97 95 97 ... |
correct output |
---|
196 1 3 5 7 187 189 191 193 195 19... |
user output |
---|
196 1 3 5 7 187 189 191 193 195 19... Truncated |
Test 36
Group: 3
Verdict: ACCEPTED
input |
---|
100 89 45 21 35 5 43 1 35 53 89 9 ... |
correct output |
---|
2285 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
2285 1 3 5 7 9 11 13 15 17 19 21 23... Truncated |
Test 37
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
200 135 105 103 137 51 61 117 69 1... |
correct output |
---|
9478 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 38
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
200 147 135 79 131 121 97 149 83 8... |
correct output |
---|
9770 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 39
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
248 249 249 249 249 249 249 249 24... |
correct output |
---|
124 249 747 1245 1743 2241 2739 32... |
user output |
---|
(empty) |
Test 40
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
270 137 87 235 239 165 269 15 201 ... |
correct output |
---|
16063 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 41
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
270 270 270 270 270 270 270 270 27... |
correct output |
---|
135 270 810 1350 1890 2430 2970 35... |
user output |
---|
(empty) |
Test 42
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
250 71 79 29 83 87 161 171 43 43 5... |
correct output |
---|
14889 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 43
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
244 217 211 209 207 223 241 245 20... |
correct output |
---|
25704 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 44
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
248 205 233 215 221 213 229 249 23... |
correct output |
---|
26260 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 45
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
250 215 219 213 205 211 243 239 23... |
correct output |
---|
26502 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 46
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
270 42 178 50 198 148 4 98 152 172... |
correct output |
---|
0 |
user output |
---|
(empty) |
Test 47
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
250 167 123 213 69 201 197 153 73 ... |
correct output |
---|
16136 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 48
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
250 241 249 249 245 245 249 243 24... |
correct output |
---|
18952 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 49
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
250 245 247 249 245 245 249 249 24... |
correct output |
---|
4793 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 50
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
250 137 79 63 203 137 199 103 141 ... |
correct output |
---|
16242 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 51
Group: 4
Verdict: ACCEPTED
input |
---|
250 25 114 237 180 130 177 162 118... |
correct output |
---|
0 |
user output |
---|
0 |
Test 52
Group: 4
Verdict: TIME LIMIT EXCEEDED
input |
---|
270 253 267 263 257 267 265 263 26... |
correct output |
---|
29010 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 53
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
300 169 137 45 201 181 93 49 97 27... |
correct output |
---|
22553 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 54
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
350 193 179 173 205 265 87 29 243 ... |
correct output |
---|
27543 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 55
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
350 305 309 315 317 319 317 307 31... |
correct output |
---|
48733 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 56
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
306 147 107 247 213 253 265 37 45 ... |
correct output |
---|
27574 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 57
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
350 347 349 325 333 345 335 321 33... |
correct output |
---|
52392 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 58
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
350 79 335 175 171 307 239 63 3 21... |
correct output |
---|
30384 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 59
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
350 185 283 157 199 195 123 127 18... |
correct output |
---|
37688 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 60
Group: 5
Verdict: ACCEPTED
input |
---|
350 57 19 32 305 10 45 60 82 104 1... |
correct output |
---|
0 |
user output |
---|
0 |
Test 61
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
350 279 153 293 183 309 273 319 24... |
correct output |
---|
42216 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 62
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
320 293 317 315 333 261 319 291 33... |
correct output |
---|
46225 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 63
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
320 347 337 301 335 323 331 333 34... |
correct output |
---|
48310 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 64
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
314 333 321 321 335 335 315 303 30... |
correct output |
---|
47592 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 65
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
316 140 260 60 260 180 260 260 60 ... |
correct output |
---|
1194 20 60 100 140 180 220 260 300 ... |
user output |
---|
(empty) |
Test 66
Group: 5
Verdict: TIME LIMIT EXCEEDED
input |
---|
310 145 195 285 235 265 245 75 195... |
correct output |
---|
5275 5 15 25 35 45 55 65 75 85 95 1... |
user output |
---|
(empty) |
Test 67
Group: 6
Verdict: TIME LIMIT EXCEEDED
input |
---|
400 1 1 3 3 5 5 7 7 9 9 11 11 13 1... |
correct output |
---|
39801 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 68
Group: 6
Verdict: TIME LIMIT EXCEEDED
input |
---|
500 196 402 352 58 462 284 162 108... |
correct output |
---|
0 |
user output |
---|
(empty) |
Test 69
Group: 6
Verdict: TIME LIMIT EXCEEDED
input |
---|
500 427 421 429 417 427 409 427 40... |
correct output |
---|
100095 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 70
Group: 6
Verdict: TIME LIMIT EXCEEDED
input |
---|
500 345 39 453 289 341 429 397 397... |
correct output |
---|
63809 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 71
Group: 6
Verdict: TIME LIMIT EXCEEDED
input |
---|
500 161 357 285 223 269 155 483 29... |
correct output |
---|
61840 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 72
Group: 6
Verdict: ACCEPTED
input |
---|
500 97 221 235 16 407 43 33 454 47... |
correct output |
---|
0 |
user output |
---|
0 |
Test 73
Group: 6
Verdict: ACCEPTED
input |
---|
499 499 362 138 107 439 227 296 34... |
correct output |
---|
0 |
user output |
---|
0 |
Test 74
Group: 6
Verdict: TIME LIMIT EXCEEDED
input |
---|
498 409 487 415 479 469 469 469 43... |
correct output |
---|
108504 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 75
Group: 6
Verdict: TIME LIMIT EXCEEDED
input |
---|
498 483 309 473 389 343 425 337 30... |
correct output |
---|
86205 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 76
Group: 6
Verdict: TIME LIMIT EXCEEDED
input |
---|
500 495 491 497 483 497 487 489 49... |
correct output |
---|
102728 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |
Test 77
Group: 6
Verdict: TIME LIMIT EXCEEDED
input |
---|
500 479 471 455 455 467 461 469 44... |
correct output |
---|
111377 1 3 5 7 9 11 13 15 17 19 21 23... |
user output |
---|
(empty) |