QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#727299#517. Sequential Yahtzeeucup-team5275#AC ✓58ms3860kbC++203.1kb2024-11-09 12:36:182024-11-09 12:36:19

詳細信息

Test #1:

score: 100
Accepted
time: 11ms
memory: 3852kb

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: 22ms
memory: 3596kb

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: 42ms
memory: 3624kb

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: 9ms
memory: 3624kb

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: 12ms
memory: 3628kb

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: 56ms
memory: 3848kb

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: 58ms
memory: 3628kb

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: 50ms
memory: 3784kb

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: 0
Accepted
time: 27ms
memory: 3616kb

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:

322

result:

ok single line: '322'

Test #10:

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

input:

77
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 1 1 2 2
2 2 2 2 3
1 1 1 1 3
2 2 4 4 5
1 1 3 3 6
6 5 4 1 2
3 4 5 4 3 2 1
2 2 3 3 4
1 1 2 2 3

output:

237

result:

ok single line: '237'

Test #11:

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

input:

180
2 2 2 2 2
2 2 2 2 2
2 2 2 2 2
3 3 3 3 3
3 3 3 3 3
3 3 3 3 3
4 4 4 4 4
4 4 4 4 4
4 4 4 4 4
5 5 5 5 5
5 5 5 5 5
5 5 5 5 5
6 6 6 6 6
6 6 6 6 6
6 6 6 6 6
1 1 2 2 3
6 5 4 3 2
4 2 1 3 6
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
3 4 5 6 1
3 4 5 6 1
3 4 5 6 1
4 5 6 1 2
4 5 6 1 2
4 5 6 1 2
5 6 1 2 3
5 6 1 2 3
5 6 1 ...

output:

294

result:

ok single line: '294'

Test #12:

score: 0
Accepted
time: 15ms
memory: 3860kb

input:

65
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 1 1 1 1
1 2 3 4 5
1 2 3 4 5
1 1 2 2 3
1 1 1 1 1
2 2 2 2 2
1 1 1 1 1
1 1 1 1 2

output:

5

result:

ok single line: '5'

Test #13:

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

input:

68
1 3 2 1 5 2 6 1 6 1 4 1 6 3 4 5 1 6 1 4 3 6 4 3 5 5 3 3 1 4 4 6 5 2 6 4 6 4 5 4 6 4 6 3 3 4 1 6 4 5 1 4 1 2 3 1 5 4 3 2 4 6 3 6 6 5 2 1

output:

106

result:

ok single line: '106'

Test #14:

score: 0
Accepted
time: 28ms
memory: 3556kb

input:

78
5 1 4 2 6 6 6 6 1 4 6 1 5 3 5 3 4 5 4 4 5 6 4 3 5 6 5 5 5 1 2 3 4 3 6 4 5 2 3 1 3 2 6 4 5 6 2 6 2 1 5 3 3 1 6 6 1 6 3 2 3 4 2 2 5 6 2 6 3 3 1 4 5 5 2 4 3 2

output:

134

result:

ok single line: '134'

Test #15:

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

input:

137
1 3 5 5 6 3 1 1 3 4 4 6 5 4 4 4 6 4 4 1 1 5 5 1 6 2 3 2 2 3 6 2 4 4 3 1 3 6 4 2 1 6 4 6 2 1 2 6 2 6 3 6 5 5 2 5 3 5 5 2 3 6 1 2 1 3 6 3 4 4 2 3 2 6 4 2 3 3 6 2 3 2 1 2 5 1 1 1 3 5 2 6 2 2 2 1 4 6 4 6 6 6 2 3 5 5 5 6 1 3 6 5 2 1 4 6 3 6 3 1 1 5 5 6 3 6 2 6 3 6 2 5 2 1 5 1 5

output:

239

result:

ok single line: '239'

Test #16:

score: 0
Accepted
time: 48ms
memory: 3784kb

input:

116
3 1 6 5 2 6 1 2 4 6 1 6 4 6 5 2 4 6 1 4 3 4 5 6 2 5 5 4 6 6 2 5 2 2 2 1 2 4 2 5 5 4 2 1 4 2 4 1 2 3 4 4 2 4 4 6 5 3 4 2 2 4 6 4 6 4 6 2 1 6 4 6 6 3 2 5 6 5 3 3 5 1 4 5 1 4 2 4 2 1 6 3 6 5 1 1 1 6 4 1 5 5 2 2 6 1 2 6 2 2 3 4 2 6 5 1

