QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#189579#7105. Pixel Artucup-team2039RE 4ms39124kbC++204.0kb2023-09-27 17:36:022023-09-27 17:36:03

详细

Test #1:

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

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 50
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
200 48
...

result: