QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#460046 | #4857. Puzzle: Hearthstone | llingy | AC ✓ | 102ms | 17544kb | C++14 | 3.8kb | 2024-06-30 20:26:34 | 2024-06-30 20:26:35 |
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: 5800kb
input:
2 1 8 test 1 0 test 1 1 add test 1 0 test 1 1 add test 1 1 test 1 0 2 10 add add add test 1 1 test 1 1 add add add test 2 1 test 2 1
output:
0 1 bug 1 0 bug 0 1 1 0 0 1 0 1 0 0 2 0 bug 1 1 bug 2 0 bug bug 1 1 bug
result:
ok 18 lines
Test #2:
score: 0
Accepted
time: 0ms
memory: 3820kb
input:
1 4 7 add add test 3 0 test 4 0 add test 1 1 test 3 1
output:
0 0 0 0 0 1 2 2 2 0 1 1 1 3
result:
ok 7 lines
Test #3:
score: 0
Accepted
time: 25ms
memory: 5740kb
input:
100000 1 1 add 1 1 add 1 1 test 1 0 1 1 add 1 1 test 1 1 1 1 test 1 0 1 1 test 1 0 1 1 add 1 1 test 1 1 1 1 add 1 1 add 1 1 add 1 1 test 1 0 1 1 add 1 1 test 1 1 1 1 test 1 1 1 1 test 1 1 1 1 test 1 1 1 1 test 1 1 1 1 add 1 1 add 1 1 test 1 0 1 1 add 1 1 add 1 1 test 1 0 1 1 add 1 1 add 1 1 test 1 0...
output:
1 0 1 0 0 1 1 0 bug 0 1 0 1 1 0 bug 1 0 1 0 1 0 0 1 1 0 bug bug bug bug bug 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 0 1 1 0 1 0 0 1 1 0 1 0 1 0 bug 1 0 bug 1 0 0 1 bug bug 0 1 1 0 bug bug bug 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 bug 1 0 1 0 1 0 bug bug 0 1 1 0 0 1 bug 0 1 1 0 0 1 1 0 0 1 0 1 0 1 ...
result:
ok 100000 lines
Test #4:
score: 0
Accepted
time: 35ms
memory: 5800kb
input:
10000 32 8 add add test 8 1 test 17 1 add add add test 21 0 41 20 test 30 1 add test 1 0 test 1 1 test 7 1 test 40 0 test 16 1 add add add add test 17 0 test 12 0 add add test 20 1 test 3 1 add test 15 0 test 7 0 1 5 add add add add add 6 46 add test 2 1 test 3 1 test 1 0 add add add add add add tes...
output:
0 0 0 0 0 1 0 32 0 0 0 0 0 0 0 1 bug 0 0 0 1 bug 0 41 0 41 bug 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 1 0 2 0 0 0 1 0 2 1 0 bug bug bug bug 0 0 0 6 bug 0 6 0 0 0 0 0 0 0 0 0 0 6 0 5 1 4 2 bug 4 2 4 2 4 0 6 0 bug bug bug bug bug bug bug bug bug bug bug 5 1 4 2 4 0 bug 6 0 bug bug bug bug bug bug bug 5 1 6...
result:
ok 100000 lines
Test #5:
score: 0
Accepted
time: 62ms
memory: 5776kb
input:
1000 53 136 test 11 1 add test 35 0 test 9 1 add add add test 41 0 add add add add test 25 0 test 27 0 test 41 0 add test 4 0 add test 44 1 add add test 44 1 add add test 43 1 add test 2 0 add add add add add add test 52 1 add test 6 1 add test 28 0 test 17 0 test 12 0 test 34 1 add add add test 14 ...
output:
bug 0 0 0 1 0 53 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 2 0 3 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 2 0 3 0 4 0 0 0 0 0 0 0 1 0 2 bug 0 3 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 1 0 2 0 3 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0...
result:
ok 100000 lines
Test #6:
score: 0
Accepted
time: 77ms
memory: 5840kb
input:
100 109 357 test 79 0 test 79 1 add test 44 1 test 20 1 test 51 1 add test 92 1 test 5 1 test 30 0 add add test 102 0 test 11 0 test 13 0 test 95 1 test 41 0 test 3 1 test 8 1 add test 2 0 test 64 0 add test 54 0 test 47 0 test 98 1 test 79 1 test 92 0 test 8 0 add test 73 1 test 36 0 add test 35 0 ...
output:
0 109 bug 0 0 0 109 bug bug 0 0 0 109 bug 0 109 0 0 0 0 0 1 0 2 0 3 0 4 0 5 0 109 bug 0 0 0 1 0 2 0 0 0 1 0 2 0 3 0 109 0 109 0 109 0 0 0 109 0 109 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 2 0 3 0 0 0 1 0 2 0 3 0 0 0 0 0 0 ...
result:
ok 100000 lines
Test #7:
score: 0
Accepted
time: 89ms
memory: 8280kb
input:
10 25552 12446 add add test 22946 1 test 4399 0 test 10460 0 add test 15897 0 add test 16867 0 add test 1999 1 test 24798 0 add add add test 8221 1 test 25345 0 test 19211 1 add add test 14730 1 add test 25216 0 add add add add test 8793 0 test 18342 0 test 9516 1 add add add test 6745 1 test 2365 1...
output:
0 0 0 0 0 1 0 2 0 3 0 0 0 1 0 0 0 1 0 0 0 1 0 2 0 0 0 0 0 0 0 1 0 2 0 3 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 2 0 3 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 1 0 0 0 0 0 1 0 2 0 3 0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1 0 2 0 3 0 0 0 1 0 2 0 3 0 4 0 0 0 1 0 2 0 3 0 0 0 0 0 1 0 2 0 0 0 1 0 0 0 1 0 2 0 0 0 1 0 0 0 0 ...
result:
ok 100000 lines
Test #8:
score: 0
Accepted
time: 102ms
memory: 17544kb
input:
1 100000 100000 add add test 71404 1 test 62095 0 add add add test 29685 0 add test 99916 0 add add add add add add add add add add add test 43433 0 test 88048 1 add test 70691 0 add add test 88525 0 add test 74492 1 test 9542 1 test 88355 1 add test 41894 0 test 2337 0 test 52673 0 add test 98139 1...
output:
0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 2 0 3 0 0 0 1 0 2 0 3 0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 0 0 0 0 1 0 2 0 3 0 4 0 5 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 2 0 3 0 4 0 5 0 0 0 1 0 2 0 3 0 4 0 5 0 0 0 0 0 0 0 0 0 0 ...
result:
ok 100000 lines
Test #9:
score: 0
Accepted
time: 82ms
memory: 12392kb
input:
1 10000 100000 test 1088 1 add add add test 4148 1 test 3699 0 add test 4394 1 test 6465 1 test 6479 0 test 4746 1 add add test 6936 0 test 4300 0 test 8779 1 test 2311 0 add test 6913 0 test 5255 0 add test 3355 0 add add add test 7119 1 test 8449 0 test 3464 0 test 1716 0 add test 7997 0 test 9195...
output:
bug 0 0 0 0 0 0 0 1 0 2 0 0 0 1 0 2 0 3 0 10000 0 0 0 0 0 1 0 2 0 3 0 4 0 0 0 1 0 2 0 0 0 1 0 0 0 0 0 0 0 1 0 2 0 3 0 4 0 0 0 1 0 2 0 0 0 1 0 2 0 0 0 0 0 1 0 0 0 0 0 1 0 2 0 3 0 4 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 2 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 3 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 1 0 2 0 3 ...
result:
ok 100000 lines
Test #10:
score: 0
Accepted
time: 69ms
memory: 10300kb
input:
1 1000 100000 add test 724 0 add test 437 1 add add test 695 1 test 643 1 add add add add test 927 1 test 422 0 add test 763 1 add add add add test 196 0 test 825 0 add test 775 1 test 118 1 add test 861 0 add add test 276 1 test 899 0 add add add test 172 0 test 99 0 test 846 0 add add add test 940...
output:
0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 1 0 2 0 0 0 1 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 1 0 2 0 3 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 2 0 3 0 0 0 1 0 2 0 0 0 1 0 2 0 3 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 2 0 3 0 0 0 1 0 2 0 3 0 0 0 0 0 0 0 1 0 2 0 0 ...
result:
ok 100000 lines
Test #11:
score: 0
Accepted
time: 65ms
memory: 10600kb
input:
1 100 100000 test 57 1 test 66 0 add test 34 1 add add add test 18 0 test 35 0 test 16 1 test 84 1 add test 97 1 add test 60 1 add add test 40 0 test 86 1 add test 24 0 add add add add test 84 0 test 61 0 add test 94 0 test 80 0 test 58 1 add add test 49 1 test 45 0 test 32 1 add test 69 0 test 76 0...
output:
bug 0 100 0 0 0 100 0 0 0 0 0 0 0 1 0 2 0 3 0 4 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 2 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 1 0 2 0 3 0 0 0 0 0 1 0 2 0 3 0 0 0 1 0 2 0 0 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 1 0 2 0 0 0 1 0 2 0 0 0 0 0 0 0 1 0 2 0 3 0 0 0 1 0 2 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 2 0 0 0 1 0 2 0 3 0 0 ...
result:
ok 100000 lines
Test #12:
score: 0
Accepted
time: 48ms
memory: 10652kb
input:
1 10 100000 add add test 10 0 test 5 1 add add add add add add add add test 6 1 test 10 1 test 5 1 test 8 0 add add add add add test 1 0 test 9 0 test 5 0 test 6 1 test 5 1 test 5 1 add test 2 0 add test 8 1 add test 9 0 test 6 1 add test 10 1 add test 10 0 test 9 1 add test 7 1 test 1 1 add add add...
output:
0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 3 6 4 6 0 6 0 6 0 10 0 bug bug bug bug 9 1 8 2 bug 8 0 bug 10 0 9 1 10 0 bug 9 1 10 0 9 1 10 0 bug 9 1 10 0 9 1 8 2 8 0 10 0 bug 9 1 10 0 bug bug bug 9 1 8 2 8 0 10 0 9 1 8 2 bug 8 0 10 0 9 1 10 0 bug bug bug bug bug bug 9 1 bug 10 0 bug bug ...
result:
ok 100000 lines