QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#239091#881. Gig CombinatoricsMaMengQiWA 1ms5588kbC++17697b2023-11-04 18:27:152023-11-04 18:27:16

詳細信息

Test #1:

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

input:

9
1 1 1 2 2 2 3 3 3

output:

63

result:

ok answer is '63'

Test #2:

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

input:

8
1 2 1 2 3 1 2 3

output:

15

result:

ok answer is '15'

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 5588kb

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:

67265702734

result:

wrong answer expected '265702265', found '67265702734'