QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#503756 | #3931. Keep it Cool | xiaowuc1 | AC ✓ | 0ms | 3688kb | C++17 | 1.5kb | 2024-08-04 01:00:25 | 2024-08-04 01:00:27 |
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
Test #1:
score: 100
Accepted
time: 0ms
memory: 3608kb
input:
5 3 3 4 0 1 4
output:
4 1 0
result:
ok
Test #2:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
2 7 6 4 0 1 2 2 0 1
output:
impossible
result:
ok
Test #3:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
1 1 1 50 49
output:
impossible
result:
ok
Test #4:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
1 10 2 10 9 9
output:
impossible
result:
ok
Test #5:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
1 10 2 10 10 9
output:
0 1
result:
ok
Test #6:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
26 69 69 85 15 13 15 21 12 17 14 24 18 17 19 9 15 13 25 12 19 23 9 14 21 13 12 15 15 17 11 11 16 25 23 12 18 17 18 19 13 8 25 20 17 15 18 8 18 8 15 16 13 22 13 19 8 11 11 18 13 18 12 17 17 19 16 13 14 15 23 8 16
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 26 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
result:
ok
Test #7:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
56 48 54 48 28 47 48 40 29 42 36 48 47 37 42 48 41 41 38 30 43 48 39 48 37 40 40 45 48 37 31 43 42 48 38 38 41 36 35 48 45 42 40 35 43 46 37 42 44 48 38 45 46 39 44 45 45 35
output:
20 0 0 0 19 0 0 0 0 0 0 0 0 0 0 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
result:
ok
Test #8:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
28 43 78 94 35 24 27 32 26 31 39 22 25 20 19 25 31 23 32 25 27 27 26 27 27 33 30 30 23 26 26 26 27 32 23 37 23 21 29 30 24 19 31 25 22 22 22 31 36 25 34 28 34 26 23 39 24 28 25 26 23 24 22 31 21 20 25 33 42 26 24 28 24 34 23 23 23 29 31 22 29 25
output:
0 0 0 0 0 0 0 0 0 0 28 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
result:
ok
Test #9:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
81 15 68 62 62 58 55 57 55 57 62 56 53 52 62 50 58 47 62 62 62 53 54 62 62 62 62 52 60 62 53 56 62 62 59 62 57 62 60 62 62 62 59 59 55 52 62 57 62 62 43 62 61 54 53 59 54 57 62 45 62 54 49 57 59 62 61 62 48 58 62 62
output:
0 0 0 0 0 0 0 0 0 0 0 3 0 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 19 0 0 0 0 0 0 0 0 17 0 0 13 0 0 0 0 0 14 0 0 0
result:
ok
Test #10:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
97 28 33 95 5 4 5 4 6 6 6 5 5 5 7 3 5 8 2 8 5 4 4 4 5 3 4 7 5 4 5 5 7 5 9 3 11
output:
0 0 0 0 0 0 0 0 0 0 0 4 0 0 93 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
result:
ok
Test #11:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
100 100 100 100 37 62 48 35 54 68 57 44 46 50 50 55 52 60 48 45 64 52 32 46 64 56 40 56 47 55 60 47 41 54 48 42 47 47 60 47 56 62 45 46 46 44 63 57 41 44 52 51 44 33 65 54 48 44 52 47 52 50 59 42 54 48 61 39 56 39 41 43 53 46 39 40 51 49 51 42 47 58 41 43 59 47 53 60 58 49 46 39 64 55 49 45 39 64 70...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 68 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
result:
ok
Test #12:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
100 1 100 100 46 48 53 56 42 43 50 57 47 61 55 55 56 53 47 62 36 46 50 36 48 47 45 49 38 50 48 44 40 41 63 45 54 51 52 56 57 45 47 48 55 46 54 42 58 34 45 45 49 39 52 55 54 41 61 42 43 60 45 56 40 60 51 51 42 50 49 51 48 56 56 49 60 66 46 55 67 50 48 56 43 38 56 43 61 47 59 49 38 41 66 47 47 52 56 4...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 34 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 66 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
result:
ok
Test #13:
score: 0
Accepted
time: 0ms
memory: 3612kb
input:
100 1 50 3 1 1 0 0 0 1 0 0 0 0 2 0 0 0 1 0 0 0 2 2 0 0 1 0 1 0 0 0 1 0 1 1 0 1 0 0 0 0 2 1 0 1 1 0 0 0 2 1 1 0
output:
2 2 3 3 3 2 3 3 3 3 0 3 3 3 2 3 3 3 0 0 3 3 2 3 0 3 3 3 0 3 0 0 3 0 3 3 3 3 0 0 3 0 0 3 3 3 0 0 0 3
result:
ok
Test #14:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
100 25 50 3 0 1 0 0 0 2 0 2 0 0 1 0 1 0 1 0 0 0 1 0 0 2 1 2 0 1 0 0 0 1 0 2 0 0 0 0 2 0 0 1 1 0 1 0 0 0 0 2 0 0
output:
impossible
result:
ok
Test #15:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
58 65 17 59 4 1 2 5 4 4 4 5 3 2 3 2 6 4 6 8 3
output:
0 58 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
result:
ok
Test #16:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
56 50 66 2 0 2 1 0 0 0 1 0 2 2 1 1 0 0 1 2 1 1 1 1 1 2 2 0 1 1 2 1 0 0 2 1 2 1 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 2 2 1 1 1 2 1 0 0 2 1 2 2 1 1 1 0
output:
impossible
result:
ok
Test #17:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
32 81 21 12 5 4 3 2 3 6 10 1 4 5 1 7 5 2 3 5 3 4 5 3 4
output:
0 0 0 10 0 0 0 11 0 0 11 0 0 0 0 0 0 0 0 0 0
result:
ok
Test #18:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
64 34 38 4 1 1 0 1 1 0 0 1 1 2 0 0 2 1 2 2 0 2 3 3 2 2 1 1 0 1 2 1 0 0 1 0 0 0 0 1 0 0
output:
impossible
result:
ok
Test #19:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
32 81 31 6 3 3 3 1 5 4 1 1 2 1 3 4 1 2 2 4 5 2 6 0 5 1 4 3 4 2 4 2 0 5 2
output:
0 0 0 5 0 0 5 5 0 5 0 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 6 0 0
result:
ok
Test #20:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
35 87 18 36 7 7 2 4 5 5 7 3 7 2 1 3 2 14 6 4 3 5
output:
impossible
result:
ok
Test #21:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
74 95 59 4 3 3 2 4 1 4 3 3 1 1 2 4 4 1 1 0 4 2 3 4 0 4 4 3 2 2 1 4 4 4 4 2 4 4 1 2 1 3 1 4 3 3 2 2 2 4 4 2 3 3 2 4 4 3 2 0 3 3 4
output:
1 1 2 0 3 0 1 1 3 3 2 0 0 3 3 4 0 2 1 0 4 0 0 1 2 2 3 0 0 0 0 2 0 0 3 2 3 1 3 0 1 1 2 2 2 0 0 2 0 0 2 0 0 0 2 4 0 0 0
result:
ok
Test #22:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
22 68 36 3 2 1 3 3 3 2 1 3 3 0 2 2 2 3 2 1 2 3 3 3 3 3 3 3 2 3 3 1 3 1 1 3 1 2 3 1
output:
impossible
result:
ok
Test #23:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
73 59 26 25 1 1 4 2 3 3 2 2 1 3 2 3 2 2 2 1 5 1 2 0 4 3 3 4 4 1
output:
24 24 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 25 0 0 0 0 0 0
result:
ok
Test #24:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
19 32 21 3 2 0 0 0 1 2 2 3 0 3 1 2 2 1 3 1 0 3 3 3 1
output:
impossible
result:
ok
Test #25:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
100 97 49 8 1 0 2 4 3 3 1 1 3 5 2 3 1 4 3 1 0 2 1 0 0 2 0 1 2 0 1 3 4 1 3 2 0 5 1 3 2 4 4 2 2 4 5 2 4 3 1 0 0
output:
7 8 0 0 0 0 7 7 0 0 0 0 7 0 0 0 8 0 0 8 8 0 8 0 0 8 0 0 0 0 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 8
result:
ok
Test #26:
score: 0
Accepted
time: 0ms
memory: 3644kb
input:
59 96 30 7 4 6 1 7 2 7 3 7 7 6 3 3 7 7 3 5 6 2 6 2 7 3 7 5 3 4 7 7 4 7
output:
impossible
result:
ok
Test #27:
score: 0
Accepted
time: 0ms
memory: 3556kb
input:
86 98 16 18 9 6 13 7 11 4 8 15 6 14 9 12 11 12 9 10
output:
9 12 0 11 0 14 10 0 12 0 9 0 0 0 9 0
result:
ok
Test #28:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
95 100 22 48 5 3 8 5 5 6 7 5 2 6 5 2 2 7 6 3 5 0 5 8 3 4
output:
impossible
result:
ok
Test #29:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
63 90 26 32 3 2 3 5 2 4 5 2 6 3 2 3 1 7 5 0 4 3 3 1 5 3 3 3 3 10
output:
0 0 0 0 0 0 0 0 0 0 0 0 31 0 0 32 0 0 0 0 0 0 0 0 0 0
result:
ok
Test #30:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
86 86 61 5 2 1 3 2 2 2 2 1 0 0 2 2 3 0 1 1 0 2 3 1 5 2 2 2 2 2 2 2 1 1 1 1 1 2 0 0 4 1 3 3 1 0 1 2 3 1 1 1 1 4 1 1 1 1 1 0 0 1 3 3 2
output:
impossible
result:
ok