QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#856779#9922. Mah-jongZhangYiDeWA 417ms3584kbC++17713b2025-01-14 16:21:232025-01-14 16:21:24

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
4
1 1 1 1
6
1 2 3 1 2 3
7
6 5 8 7 6 3 2
8
1 2 1 2 1 2 1 3
9
2 2 4 4 1 1 1 3 3

output:

2
5
1
3
2

result:

ok 5 number(s): "2 5 1 3 2"

Test #2:

score: -100
Wrong Answer
time: 417ms
memory: 3584kb

input:

100
992
8 1 8 1 2 3 6 6 1 3 1 8 7 7 4 7 7 1 6 6 4 8 3 7 3 5 1 4 4 7 5 7 5 7 4 3 7 5 2 8 7 1 6 3 6 2 4 3 2 3 1 6 3 1 3 2 6 6 7 4 6 1 1 4 6 4 7 7 8 5 6 4 1 5 4 8 2 4 4 2 1 3 5 7 6 8 3 7 6 6 5 6 4 2 5 4 3 7 3 5 5 3 3 2 7 8 2 7 2 4 4 3 4 1 1 3 5 5 4 6 3 3 3 2 6 1 2 6 4 8 8 6 6 8 7 3 1 1 8 8 7 2 5 6 3 5 ...

output:

24120
29599
2669
1081
110012
3176
5495
21858
197519
548897
8530
64059
137132
432404
99426
829
40445
65068
32504
1
36733
1
18710
8231
40105
1
46717
74584
16
231808
28032
90043
12686
28874
14123
5671
1163
2526
35004
408862
80475
11841
418
40958
587230
928
5930
71564
5814
11293
12047
4908
151020
214
26...

result:

wrong answer 1st numbers differ - expected: '51699', found: '24120'