Task: | Yet another game |
Sender: | aalto2024c_008 |
Submission time: | 2024-09-18 16:53:09 +0300 |
Language: | C++ (C++20) |
Status: | READY |
Result: | RUNTIME ERROR |
test | verdict | time | |
---|---|---|---|
#1 | RUNTIME ERROR | 0.00 s | details |
#2 | RUNTIME ERROR | 0.00 s | details |
#3 | RUNTIME ERROR | 0.00 s | details |
#4 | RUNTIME ERROR | 0.00 s | details |
#5 | RUNTIME ERROR | 0.00 s | details |
#6 | RUNTIME ERROR | 0.00 s | details |
#7 | RUNTIME ERROR | 0.00 s | details |
#8 | RUNTIME ERROR | 0.00 s | details |
#9 | RUNTIME ERROR | 0.00 s | details |
#10 | RUNTIME ERROR | 0.00 s | details |
#11 | RUNTIME ERROR | 0.00 s | details |
#12 | RUNTIME ERROR | 0.00 s | details |
#13 | RUNTIME ERROR | 0.00 s | details |
#14 | RUNTIME ERROR | 0.00 s | details |
#15 | RUNTIME ERROR | 0.00 s | details |
#16 | RUNTIME ERROR | 0.00 s | details |
#17 | RUNTIME ERROR | 0.00 s | details |
#18 | RUNTIME ERROR | 0.00 s | details |
#19 | RUNTIME ERROR | 0.00 s | details |
#20 | RUNTIME ERROR | 0.00 s | details |
#21 | RUNTIME ERROR | 0.00 s | details |
#22 | RUNTIME ERROR | 0.00 s | details |
#23 | RUNTIME ERROR | 0.00 s | details |
#24 | RUNTIME ERROR | 0.00 s | details |
#25 | RUNTIME ERROR | 0.00 s | details |
#26 | RUNTIME ERROR | 0.00 s | details |
#27 | RUNTIME ERROR | 0.00 s | details |
#28 | RUNTIME ERROR | 0.00 s | details |
#29 | RUNTIME ERROR | 0.00 s | details |
#30 | RUNTIME ERROR | 0.00 s | details |
#31 | RUNTIME ERROR | 0.00 s | details |
#32 | RUNTIME ERROR | 0.00 s | details |
#33 | RUNTIME ERROR | 0.00 s | details |
#34 | RUNTIME ERROR | 0.00 s | details |
#35 | RUNTIME ERROR | 0.00 s | details |
#36 | RUNTIME ERROR | 0.00 s | details |
#37 | RUNTIME ERROR | 0.00 s | details |
#38 | RUNTIME ERROR | 0.00 s | details |
#39 | RUNTIME ERROR | 0.00 s | details |
#40 | RUNTIME ERROR | 0.00 s | details |
#41 | RUNTIME ERROR | 0.00 s | details |
#42 | RUNTIME ERROR | 0.00 s | details |
#43 | RUNTIME ERROR | 0.00 s | details |
#44 | RUNTIME ERROR | 0.00 s | details |
#45 | RUNTIME ERROR | 0.00 s | details |
#46 | RUNTIME ERROR | 0.00 s | details |
#47 | RUNTIME ERROR | 0.00 s | details |
#48 | RUNTIME ERROR | 0.00 s | details |
#49 | RUNTIME ERROR | 0.00 s | details |
#50 | RUNTIME ERROR | 0.00 s | details |
#51 | RUNTIME ERROR | 0.00 s | details |
#52 | RUNTIME ERROR | 0.00 s | details |
#53 | RUNTIME ERROR | 0.00 s | details |
#54 | RUNTIME ERROR | 0.00 s | details |
#55 | RUNTIME ERROR | 0.00 s | details |
#56 | RUNTIME ERROR | 0.00 s | details |
#57 | RUNTIME ERROR | 0.00 s | details |
#58 | RUNTIME ERROR | 0.00 s | details |
#59 | RUNTIME ERROR | 0.00 s | details |
#60 | RUNTIME ERROR | 0.00 s | details |
#61 | RUNTIME ERROR | 0.00 s | details |
#62 | RUNTIME ERROR | 0.00 s | details |
Code
#include <iostream> int main(int argc, char *argv[]) { int n = atoi(argv[1]); int a[n]; for (int i = 0; i < n; i++) { a[i] = atoi(argv[i+2]); } int sum = 0; for (int i = 0; i < n; i++) { sum += a[i] - i; } bool maija_wins = (sum % 2 == 0) ? false : true; if (maija_wins) std::cout << "Maija" << std::endl; else std::cout << "Uolevi" << std::endl; return 0; }
Test details
Test 1
Verdict: RUNTIME ERROR
input |
---|
1 7 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 2
Verdict: RUNTIME ERROR
input |
---|
1 9 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 3
Verdict: RUNTIME ERROR
input |
---|
2 3 8 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 4
Verdict: RUNTIME ERROR
input |
---|
2 0 4 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 5
Verdict: RUNTIME ERROR
input |
---|
3 0 7 8 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 6
Verdict: RUNTIME ERROR
input |
---|
3 2 8 9 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 7
Verdict: RUNTIME ERROR
input |
---|
3 5 8 9 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 8
Verdict: RUNTIME ERROR
input |
---|
4 0 3 6 10 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 9
Verdict: RUNTIME ERROR
input |
---|
4 4 6 7 9 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 10
Verdict: RUNTIME ERROR
input |
---|
4 2 6 7 9 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 11
Verdict: RUNTIME ERROR
input |
---|
4 2 6 7 9 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 12
Verdict: RUNTIME ERROR
input |
---|
4 0 3 5 8 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 13
Verdict: RUNTIME ERROR
input |
---|
5 4 5 6 7 9 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 14
Verdict: RUNTIME ERROR
input |
---|
5 0 1 4 7 10 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 15
Verdict: RUNTIME ERROR
input |
---|
5 0 2 4 6 10 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 16
Verdict: RUNTIME ERROR
input |
---|
5 0 3 6 7 9 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 17
Verdict: RUNTIME ERROR
input |
---|
5 1 6 7 9 10 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 18
Verdict: RUNTIME ERROR
input |
---|
5 0 2 4 9 10 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 19
Verdict: RUNTIME ERROR
input |
---|
5 0 2 3 9 10 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 20
Verdict: RUNTIME ERROR
input |
---|
5 0 2 3 4 8 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 21
Verdict: RUNTIME ERROR
input |
---|
5 0 2 4 9 10 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 22
Verdict: RUNTIME ERROR
input |
---|
5 0 1 3 4 5 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 23
Verdict: RUNTIME ERROR
input |
---|
10 1 6 8 9 11 12 13 15 17 18 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 24
Verdict: RUNTIME ERROR
input |
---|
10 0 1 2 3 4 6 8 15 19 20 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 25
Verdict: RUNTIME ERROR
input |
---|
10 0 3 4 6 8 9 10 11 14 19 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 26
Verdict: RUNTIME ERROR
input |
---|
10 0 1 2 6 9 10 11 14 17 18 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 27
Verdict: RUNTIME ERROR
input |
---|
10 2 3 4 11 12 14 15 17 18 20 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 28
Verdict: RUNTIME ERROR
input |
---|
10 1 4 7 8 10 12 17 18 19 20 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 29
Verdict: RUNTIME ERROR
input |
---|
10 0 1 2 4 6 7 17 18 19 20 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 30
Verdict: RUNTIME ERROR
input |
---|
10 1 4 5 6 9 10 11 15 16 20 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 31
Verdict: RUNTIME ERROR
input |
---|
10 0 4 5 7 8 11 12 17 18 20 |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 32
Verdict: RUNTIME ERROR
input |
---|
10 0 1 2 4 5 6 7 8 10 18 |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 33
Verdict: RUNTIME ERROR
input |
---|
100 20175392 21709340 41258986 608... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 34
Verdict: RUNTIME ERROR
input |
---|
100 122815 19636891 20795113 29407... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 35
Verdict: RUNTIME ERROR
input |
---|
100 27838075 70100849 85518673 881... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 36
Verdict: RUNTIME ERROR
input |
---|
100 20130522 22134653 24822300 257... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 37
Verdict: RUNTIME ERROR
input |
---|
100 5539595 6689687 9648745 204276... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 38
Verdict: RUNTIME ERROR
input |
---|
100 1763266 2377495 6157974 156559... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 39
Verdict: RUNTIME ERROR
input |
---|
100 44771411 58491553 63972354 689... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 40
Verdict: RUNTIME ERROR
input |
---|
100 17083618 26735341 70798610 773... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 41
Verdict: RUNTIME ERROR
input |
---|
100 11934037 12239372 22850647 308... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 42
Verdict: RUNTIME ERROR
input |
---|
100 8099342 11139167 14304400 4141... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 43
Verdict: RUNTIME ERROR
input |
---|
200 5041735 10046682 14572439 2017... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 44
Verdict: RUNTIME ERROR
input |
---|
200 122815 3081987 9672261 1252970... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 45
Verdict: RUNTIME ERROR
input |
---|
200 5953276 13977260 27435118 2783... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 46
Verdict: RUNTIME ERROR
input |
---|
200 20130522 22134653 22790965 248... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 47
Verdict: RUNTIME ERROR
input |
---|
200 3142408 5539595 6689687 964874... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 48
Verdict: RUNTIME ERROR
input |
---|
200 1763266 2377495 6157974 132815... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 49
Verdict: RUNTIME ERROR
input |
---|
200 915343 26318970 39308104 44426... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 50
Verdict: RUNTIME ERROR
input |
---|
200 1532100 17083618 26735341 4256... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 51
Verdict: RUNTIME ERROR
input |
---|
200 8921055 9526546 11934037 12239... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 52
Verdict: RUNTIME ERROR
input |
---|
200 4900392 7823022 8099342 874567... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 53
Verdict: RUNTIME ERROR
input |
---|
1000 59432 2902554 4346620 5041735 ... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 54
Verdict: RUNTIME ERROR
input |
---|
1000 122815 431669 1088001 3081987 ... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 55
Verdict: RUNTIME ERROR
input |
---|
1000 132697 1654352 2021488 2665480... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 56
Verdict: RUNTIME ERROR
input |
---|
10000 15821 289539 424626 514124 549... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 57
Verdict: RUNTIME ERROR
input |
---|
10000 2993 411720 417065 471376 8375... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 58
Verdict: RUNTIME ERROR
input |
---|
10000 68014 305895 411135 428373 484... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 59
Verdict: RUNTIME ERROR
input |
---|
100000 7176 18493 20082 35162 36875 4... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 60
Verdict: RUNTIME ERROR
input |
---|
100000 3073 7000 8135 23450 35708 424... |
correct output |
---|
Maija |
user output |
---|
(empty) |
Test 61
Verdict: RUNTIME ERROR
input |
---|
100000 1190 7700 13172 20678 24336 30... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |
Test 62
Verdict: RUNTIME ERROR
input |
---|
100000 6595 11761 30311 52174 56810 6... |
correct output |
---|
Uolevi |
user output |
---|
(empty) |