QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#852718#9727. Barkley IIIucup-team5323#WA 8ms99060kbC++141.9kb2025-01-11 13:40:022025-01-11 13:40:02

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 97872kb

input:

5 9
7 7 7 6 7
3 1 5
2 1 3
3 1 5
3 1 3
1 1 2 3
3 1 3
2 2 8
3 1 3
3 1 2

output:

7
6
7
3
3
8

result:

ok 6 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 99060kb

input:

10 10
6760061359215711796 1568091718842717482 1568091718842717482 1568091718842717482 5232472783634052627 8795942500783873690 1568091718842717482 1568091718842717482 1568091718842717482 1568091718842717482
1 3 5 7587422031989082829
3 6 10
1 7 8 5197616143400216932
2 4 2518604563805514908
2 2 4533959...

output:

1568091718842717482
35184908959744
176025477579040
8795942500783873690

result:

ok 4 lines

Test #3:

score: -100
Wrong Answer
time: 8ms
memory: 98932kb

input:

100 100
4263579105072360993 4263579105072360993 4263579105072360993 4263579105072360993 4263579105072360993 4263579105072360993 4263579105072360993 4263579105072360993 4263579105072360993 625967318191814868 4263579105072360993 4263579105072360993 4263579105072360993 4263579105072360993 4263579105072...

output:

576531121047601152
1
1
4263579105072360993
1306043896232411137
2143284923
70368744177665
77309673472
0
12952010752
562951027425280
1153488865559840256
3458764518266578433
67108864
576531718266945536
0
633397148123136
1729382296723653632
0
1730020640668059136
3533641810948498945
262144
0
173002064066...

result:

wrong answer 3rd lines differ - expected: '576460752303423488', found: '1'