UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#120008#93. lessonTom10030ms5288kbC++11720b2020-10-17 21:38:222020-10-18 08:26:45

answer


Details

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

Test #1:

score: 10
Accepted
time: 0ms
memory: 3236kb

input:

99 10
1 2 3 4 5 6 7 8 9 4 9 5 9 3 5 2 4 2 2 8 4 2 4 5 7 4 6 2 2 6 7 5 8 9 2 3 3 5 6 9 2 7 5 2 4 9 8 ...

output:

1 98

result:

ok single line: '1 98'

Test #2:

score: 10
Accepted
time: 0ms
memory: 3240kb

input:

96 10
1 2 3 4 5 6 7 8 9 5 8 2 7 4 2 5 7 6 5 3 8 2 2 7 9 4 7 2 6 8 7 7 3 5 2 9 4 6 7 3 5 5 7 9 5 9 3 ...

output:

1 95

result:

ok single line: '1 95'

Test #3:

score: 10
Accepted
time: 0ms
memory: 3236kb

input:

2000 50
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34...

output:

1 1999

result:

ok single line: '1 1999'

Test #4:

score: 10
Accepted
time: 2ms
memory: 3236kb

input:

1997 50
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34...

output:

1 1996

result:

ok single line: '1 1996'

Test #5:

score: 10
Accepted
time: 0ms
memory: 3236kb

input:

1999 50
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34...

output:

1 1998

result:

ok single line: '1 1998'

Test #6:

score: 10
Accepted
time: 2ms
memory: 3240kb

input:

2000 50
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34...

output:

1 1999

result:

ok single line: '1 1999'

Test #7:

score: 10
Accepted
time: 12ms
memory: 5288kb

input:

99996 100
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ...

output:

1 99995

result:

ok single line: '1 99995'

Test #8:

score: 10
Accepted
time: 11ms
memory: 5284kb

input:

99997 100
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ...

output:

1 99996

result:

ok single line: '1 99996'

Test #9:

score: 10
Accepted
time: 0ms
memory: 5288kb

input:

99996 100
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ...

output:

1 99995

result:

ok single line: '1 99995'

Test #10:

score: 10
Accepted
time: 3ms
memory: 5284kb

input:

100000 100
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33...

output:

1 99999

result:

ok single line: '1 99999'