QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#156992#7102. Live Loveucup-team1497#TL 1ms3744kbC++142.1kb2023-09-02 14:43:152023-09-02 14:59:13

详细

Test #1:

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

input:

5
5 4
100 50
252 52
3 0
10 10

output:

4 2
50 1
52 1
0 0
10 10

result:

ok 5 lines

Test #2:

score: -100
Time Limit Exceeded

input:

100
13 3
384 171
94 36
581 70
782 715
651 287
810 789
353 314
2 2
65 47
684 194
242 213
135 42
695 484
512 195
14 0
721 253
665 257
381 78
456 220
1000 500
1000 501
31 31
703 484
137 1
271 55
666 366
966 316
457 248
166 38
716 679
972 258
627 91
380 1
451 436
605 173
987 780
457 180
2 0
718 574
119 ...

output:


result: