QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#865147 | #8444. Die Hard | ucup-team1005# | AC ✓ | 1ms | 3584kb | C++14 | 900b | 2025-01-21 15:28:00 | 2025-01-21 15:28:00 |
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: 3584kb
input:
1 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6
output:
1
result:
ok single line: '1'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3
output:
3
result:
ok single line: '3'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 2 4 4 9 9 1 1 6 6 8 8 7 7 5 5 3 3
output:
No dice
result:
ok single line: 'No dice'
Test #4:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2
output:
No dice
result:
ok single line: 'No dice'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 5 1 5 1 2 2 5 4 2 4 4 1 5 3 2 5 4
output:
2
result:
ok single line: '2'
Test #6:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
3 3 4 5 3 3 3 3 4 5 5 4 3 4 1 5 5 5
output:
3
result:
ok single line: '3'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
4 1 1 5 2 4 1 4 4 5 2 4 3 4 2 1 3 4
output:
2
result:
ok single line: '2'
Test #8:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
3 5 4 3 1 3 3 2 2 1 5 5 5 1 4 3 2 3
output:
1
result:
ok single line: '1'
Test #9:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
3 5 4 3 3 4 2 4 4 2 1 1 5 4 5 2 1 5
output:
3
result:
ok single line: '3'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 2 2 6 5 4 2 6 1 1 2 6 4 4 2 4 3 5
output:
3
result:
ok single line: '3'
Test #11:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
2 4 2 1 5 4 3 1 3 1 5 1 4 2 6 1 2 2
output:
1
result:
ok single line: '1'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 4 3 3 1 4 6 2 2 5 6 4 5 1 6 1 1 3
output:
2
result:
ok single line: '2'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
6 1 5 5 1 1 2 1 2 1 2 2 5 6 6 2 4 2
output:
3
result:
ok single line: '3'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
6 3 2 4 5 6 3 5 1 6 4 6 2 4 1 6 6 1
output:
1
result:
ok single line: '1'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
6 7 5 1 3 6 6 4 4 1 10 1 10 5 1 2 5 6
output:
1
result:
ok single line: '1'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 1 7 10 9 9 7 5 8 9 6 9 1 4 5 4 1 1
output:
1
result:
ok single line: '1'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
9 5 4 4 5 10 4 2 2 4 6 5 5 3 2 4 6 7
output:
1
result:
ok single line: '1'
Test #18:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
10 5 1 6 6 1 1 4 8 3 1 2 3 2 6 10 7 9
output:
3
result:
ok single line: '3'
Test #19:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
9 8 10 2 6 10 1 8 4 3 4 7 3 5 5 7 5 2
output:
1
result:
ok single line: '1'
Test #20:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
99 14 95 60 30 81 41 90 71 43 8 29 31 62 26 18 73 72
output:
1
result:
ok single line: '1'
Test #21:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
97 10 59 3 58 87 23 90 92 70 43 41 8 61 18 17 53 19
output:
2
result:
ok single line: '2'
Test #22:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
51 66 19 77 84 48 84 74 50 74 64 44 37 28 93 10 48 41
output:
2
result:
ok single line: '2'
Test #23:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
37 3 68 91 22 43 87 76 76 77 59 82 76 67 34 63 47 1
output:
2
result:
ok single line: '2'
Test #24:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
15 4 96 56 29 93 13 45 12 76 10 31 7 78 39 4 3 71
output:
1
result:
ok single line: '1'
Test #25:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
307 515 475 107 769 971 942 784 609 992 470 824 41 393 80 349 879 117
output:
2
result:
ok single line: '2'
Test #26:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
550 198 640 727 285 191 664 927 331 848 626 34 991 343 989 885 260 818
output:
3
result:
ok single line: '3'
Test #27:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
617 357 628 209 956 12 918 470 981 521 317 343 193 495 636 111 670 880
output:
2
result:
ok single line: '2'
Test #28:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
834 70 7 236 65 258 674 50 395 163 589 108 75 868 240 147 388 510
output:
3
result:
ok single line: '3'
Test #29:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
433 996 936 88 270 330 46 957 326 123 492 266 375 64 635 863 831 23
output:
1
result:
ok single line: '1'
Test #30:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
No dice
result:
ok single line: 'No dice'
Test #31:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 2 5 6 7 9 1 3 4 5 8 9 2 3 4 6 7 8
output:
No dice
result:
ok single line: 'No dice'
Test #32:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 1 3 5 5 6 2 3 3 4 4 5 1 2 2 4 6 6
output:
No dice
result:
ok single line: 'No dice'
Test #33:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
9 4 3 1 5 8 6 2 5 9 7 1 6 8 2 7 3 4
output:
No dice
result:
ok single line: 'No dice'
Test #34:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 5 3 5 1 6 2 6 6 4 2 1 3 4 5 3 2 4
output:
No dice
result:
ok single line: 'No dice'
Test #35:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
5 2 1 9 6 7 1 3 9 5 8 4 2 8 3 7 6 4
output:
No dice
result:
ok single line: 'No dice'
Test #36:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
4 6 6 1 2 2 2 5 4 3 3 4 3 1 6 5 1 5
output:
No dice
result:
ok single line: 'No dice'
Test #37:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
5 8 1 9 4 3 9 7 1 2 6 5 8 4 2 6 3 7
output:
No dice
result:
ok single line: 'No dice'
Test #38:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
6 5 1 3 1 5 3 5 4 4 3 2 1 2 6 2 4 6
output:
No dice
result:
ok single line: 'No dice'
Test #39:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 4 7 8 6 3 8 9 5 1 4 3 7 1 2 9 6 5
output:
No dice
result:
ok single line: 'No dice'
Test #40:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
1 2 6 6 4 2 4 3 5 2 3 4 3 5 5 1 6 1
output:
No dice
result:
ok single line: 'No dice'
Test #41:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
4 3 2 6 8 7 4 8 1 9 5 3 1 2 9 7 5 6
output:
No dice
result:
ok single line: 'No dice'
Test #42:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 6 1 1 5 5 1 2 6 4 6 2 5 2 3 3 4 4
output:
No dice
result:
ok single line: 'No dice'
Test #43:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
4 4 1 2 1 1 2 1 2 2 2 2 3 3 3 1 1 1
output:
No dice
result:
ok single line: 'No dice'
Test #44:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 1 4 3 1 1 4 1 1 1 4 2 1 2 4 1 2 2
output:
No dice
result:
ok single line: 'No dice'
Test #45:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 1 2 4 4 1 2 2 2 2 1 2 1 3 3 1 1 4
output:
No dice
result:
ok single line: 'No dice'
Test #46:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
1 1 4 1 3 3 3 2 2 1 2 2 1 4 2 1 1 4
output:
No dice
result:
ok single line: 'No dice'
Test #47:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 4 1 4 1 3 3 3 1 3 1 2 2 4 1 2 2 2
output:
No dice
result:
ok single line: 'No dice'
Test #48:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
3 3 2 3 1 1 1 1 3 1 4 4 2 3 2 2 2 2
output:
No dice
result:
ok single line: 'No dice'
Test #49:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
4 3 1 1 1 4 2 4 1 2 2 2 1 3 3 3 3 1
output:
No dice
result:
ok single line: 'No dice'
Test #50:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 4 3 1 2 2 4 3 1 1 1 4 3 3 3 1 3 1
output:
No dice
result:
ok single line: 'No dice'
Test #51:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 2 3 2 2 2 1 3 4 1 4 1 3 1 3 3 1 3
output:
No dice
result:
ok single line: 'No dice'
Test #52:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 3 3 1 1 3 4 4 1 1 3 1 2 2 2 4 2 2
output:
No dice
result:
ok single line: 'No dice'
Test #53:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
3 2 3 2 2 2 3 3 3 3 1 1 1 4 1 3 4 1
output:
No dice
result:
ok single line: 'No dice'
Test #54:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 2 3 2 2 3 4 1 2 2 2 2 1 4 4 1 1 3
output:
No dice
result:
ok single line: 'No dice'
Test #55:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 1 4 3 4 1 1 2 3 2 2 3 2 2 2 2 3 2
output:
No dice
result:
ok single line: 'No dice'
Test #56:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 4 1 4 4 1 3 1 1 3 3 3 2 2 2 2 2 4
output:
No dice
result:
ok single line: 'No dice'
Test #57:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
4 2 2 2 2 2 3 1 3 1 4 3 4 1 1 4 4 1
output:
No dice
result:
ok single line: 'No dice'
Test #58:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 3 3 1 1 4 2 4 3 2 2 2 1 1 4 1 4 4
output:
No dice
result:
ok single line: 'No dice'
Test #59:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
4 2 1 2 4 2 4 1 1 4 1 4 3 3 3 2 3 1
output:
No dice
result:
ok single line: 'No dice'
Test #60:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 4 2 4 1 2 3 1 3 3 3 3 1 1 1 4 4 4
output:
No dice
result:
ok single line: 'No dice'
Test #61:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
4 4 1 1 4 1 2 3 3 1 2 3 2 2 2 2 4 2
output:
No dice
result:
ok single line: 'No dice'
Test #62:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 2 4 2 2 2 4 1 4 1 4 1 3 3 3 1 2 3
output:
No dice
result:
ok single line: 'No dice'
Test #63:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 3 2 3 3 3 4 1 1 4 4 1 4 2 3 2 2 2
output:
No dice
result:
ok single line: 'No dice'
Test #64:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 2 2 2 4 2 1 1 4 4 1 4 3 3 3 1 3 3
output:
No dice
result:
ok single line: 'No dice'
Test #65:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 2 2 2 4 3 3 3 1 3 3 3 4 1 4 4 1 1
output:
No dice
result:
ok single line: 'No dice'
Test #66:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 4 2 2 4 2 1 4 1 4 4 1 3 3 3 3 1 3
output:
No dice
result:
ok single line: 'No dice'
Test #67:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 1 3 3 3 3 2 2 4 3 3 2 1 1 1 4 4 4
output:
No dice
result:
ok single line: 'No dice'
Test #68:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 2 1 4 1 4 2 2 2 2 2 3 1 3 3 1 3 2
output:
No dice
result:
ok single line: 'No dice'
Test #69:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 2 3 4 4 1 3 4 3 3 1 1 2 2 4 3 2 2
output:
No dice
result:
ok single line: 'No dice'
Test #70:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 3 2 1 4 4 3 2 3 1 3 3 1 4 4 2 2 2
output:
No dice
result:
ok single line: 'No dice'
Test #71:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 3 3 2 3 1 4 4 1 3 1 2 2 2 2 3 4 2
output:
No dice
result:
ok single line: 'No dice'
Test #72:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
4 3 1 3 3 2 2 1 4 1 4 4 2 2 4 2 2 4
output:
No dice
result:
ok single line: 'No dice'
Test #73:
score: 0
Accepted
time: 1ms
memory: 3584kb
input:
2 1 4 1 4 4 3 3 3 3 1 3 2 2 4 2 2 4
output:
No dice
result:
ok single line: 'No dice'
Test #74:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
4 2 2 4 2 2 3 3 4 1 3 3 4 1 4 2 4 1
output:
No dice
result:
ok single line: 'No dice'
Test #75:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 4 3 3 3 1 1 4 4 1 2 4 2 4 4 2 2 3
output:
No dice
result:
ok single line: 'No dice'
Test #76:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 3 3 3 3 4 4 3 3 3 2 2 1 2 4 4 4 1
output:
No dice
result:
ok single line: 'No dice'
Test #77:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 3 2 3 2 3 4 1 4 2 4 1 4 2 2 4 2 2
output:
No dice
result:
ok single line: 'No dice'
Test #78:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 4 2 2 4 2 4 4 4 1 1 2 3 3 3 3 2 3
output:
No dice
result:
ok single line: 'No dice'
Test #79:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 3 2 4 2 4 4 1 4 2 4 1 3 3 3 3 2 3
output:
No dice
result:
ok single line: 'No dice'
Test #80:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 4 1 4 4 2 3 3 3 3 3 2 3 2 3 3 4 2
output:
No dice
result:
ok single line: 'No dice'
Test #81:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
2 2 4 3 4 2 3 3 3 2 3 3 4 3 3 1 1 4
output:
No dice
result:
ok single line: 'No dice'
Test #82:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1 3 4 4 1 4 4 4 2 4 2 1 3 3 3 1 4 4
output:
No dice
result:
ok single line: 'No dice'
Test #83:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 3 2 3 3 4 2 4 4 1 4 2 4 4 4 1 1 3
output:
No dice
result:
ok single line: 'No dice'
Test #84:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 3 3 3 4 3 1 4 4 1 4 3 2 2 4 4 1 4
output:
No dice
result:
ok single line: 'No dice'
Test #85:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
3 3 4 3 3 3 4 4 4 2 2 2 4 4 3 1 4 1
output:
No dice
result:
ok single line: 'No dice'