QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#48488#3964. Junior price robotGuanYunchangWA 2ms3712kbC++23553b2022-09-14 01:31:002022-09-14 01:31:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3504kb

input:

6
9 10 11 9 12 11

output:

3

result:

ok single line: '3'

Test #2:

score: 0
Accepted
time: 2ms
memory: 3576kb

input:

3
1 2 3

output:

infinity

result:

ok single line: 'infinity'

Test #3:

score: 0
Accepted
time: 2ms
memory: 3528kb

input:

19
2 1 3 1 4 4 4 4 2 1 4 1 4 4 1 4 3 2 1

output:

1

result:

ok single line: '1'

Test #4:

score: 0
Accepted
time: 2ms
memory: 3544kb

input:

19
2 3 3 12 6 10 9 7 2 19 6 14 13 17 12 18 15 17 9

output:

8

result:

ok single line: '8'

Test #5:

score: 0
Accepted
time: 2ms
memory: 3604kb

input:

19
249524 621430 570666 136759 387927 960438 633257 497082 656116 609068 68712 635018 13808 952966 878150 492026 271953 577540 245714

output:

3

result:

ok single line: '3'

Test #6:

score: 0
Accepted
time: 2ms
memory: 3712kb

input:

17
4 5 2 7 8 3 2 2 1 2 2 3 8 7 2 5 4

output:

2

result:

ok single line: '2'

Test #7:

score: 0
Accepted
time: 2ms
memory: 3544kb

input:

19
653160 267854 777821 375952 833821 723986 988231 882389 775840 683705 967128 555788 30415 881169 488241 813652 989182 261151 680500

output:

1

result:

ok single line: '1'

Test #8:

score: 0
Accepted
time: 2ms
memory: 3496kb

input:

17
831878 601694 861882 84484 508596 799243 274331 38612 474 38612 274331 799243 508596 84484 861882 601694 831878

output:

1

result:

ok single line: '1'

Test #9:

score: 0
Accepted
time: 1ms
memory: 3544kb

input:

19
999999 999999 999999 999999 999999 999999 999999 999999 999999 999999 999999 999999 999999 999999 999999 999999 999999 999999 999999

output:

1

result:

ok single line: '1'

Test #10:

score: 0
Accepted
time: 2ms
memory: 3568kb

input:

19
8 12 13 5 7 2 3 5 8 17 7 13 1 15 16 15 13 16 19

output:

3

result:

ok single line: '3'

Test #11:

score: 0
Accepted
time: 2ms
memory: 3640kb

input:

19
485499 643003 391446 280111 145270 195188 908656 709513 6748 354761 527206 486248 941934 634073 84741 350250 581195 981872 646605

output:

2

result:

ok single line: '2'

Test #12:

score: 0
Accepted
time: 2ms
memory: 3528kb

input:

19
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

output:

infinity

result:

ok single line: 'infinity'

Test #13:

score: 0
Accepted
time: 2ms
memory: 3712kb

input:

19
19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1

output:

1

result:

ok single line: '1'

Test #14:

score: -100
Wrong Answer
time: 2ms
memory: 3708kb

input:

17
1 2 3 4 5 6 7 8 9 8 7 6 5 4 3 2 1

output:

infinity

result:

wrong answer 1st lines differ - expected: '16', found: 'infinity'