QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#305684#1268. Diamond Rushucup-team1005WA 1204ms149308kbC++174.5kb2024-01-15 20:30:382024-01-15 20:30:38

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 9880kb

input:

1
2 2
2 3
1 4
1 1 2 2
2 2 1 1

output:

276
336

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 1204ms
memory: 149308kb

input:

5
399 200000
1 5 3 2 3 5 5 4 3 5 2 5 1 2 4 1 3 1 1 5 5 5 5 2 2 2 3 3 5 3 5 3 1 2 3 2 3 3 4 3 5 3 1 3 4 5 2 1 4 4 5 4 5 3 3 2 4 2 3 5 1 2 4 4 3 2 3 5 4 4 1 2 3 5 5 2 1 5 5 1 4 1 2 5 3 4 5 3 5 5 5 3 2 3 1 2 1 1 2 5 1 4 1 3 4 1 1 3 5 3 2 2 3 1 3 1 3 1 5 1 4 1 1 2 5 1 4 3 1 3 2 5 4 2 3 5 5 2 5 3 1 5 3 1...

output:

508371021
718873199
112373112
483995964
47780533
669063857
240927192
855950512
864237102
945878421
65533326
433911613
916760077
362984561
133577223
797175106
450851323
770690840
899273053
109775621
670481364
615687905
678771014
63073306
245488275
386795762
58326334
522247939
507730812
130573893
3730...

result:

wrong answer 1st lines differ - expected: '941207053', found: '508371021'