QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#97736 | #6331. Jewel Game | smax | TL | 5ms | 4896kb | C++23 | 6.7kb | 2023-04-18 02:48:11 | 2023-04-18 02:48:13 |
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: 2ms
memory: 3484kb
input:
5 16 1 1 1 2 1 3 1 4 1 5 2 3 2 4 2 5 3 2 3 4 3 5 4 2 4 3 4 5 5 2 5 3 5 4 4 2 4 3 84 4 38 5 96
output:
46
result:
ok 1 number(s): "46"
Test #2:
score: 0
Accepted
time: 3ms
memory: 3740kb
input:
8 16 8 4 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 1 1 5 2 6 3 7 4 8 5 1 6 2 7 3 8 4 6 1 29 2 34 3 41 5 7 6 26 7 94
output:
-23
result:
ok 1 number(s): "-23"
Test #3:
score: 0
Accepted
time: 2ms
memory: 3388kb
input:
5 5 2 1 1 1 2 3 3 4 4 5 5 2 2 4 1000000 5 100000
output:
1100000
result:
ok 1 number(s): "1100000"
Test #4:
score: 0
Accepted
time: 5ms
memory: 4896kb
input:
10 20 1 2 1 4 1 7 2 2 2 4 3 6 3 3 4 8 4 7 5 7 5 1 6 9 6 2 7 9 7 3 8 8 8 6 9 7 9 8 10 10 10 2 8 3 92067840 4 2874502 5 36253165 6 70758738 7 4768969 8 16029185 9 16207515 10 44912151
output:
132484345
result:
ok 1 number(s): "132484345"
Test #5:
score: -100
Time Limit Exceeded
input:
30 900 1 2 2 25 8 21 22 16 26 29 12 24 1 8 7 14 22 27 27 20 5 24 21 21 21 10 30 28 5 16 12 3 16 1 21 2 24 23 24 14 9 7 9 18 20 22 6 1 30 3 11 6 2 17 18 13 28 20 5 15 26 16 9 14 30 23 4 23 4 2 9 5 21 29 1 30 12 14 16 27 28 22 15 7 23 10 13 16 1 15 22 9 13 12 30 18 10 5 25 28 3 17 30 30 7 17 11 24 12 ...