QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#852043 | #8749. 贸易 | ZhaoZiLong | TL | 1ms | 4052kb | C++14 | 648b | 2025-01-11 09:49:50 | 2025-01-11 09:49:56 |
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: 1ms
memory: 4052kb
input:
10 5 1 1 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 4 6 2 4 2 6 7 10 4 7
output:
0 0 0 1 0
result:
ok 5 lines
Test #2:
score: -100
Time Limit Exceeded
input:
20 500000 1 0 0 1 0 0 0 0 1 0 1 0 1 0 1 0 1 0 0 0 1 2 1 2 2 1 1 2 1 1 1 2 2 1 2 2 2 1 1 2 13 20 8 9 1 7 5 13 3 10 3 19 14 15 1 5 9 17 7 10 6 6 8 20 1 17 13 20 4 6 16 20 7 14 2 16 3 17 11 12 1 1 15 20 11 15 2 12 2 15 8 16 9 12 9 13 10 19 12 19 9 13 4 8 2 2 19 19 9 17 4 20 4 14 4 8 6 13 13 17 15 16 13...
output:
1 0 1 3 1 4 0 1 3 1 0 3 5 1 0 1 3 4 4 0 0 1 1 3 4 2 1 2 3 2 2 0 0 0 3 4 3 0 3 1 0 1 1 3 2 2 2 1 0 0 2 3 1 0 3 1 0 1 3 0 1 0 4 3 1 0 1 1 1 1 0 4 3 4 4 4 2 2 2 2 2 0 4 2 0 1 5 4 1 2 2 4 3 1 1 1 1 3 1 2 4 1 2 1 0 0 4 0 1 4 3 4 0 4 2 3 0 2 3 1 1 1 1 4 0 2 3 0 5 1 1 4 0 1 3 2 0 5 3 1 0 1 2 0 2 1 0 0 0 0 ...