QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#489314 | #9161. Naval battle | egypt_ioi2024_05# | 12 | 8ms | 3836kb | C++17 | 1.8kb | 2024-07-24 19:25:08 | 2024-07-24 19:25:10 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 6
Accepted
time: 0ms
memory: 3480kb
input:
2 675333810 792019962 W 851860476 960355168 W
output:
1 2
result:
ok
Test #2:
score: 6
Accepted
time: 0ms
memory: 3588kb
input:
2 714148610 688520844 W 359519570 789553998 S
output:
2 1
result:
ok
Test #3:
score: 6
Accepted
time: 0ms
memory: 3752kb
input:
2 743286406 87591094 E 108453484 326740470 S
output:
2 1
result:
ok
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 3536kb
input:
2 629499666 659260200 W 391550936 897208930 N
output:
2 1
result:
FAIL Unexpected end of file - token expected (/var/uoj_data/9161/4.ans)
Subtask #2:
score: 12
Accepted
Test #14:
score: 12
Accepted
time: 1ms
memory: 3832kb
input:
100 32 46 N 8 24 W 74 86 W 2 76 N 90 70 N 34 74 N 4 68 N 42 26 N 66 94 N 28 40 W 96 12 W 82 78 W 54 24 N 36 42 W 92 68 W 0 26 N 14 54 N 94 66 N 26 52 N 66 12 W 72 6 W 64 96 W 6 20 N 4 22 W 26 42 N 40 28 W 70 76 N 18 60 N 62 16 N 30 48 N 36 36 W 42 36 W 52 94 N 62 98 N 0 78 N 70 2 W 28 50 N 80 80 W 8...
output:
result:
ok
Test #15:
score: 12
Accepted
time: 1ms
memory: 3500kb
input:
100 70 62 N 56 42 N 42 56 W 64 4 N 50 48 W 56 76 N 78 20 W 96 96 W 60 72 N 44 24 N 2 10 N 52 80 W 38 30 N 94 4 W 58 74 W 68 30 W 54 76 N 0 68 N 36 32 N 10 58 W 70 60 W 86 92 N 100 78 W 2 66 W 20 48 N 16 52 N 8 60 N 98 94 N 86 46 W 74 24 W 26 42 W 66 66 W 28 40 W 56 12 W 90 42 W 8 4 W 76 30 W 78 54 W...
output:
result:
ok
Test #16:
score: 12
Accepted
time: 3ms
memory: 3832kb
input:
100 36 44 E 96 66 E 28 20 E 36 2 E 32 64 W 76 58 E 82 20 E 76 50 E 22 48 W 38 52 E 90 16 N 22 12 W 64 82 S 84 14 E 92 52 E 76 36 E 72 52 N 100 58 S 82 4 E 2 0 N 90 100 E 68 8 S 24 36 S 80 86 W 72 56 W 8 66 W 84 18 S 18 60 N 64 96 E 2 76 S 74 90 E 64 0 S 12 10 S 56 40 S 40 6 S 2 4 S 74 2 S 90 80 N 2 ...
output:
26 45 12 47 5 61 74 73 99 96 24 95 20 36 30 39 92 76 59 33 46 78 28 71 23 69 51 56 35 70 53 81 40 32 41 13 93 37 79 54 87 50 83 42 11 49 48 98 3 91 4 1 77 10 85 63 57 65 64 29 31 89 8 6 62 58 19 14 21 15 84 2
result:
ok
Test #17:
score: 12
Accepted
time: 6ms
memory: 3564kb
input:
100 24 52 S 72 60 E 72 64 W 98 52 N 46 30 E 18 62 W 70 6 S 14 58 S 12 24 W 2 54 E 20 58 S 70 40 S 8 90 E 92 16 S 26 42 E 72 8 N 46 48 S 18 64 N 80 78 E 46 20 S 26 76 W 56 68 N 82 2 N 78 72 N 54 6 N 98 8 S 52 64 N 64 88 W 6 90 N 58 96 S 30 4 E 54 48 N 36 10 S 4 32 S 20 40 W 70 30 W 16 16 W 84 80 N 52...
output:
100 9 37 35 55 21 46 80 49 61 57 28 59 58 87 62 29 44 90 93 95 11 1 76 81 68 47 17 65 39 25 32 22 45 30 48 88 92 40 16 63 24 23 79 38 71 51 14 96 26 13 86 15 74 66 84 2 19 64 67 72 99
result:
ok
Test #18:
score: 12
Accepted
time: 6ms
memory: 3640kb
input:
100 58 98 W 90 40 W 62 34 W 56 72 S 96 56 E 62 62 E 54 32 S 84 98 W 62 100 N 18 82 W 36 86 N 34 64 W 94 74 N 90 78 N 14 42 S 58 78 W 6 60 N 60 92 W 64 60 N 84 58 S 0 84 N 36 80 W 12 0 N 28 54 E 24 64 N 60 16 E 26 40 S 32 30 W 26 28 S 94 78 N 26 0 E 20 84 E 0 56 S 8 48 N 76 0 S 6 94 N 6 14 W 80 22 S ...
output:
72 94 37 96 93 82 28 12 22 49 86 88 1 18 3 92 47 34 76 23 15 68 73 75 77 25 29 78 11 60 62 53 58 55 89 4 9 19 50 91 74 38 65 81 20 41 14 79 13 30 63 98 66 99 32 80 59 24 69 100 56 97 5 43
result:
ok
Test #19:
score: 12
Accepted
time: 0ms
memory: 3628kb
input:
100 4 18 N 2 2 W 0 2 E 4 2 E 8 14 N 6 14 N 6 2 W 2 14 W 0 24 E 0 22 E 0 18 N 0 20 E 4 32 W 8 6 E 2 12 N 8 20 S 2 22 N 4 38 S 8 18 N 4 24 W 8 12 W 2 32 N 8 4 N 4 14 N 2 28 W 8 22 S 0 32 W 8 28 N 8 0 E 8 24 W 8 30 W 0 12 W 4 10 E 0 28 S 2 10 E 8 8 S 6 36 S 2 24 W 0 6 N 4 22 W 2 8 N 2 16 S 4 34 N 6 28 ...
output:
32 27 81 25 20 53 31 78 66 39 11 80 88 63 22 90 45 92 18 75 37 57 23 36 94 59 85 71 33 84 62 44 61 29 14
result:
ok
Test #20:
score: 12
Accepted
time: 4ms
memory: 3836kb
input:
100 2 38 E 6 6 N 8 22 N 4 32 E 0 20 N 2 14 E 6 30 N 6 20 W 4 20 S 2 22 W 8 30 S 2 8 N 0 24 S 8 38 S 0 32 W 4 0 E 6 14 W 0 16 W 8 8 E 8 10 W 0 38 S 0 10 N 2 26 W 8 6 E 0 8 E 8 32 N 4 10 S 6 28 E 0 36 S 4 30 S 0 14 N 2 0 W 0 6 W 6 18 W 4 28 S 6 2 E 6 38 W 4 8 S 6 12 N 0 4 E 4 36 E 4 24 E 6 26 W 8 12 E...
output:
33 18 100 52 15 83 10 17 34 8 98 22 31 29 21 76 65 53 88 9 35 57 82 58 77 3 96 89 14 40 25 87 60 1 16 41 36 28 49 24 19 44 71 70
result:
ok
Test #21:
score: 12
Accepted
time: 3ms
memory: 3764kb
input:
100 4 12 S 8 8 N 4 14 N 2 18 N 8 12 E 0 16 W 2 4 W 4 28 S 4 36 N 4 18 N 4 16 N 0 0 S 8 26 N 2 36 N 2 30 E 8 10 N 4 32 E 2 32 N 4 38 W 0 8 E 4 30 E 6 4 E 8 36 W 8 28 S 6 32 N 0 18 S 4 22 S 4 2 W 2 12 S 8 16 S 8 14 W 0 26 W 0 34 E 0 24 W 0 32 S 8 34 S 6 26 E 0 38 N 4 0 W 6 28 N 4 8 S 0 14 N 2 0 E 6 34...
output:
91 94 6 34 32 60 63 19 72 56 42 26 99 83 29 11 10 64 79 90 71 16 98 13 20 33 76 84 22 51 37 93 50 55 5 78
result:
ok
Test #22:
score: 12
Accepted
time: 3ms
memory: 3612kb
input:
100 8 20 W 4 38 E 2 12 N 0 10 S 8 12 S 2 10 N 2 24 E 0 28 N 2 38 N 4 28 E 2 20 N 0 18 S 2 36 N 6 38 W 4 32 E 8 28 W 0 6 S 8 22 E 6 4 W 4 16 N 0 0 S 4 26 W 6 10 N 2 2 E 0 34 E 6 32 N 4 24 E 8 8 N 8 32 E 8 16 N 4 4 S 8 4 S 8 2 E 4 36 S 0 32 W 4 10 S 2 34 W 6 6 S 6 14 S 4 14 S 2 14 W 4 34 E 0 30 S 2 26...
output:
60 35 78 57 47 41 84 1 63 21 52 85 12 92 3 9 50 31 100 34 45 72 86 28 68 7 94 76 87 80 33 75 18 95 29 65
result:
ok
Test #23:
score: 12
Accepted
time: 4ms
memory: 3768kb
input:
100 2 30 W 2 18 W 0 38 S 6 26 N 8 22 S 2 32 E 4 2 E 6 6 N 2 6 N 2 26 N 2 22 E 8 28 N 0 4 S 0 16 W 6 38 S 6 4 S 4 8 S 2 0 E 0 32 N 6 34 N 2 28 S 4 30 S 0 2 S 4 0 S 4 36 N 0 34 W 8 18 S 4 26 W 4 6 N 6 22 W 6 12 E 8 38 S 4 18 W 8 16 W 4 34 E 8 6 N 8 14 W 2 14 S 0 18 E 4 14 N 6 24 S 6 36 S 8 8 E 6 0 N 8...
output:
94 87 57 14 84 53 26 63 92 33 28 96 30 69 37 23 65 3 9 98 21 95 44 42 15 85 97 32 18 90 35 75 81 73 58 43 47 88 83
result:
ok
Subtask #3:
score: 0
Wrong Answer
Dependency #2:
100%
Accepted
Test #24:
score: 0
Wrong Answer
time: 8ms
memory: 3544kb
input:
100 55730 78040 N 63588 61556 N 44452 89318 W 70518 63252 W 63870 69900 N 20558 13736 W 30676 3618 N 46556 87214 N 52984 80786 N 51668 82102 W 31696 2598 W 93292 40478 N 79566 54204 N 46984 86786 W 90284 34962 N 37124 96646 W 38832 94938 W 85994 47776 W 71794 61976 N 89082 44688 N 60614 73156 N 7647...
output:
61 56 93 78 72 6 79 47 48 7 11 38 50 53 75 74 16 89 66 87 45 77 24 71 25 85 88 83 46 32 10 39 49 68 57 76 67 21 62 65 2 86 27 70 97 36 43 4 26 19 41 69 92 34 95 13 23 31 90 18 54 99 20 96 15 12 94 40 84 64 82 37 29 80
result:
FAIL Unexpected end of file - token expected (/var/uoj_data/9161/24.ans)
Subtask #4:
score: 0
Skipped
Dependency #1:
0%
Subtask #5:
score: 0
Skipped
Dependency #4:
0%
Subtask #6:
score: 0
Runtime Error
Test #58:
score: 0
Runtime Error
input:
200000 526715640 430855204 E 731546662 226024182 S 254814720 702756124 E 227354364 730216480 S 764250602 193320242 S 150102088 807468756 E 204858572 752712272 S 635512190 322058654 E 403910248 553660596 S 257917918 4587926 S 949444340 8126504 S 907805098 49765746 S 553836306 403734538 S 40977864 617...
output:
result:
Subtask #7:
score: 0
Skipped
Dependency #1:
0%