UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#100535#1465. 青蛙的约会QuartZ_Z1000ms508kbC++11958b2020-02-24 20:50:272020-02-24 20:50:29

answer


Details

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

Test #1:

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

input:

0 1 2 3 4

output:

3

result:

ok single line: '3'

Test #2:

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

input:

5 7 3 7 6

output:

1

result:

ok single line: '1'

Test #3:

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

input:

15 19 37 91 1001

output:

37

result:

ok single line: '37'

Test #4:

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

input:

35 657 56 34 1232

output:

Impossible

result:

ok single line: 'Impossible'

Test #5:

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

input:

1234798 12347891 234789 7364809 2

output:

Impossible

result:

ok single line: 'Impossible'

Test #6:

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

input:

283 2387 2347 23874 127846

output:

113070

result:

ok single line: '113070'

Test #7:

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

input:

132478809 68023 1 2 223987895

output:

132410786

result:

ok single line: '132410786'

Test #8:

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

input:

0 1000000000 1000000000 2000000000 2100000000

output:

20

result:

ok single line: '20'

Test #9:

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

input:

12348798 1111011111 789966787 777779721 2100000000

output:

Impossible

result:

ok single line: 'Impossible'

Test #10:

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

input:

12348798 1111011111 789966787 777779721 2099999999

output:

1006281659

result:

ok single line: '1006281659'