QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#727266#517. Sequential Yahtzeeucup-team5275#WA 146ms3852kbC++203.1kb2024-11-09 12:19:442024-11-09 12:19:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 41ms
memory: 3824kb

input:

65
1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1

output:

70

result:

ok single line: '70'

Test #2:

score: 0
Accepted
time: 53ms
memory: 3852kb

input:

76
3 1 1 1 1 1 4 2 5 2 6 1 3 5 2 2 2
3 3 3 3 3 4 4 4 4 4 5 5 5 5 5 6 6 6 6 6
6 6 6 6 6 6 6 6 6 6 1 1 1 2 2 1 2 3 4 5
1 2 3 4 5 1 1 6 1 6 6 6 6 1 1 1 1 1 4

output:

340

result:

ok single line: '340'

Test #3:

score: 0
Accepted
time: 127ms
memory: 3560kb

input:

195
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 ...

output:

70

result:

ok single line: '70'

Test #4:

score: 0
Accepted
time: 40ms
memory: 3628kb

input:

65
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1

output:

70

result:

ok single line: '70'

Test #5:

score: 0
Accepted
time: 41ms
memory: 3564kb

input:

66
2 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1
1 1 1 1 1

output:

70

result:

ok single line: '70'

Test #6:

score: 0
Accepted
time: 143ms
memory: 3628kb

input:

195
2 2 2 2 2
3 3 3 3 3
1 1 1 1 1
1 1 1 1 1
3 3 3 3 3
2 2 2 2 2
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
1 1 1 1 1
2 2 2 2 2
4 4 4 4 4
1 1 1 1 1
2 2 2 2 2
5 5 5 5 5
1 1 1 1 1
2 2 2 2 2
6 6 6 6 6
1 1 1 1 1
2 2 2 2 2
6 6 6 6 6
1 1 1 1 1
2 2 2 2 2
6 6 6 6 6
1 2 3 4 5
2 3 4 5 6
1 2 1 2 1
1 1 1 1 1
2 2 2 2 2
1 6 4 ...

output:

340

result:

ok single line: '340'

Test #7:

score: 0
Accepted
time: 146ms
memory: 3664kb

input:

195
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
2 2 2 2 2
1 1 1 1 1
3 3 3 3 3
3 3 3 3 3
2 2 2 2 2
1 1 1 1 1
4 4 4 4 4
3 3 3 3 3
2 2 2 2 2
5 5 5 5 5
4 4 4 4 4
3 3 3 3 3
6 6 6 6 6
5 5 5 5 5
4 4 4 4 4
6 6 6 6 6
1 2 3 4 5
2 3 4 5 6
6 6 6 6 6
1 2 3 4 5
5 5 5 5 5
1 1 1 2 2
1 2 3 4 4
2 2 3 4 6
2 2 3 4 5
1 1 1 1 1
1 1 1 ...

output:

340

result:

ok single line: '340'

Test #8:

score: 0
Accepted
time: 95ms
memory: 3504kb

input:

135
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
4 4 4 4 4
5 5 5 5 5
6 6 6 6 6
1 2 2 2 3
1 2 3 4 5
6 6 6 5 5
6 6 6 6 6
1 2 3 4 5
5 5 5 5 5
1 1 1 2 2
1 2 3 4 4
2 2 3 4 6
2 2 3 4 5
1 1 1 1 1
1 1 1 1 1
6 5 4 3 2
1 1 1 1 1
1 1 1 1 1
6 6 6 6 6
6 6 5 5 4
6 5 4 3 2
6 6 6 6 6
1 2 3 4 5
1 1 1 2 3

output:

338

result:

ok single line: '338'

Test #9:

score: -100
Wrong Answer
time: 59ms
memory: 3624kb

input:

85
1 1 1 1 1
2 2 2 2 2
3 3 3 3 3
4 4 4 4 4
5 5 5 5 5
6 6 6 6 6
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
6 6 6 6 6
6 6 6 6 6
1 1 1 2 2
1 2 3 4 4
1 2 3 4 5
6 6 6 6 6
1 1 1 1 1

output:

327

result:

wrong answer 1st lines differ - expected: '322', found: '327'