UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#110338#1303. backlight的vectorTom100226ms237060kbC++490b2020-06-23 19:17:082020-06-23 19:17:09

answer


详细

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

Test #1:

score: 25
Accepted
time: 55ms
memory: 235756kb

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 
...

result:

ok 10000 lines

Test #2:

score: 25
Accepted
time: 56ms
memory: 235616kb

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 
3...

result:

ok 500 lines

Test #3:

score: 25
Accepted
time: 75ms
memory: 237060kb

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 ...

result:

ok 100000 lines

Test #4:

score: 25
Accepted
time: 40ms
memory: 235608kb

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