QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#238000#881. Gig CombinatoricsZhangYiDeWA 1ms3472kbC++20877b2023-11-04 15:33:542023-11-04 15:33:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

9
1 1 1 2 2 2 3 3 3

output:

63

result:

ok answer is '63'

Test #2:

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

input:

8
1 2 1 2 3 1 2 3

output:

15

result:

ok answer is '15'

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 3460kb

input:

310
1 2 3 2 2 3 2 3 2 1 2 3 2 3 2 1 2 1 1 2 1 2 3 3 2 2 3 3 2 2 1 1 2 3 2 2 3 2 3 2 1 2 3 2 3 2 1 2 1 1 2 1 2 3 3 2 2 3 3 2 2 2 1 2 3 2 2 3 2 3 2 1 2 3 2 3 2 1 2 1 1 2 1 2 3 3 2 2 3 3 2 2 2 1 2 3 2 2 3 2 3 2 1 2 3 2 3 2 1 2 1 1 2 1 2 3 3 2 2 3 3 2 2 1 1 2 3 2 2 3 2 3 2 1 2 3 2 3 2 1 2 1 1 2 1 2 3 3 ...

output:

461796030

result:

wrong answer expected '265702265', found '461796030'