UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#115745#1303. backlight的vectorOliver100196ms5088kbC++251b2020-08-05 20:35:442020-08-05 20:35:47

answer


Details

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

Test #1:

score: 25
Accepted
time: 26ms
memory: 3784kb

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: 3640kb

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: 168ms
memory: 5088kb

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: 2ms
memory: 3636kb

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