QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#82881#4881. Hard ProblemlarryzhongWA 9ms5356kbC++172.7kb2023-03-01 01:08:022023-03-01 01:08:04

詳細信息

Test #1:

score: 100
Accepted
time: 9ms
memory: 5248kb

input:

3
6 0
3 1 3 1 3 1
8 4
5 8 4 6 5 7 8 5
7 3
2 1 3 2 2 1 3

output:

144768
745933
448953

result:

ok 3 number(s): "144768 745933 448953"

Test #2:

score: -100
Wrong Answer
time: 6ms
memory: 5356kb

input:

1
500 9
446 46 319 109 370 33 354 55 237 3 438 425 246 9 258 142 228 496 220 142 171 259 477 419 97 108 409 63 386 148 172 11 165 365 330 111 22 86 339 366 356 274 87 124 446 73 325 158 135 445 9 205 316 204 319 346 383 352 211 192 372 225 442 444 115 67 67 14 499 312 431 433 184 316 133 240 36 216 ...

output:

992875721

result:

wrong answer 1st numbers differ - expected: '785335608', found: '992875721'