QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#283871#5693. 众数ucup-team1137#TL 27ms19068kbC++205.2kb2023-12-15 17:16:372023-12-15 17:16:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 27ms
memory: 19068kb

input:

99991
3 3 3 4 3 6 4 2 2 5 3 2 3 5 3 3 2 1 2 3 4 2 3 4 3 3 3 4 3 3 3 2 3 2 3 2 4 3 3 2 3 5 3 5 4 2 4 3 3 1 3 2 2 3 4 2 3 3 2 2 4 5 3 2 3 3 1 3 3 4 1 3 4 5 1 1 3 4 2 4 3 2 5 3 3 2 2 2 4 2 4 2 2 4 2 4 3 3 2 3 2 2 1 4 3 1 3 1 2 2 3 1 1 5 2 1 2 2 3 3 1 4 4 4 3 3 3 3 1 3 3 5 5 4 4 3 3 3 4 3 6 5 3 1 1 2 2 ...

output:

4973056284288

result:

ok single line: '4973056284288'

Test #2:

score: 0
Accepted
time: 15ms
memory: 18284kb

input:

69992
90001 89998 90001 90001 89997 90000 90000 90002 90003 90003 90001 89999 89999 90000 90000 90000 90000 90000 90000 90001 90000 89999 90002 90001 90000 89998 89998 90001 89998 90000 90000 89999 90000 90001 89998 90000 90004 90000 90000 90001 89999 90001 90003 89998 90001 90001 90001 90001 90002 ...

output:

465680822171522

result:

ok single line: '465680822171522'

Test #3:

score: -100
Time Limit Exceeded

input:

79992
999 1001 1000 999 997 1002 1003 1000 1002 1001 1004 1000 1000 1002 1001 1000 1002 1000 999 998 1001 998 1000 1001 1000 1001 999 1001 1000 1001 1001 1001 1000 1000 1001 1001 1002 999 1002 1000 997 999 1002 1000 999 999 999 997 1003 1002 999 1000 998 997 999 1000 1001 999 1000 1003 999 999 1001 ...

output:


result: