QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#312024#1822. Mountainous Palindromic SubarrayGuanYunchangRE 1ms5716kbC++201.1kb2024-01-23 10:56:502024-01-23 10:56:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 5716kb

input:

8
2
1
2
3
2
1
7
8

output:

5

result:

ok answer is '5'

Test #2:

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

input:

5
2
5
8
7
2

output:

-1

result:

ok answer is '-1'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

1
19

output:

-1

result:

ok answer is '-1'

Test #4:

score: 0
Accepted
time: 0ms
memory: 5712kb

input:

7
1
3
3
6
3
3
1

output:

3

result:

ok answer is '3'

Test #5:

score: -100
Runtime Error

input:

1000000
165433750
1777
3027
4728
5361
5786
7362
9607
9677
11454
14653
17660
17850
20040
20308
23086
24094
24932
26077
28457
31075
34172
36822
39903
42332
45556
47062
48192
48377
49228
51441
54308
56872
59989
61711
64405
65454
68314
70649
71749
72331
73681
74108
74478
76909
80194
82588
85815
87670
89...

output:


result: