QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#213540#6440. Xingqiu's JokeHuangHanShengML 1ms3532kbC++20681b2023-10-14 14:46:482023-10-14 14:46:48

详细

Test #1:

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

input:

5
4 7
9 8
32 84
11 35
2 1

output:

2
7
5
4
0

result:

ok 5 number(s): "2 7 5 4 0"

Test #2:

score: -100
Memory Limit Exceeded

input:

300
223528529 446621399
755625805 978718675
257717538 480810408
277875777 54782907
963091558 739998688
282469431 505562301
38752451 261845321
474429597 697522467
67026335 290119205
874629705 651536835
301964126 78871256
316864911 93772041
545942587 322849717
640801578 417708708
683070559 906163429
9...

output:


result: