UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#92694#1058. 图书管理员lijunrui1004ms1252kbC++431b2020-02-16 17:16:282020-02-16 17:16:29

answer


详细

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

Test #1:

score: 20
Accepted
time: 0ms
memory: 1248kb

input:

1 10
9392912
3 912
2 10
7 2731197
2 12
7 7163045
4 8785
7 4577297
5 75400
1 2
6 493284

output:

9392912
-1
-1
9392912
-1
-1
-1
-1
9392912
-1

result:

ok 10 lines

Test #2:

score: 20
Accepted
time: 0ms
memory: 1248kb

input:

2 20
7004628
7499328
6 405775
5 76830
7 6920940
6 922112
5 58940
4 4628
5 26932
2 28
5 62190
4 1000
...

output:

-1
-1
-1
-1
-1
7004628
-1
7004628
-1
-1
-1
-1
7499328
-1
-1
-1
-1
7004628
-1
7004628

result:

ok 20 lines

Test #3:

score: 20
Accepted
time: 0ms
memory: 1244kb

input:

500 1
5573180
259945
8839834
3344180
9203024
3191780
3499395
8985050
4935280
6178888
7950300
7091678...

output:

10180

result:

ok single line: '10180'

Test #4:

score: 20
Accepted
time: 0ms
memory: 1252kb

input:

1000 1
3244675
7069750
5786233
7184408
6656768
6236080
6638060
4092770
3078075
233
6019570
5946233
5...

output:

233

result:

ok single line: '233'

Test #5:

score: 20
Accepted
time: 4ms
memory: 1216kb

input:

500 500
905120
730996
2127226
5372343
9434617
222660
3838855
2535345
1804857
7551323
5724840
516416
...

output:

37075
37075
107112
167549
1126827
58696
58696
7278
325391
325391
345784
7278
644413
37075
7278
64441...

result:

ok 500 lines