QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#305588#1268. Diamond Rushucup-team1005WA 1352ms149304kbC++174.2kb2024-01-15 17:34:432024-01-15 17:34:44

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 9736kb

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: 1352ms
memory: 149304kb

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:

18446744072758144075
18446744073404416827
18446744072758144075
18446744072758144075
343559734
850695352
18446744072758144075
343559734
18446744072758144075
18446744072758144075
900220105
850695352
343559734
18446744072758144075
343559734
18446744072758144075
343559734
30761500
343559734
184467440727...

result:

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