output:

255

result:

ok single line: '255'

Test #17:

score: 0
Accepted
time: 25ms
memory: 3656kb

input:

81
3 6 3 6 2 5 2 5 2 2 3 2 1 6 6 1 6 2 6 4 2 1 5 2 5 6 4 2 4 2 3 5 6 5 1 6 2 6 2 4 2 2 6 3 6 2 1 1 4 2 4 4 3 2 3 3 2 4 5 4 4 5 1 6 1 2 1 1 3 3 1 6 3 1 1 3 3 4 3 1 5

output:

185

result:

ok single line: '185'

Test #18:

score: 0
Accepted
time: 58ms
memory: 3620kb

input:

139
5 4 1 2 2 2 3 4 3 4 5 4 6 2 1 2 1 1 1 1 5 6 5 2 6 1 2 6 2 5 1 2 4 5 1 4 5 4 1 1 6 6 4 4 6 3 3 1 5 4 2 1 5 1 6 2 4 3 1 4 3 1 6 2 4 3 5 6 6 6 2 3 6 3 5 6 1 6 6 4 1 6 6 2 1 4 5 5 6 2 3 1 3 4 3 1 3 6 3 1 6 2 4 4 6 4 3 2 5 1 3 1 1 3 6 5 1 4 6 6 6 3 4 6 1 1 5 3 4 1 6 6 4 2 4 6 5 1 6

output:

229

result:

ok single line: '229'

Test #19:

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

input:

70
1 2 2 3 2 5 3 6 4 4 2 4 5 1 2 6 5 2 3 5 1 4 6 6 6 5 4 1 5 1 3 1 4 4 6 3 3 2 6 1 5 4 2 6 3 3 3 4 3 1 4 1 1 5 4 1 6 1 1 4 6 5 5 2 2 6 5 3 3 6

output:

55

result:

ok single line: '55'

Test #20:

score: 0
Accepted
time: 47ms
memory: 3624kb

input:

115
1 1 5 3 2 4 5 2 1 2 4 6 3 3 2 5 1 5 3 4 6 1 6 2 4 6 3 5 2 3 5 4 6 2 5 3 2 5 6 3 4 4 2 3 4 3 1 4 1 6 4 4 2 1 1 3 5 3 2 2 4 6 6 1 4 2 6 4 3 3 1 6 1 4 6 1 1 5 6 3 4 1 3 4 4 4 1 1 3 4 2 1 1 3 5 6 4 2 2 2 6 4 6 5 6 5 6 4 6 5 6 3 6 1 1

output:

202

result:

ok single line: '202'

Test #21:

score: 0
Accepted
time: 38ms
memory: 3596kb

input:

94
3 5 6 6 2 1 5 4 2 4 6 6 2 3 1 6 5 4 5 2 2 6 6 3 4 1 1 3 1 6 3 3 5 1 4 1 2 3 4 3 6 2 6 3 1 4 2 4 5 5 1 4 3 6 3 2 1 1 2 6 3 2 5 3 2 5 6 1 6 6 2 3 4 5 4 5 5 2 3 5 2 6 2 1 4 1 2 3 5 2 4 4 6 6

output:

165

result:

ok single line: '165'

Test #22:

score: 0
Accepted
time: 49ms
memory: 3824kb

input:

118
3 6 5 1 5 3 5 1 2 3 5 4 3 4 3 3 2 2 5 5 1 2 5 3 2 5 3 4 6 4 6 6 1 4 3 6 5 3 3 6 3 3 4 2 2 4 2 5 1 1 3 1 6 1 5 6 6 3 5 4 4 6 2 1 6 5 5 4 5 3 5 5 5 6 5 6 5 1 6 5 4 1 4 2 1 1 5 5 2 3 1 2 2 2 6 2 1 2 6 3 5 6 4 5 1 4 1 4 5 5 4 3 4 3 4 3 1 5

output:

233

result:

ok single line: '233'

Test #23:

score: 0
Accepted
time: 18ms
memory: 3860kb

input:

70
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 1 1 1 1
1 2 3 4 5
1 2 3 4 5
1 1 2 2 3
1 1 1 1 1
2 2 2 2 2
1 1 1 1 1
1 1 1 1 2
2 3 4 5 6

output:

31

result:

ok single line: '31'