QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#390109#7563. Fun on TreericonduongcungWA 6ms16444kbC++204.1kb2024-04-15 04:49:512024-04-15 04:49:51

詳細信息

Test #1:

score: 100
Accepted
time: 6ms
memory: 16440kb

input:

6 6
1 1 4 5 1 4
1 5
2 0
3 2
4 1
5 6
3 2 -100000
1 2 100000
1 1 0
2 2 66
3 1 5
4 4 -3

output:

6 100005
6 10
6 10
1 4
1 -1
1 1

result:

ok 6 lines

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 16444kb

input:

5 6
-10 0 2 -4 8
1 7
1 1
2 2
2 -2
1 1 100
2 1 -100
1 1 0
4 3 10
2 5 3
5 2 2

output:

4 -87
1 17
4 13
1 19
1 17
1 17

result:

wrong answer 6th lines differ - expected: '1 15', found: '1 17'