QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#46539#1822. Mountainous Palindromic SubarrayZhaoZiLongTL 2ms3680kbC++111.0kb2022-08-30 12:36:412022-08-30 12:36:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

8
2
1
2
3
2
1
7
8

output:

5

result:

ok answer is '5'

Test #2:

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

input:

5
2
5
8
7
2

output:

-1

result:

ok answer is '-1'

Test #3:

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

input:

1
19

output:

-1

result:

ok answer is '-1'

Test #4:

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

input:

7
1
3
3
6
3
3
1

output:

3

result:

ok answer is '3'

Test #5:

score: -100
Time Limit Exceeded

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: