QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#182440#7105. Pixel Artucup-team580#RE 3ms11196kbC++202.9kb2023-09-18 01:11:342023-09-18 01:11:35

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 11196kb

input:

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

output:

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

result:

ok 7 lines

Test #2:

score: -100
Runtime Error

input:

2130
2 5 2
1 1 1 2
2 3 2 5
2 5 2
1 1 1 3
2 3 2 5
3 3 3
1 1 1 2
3 1 3 2
1 3 2 3
3 100 51
1 2 2 2
1 4 2 4
1 6 2 6
1 8 2 8
1 10 2 10
1 12 2 12
1 14 2 14
1 16 2 16
1 18 2 18
1 20 2 20
1 22 2 22
1 24 2 24
1 26 2 26
1 28 2 28
1 30 2 30
1 32 2 32
1 34 2 34
1 36 2 36
1 38 2 38
1 40 2 40
1 42 2 42
1 44 2 44
...

output:

2 1
5 2
3 1
6 1
3 1
4 1
6 2
50 50
100 1
200 1
50 1
150 1
200 1
52 1
104 1
156 1
208 1
260 1
312 1
364 1
416 1
468 1
520 1
572 1
624 1
676 1
728 1
780 1
832 1
884 1
936 1
988 1
1040 1
1092 1
1144 1
1196 1
1248 1
1300 1
1352 1
1404 1
1456 1
1508 1
1560 1
1612 1
1664 1
1716 1
1768 1
1820 1
1872 1
1924 ...

result: