QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#763677#6836. A Plus B ProblemyimuhuaRE 1ms5644kbC++20983b2024-11-19 21:35:082024-11-19 21:35:08

详细

Test #1:

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

input:

5 5
01234
56789
2 1 0
2 2 1
2 3 2
2 4 3
2 5 4

output:

0 2
3 2
5 3
7 3
8 3

result:

ok 5 lines

Test #2:

score: -100
Runtime Error

input:

1 1
1
1
1 1 9

output:


result: