QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#836464#9922. Mah-jongMachata (Anastasiia Tovtyn, Oleksandr Hroskopf, Vasyl Merenych)#WA 379ms4332kbC++201.8kb2024-12-28 20:57:482024-12-28 20:57:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 379ms
memory: 4332kb

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:

4548
4376
1476
804
9707
1784
2310
4305
13504
21543
2334
8138
10507
18752
9776
471
5405
7603
5227
1
5481
0
3831
2585
5694
0
5942
7779
3
14960
4668
9141
2858
4666
2874
2196
951
1126
5142
19580
7630
2830
258
5534
23110
558
1898
8425
2016
2938
3043
2159
11704
180
290
2657
6401
3772
1418
15184
3864
4160
...

result:

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