UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#121356#1303. backlight的vectorMars100132ms5020kbC++284b2020-10-31 17:16:392020-10-31 17:16:41

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 25
Accepted
time: 6ms
memory: 1588kb

input:

10000
4001 9099
2401 5289
8391 3908
5625 6653
761 2025
2065 1463
3903 6156
8665 4099
297 7389
1443 5...

output:

2071
49
9921
3633
2761
8751
6031
3345
2561
2941
5379
5813
6121
9926
9885
4001
8001
641
4121
6257
725...

result:

ok 10000 lines

Test #2:

score: 25
Accepted
time: 0ms
memory: 1268kb

input:

500
1 99
401 289
391 408
125 153
261 25
65 463
403 156
165 99
297 389
443 110
77 401
441 21
101 201
...

output:

99
71
273
373
290
284
126
176
423
49
421
409
76
337
60
409
286
133
16
453
333
337
245
141
89
21
1
14...

result:

ok 500 lines

Test #3:

score: 25
Accepted
time: 126ms
memory: 5020kb

input:

100000
34001 69099
92401 45289
48391 43908
75625 76653
40761 92025
62065 21463
33903 36156
98665 640...

output:

3633
62561
22941
79885
88001
74121
18726
98689
3931
53141
23971
4465
87065
3703
80923
44953
62360
64...

result:

ok 100000 lines

Test #4:

score: 25
Accepted
time: 0ms
memory: 1256kb

input:

10
1 9
1 9
1 8
5 3
1 5
5 3
3 6
5 9
7 9
3 10

output:

9
9
8
5
6
10
3
3
9
9

result:

ok 10 lines