QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#825024#9584. 顾影自怜MaMengQiWA 73ms9892kbC++233.5kb2024-12-21 17:01:182024-12-21 17:01:27

详细

Test #1:

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

input:

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

output:

7
0

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 73ms
memory: 9892kb

input:

1
1000000 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:

499999500000

result:

wrong answer 1st lines differ - expected: '500000500000', found: '499999500000'