QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#569309#9315. Rainbow Bracket Sequenceucup-team2389WA 0ms22296kbC++232.4kb2024-09-16 21:57:202024-09-16 21:57:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 22296kb

input:

2
3 2
1 2
1 2 2 2 1 2
3 1 4 2 2 1
3 2
2 2
1 2 2 2 1 2
3 1 4 2 2 1

output:

9
-1

result:

ok 2 number(s): "9 -1"

Test #2:

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

input:

50
8 6
0 2 2 0 3 1
3 5 1 1 5 3 5 2 3 2 2 1 2 2 4 6
998133227 879226371 59632864 356493387 62611196 827258251 296576565 204244054 812713672 780267148 614679390 447700005 102067050 544546349 116002772 761999375
1 1
1
1 1
343766215 374461155
3 1
2
1 1 1 1 1 1
796323508 303640854 701432076 853325162 610...

output:

-1
343766215
1649648670
1812906175
-1
-1
831452391
2539318868
1013080942
1097019708
-1
-1
2231197660
758225925
0
2812012416
-1
841935645
5689642167
1345740508
-1
1988904333
-1
999388067
5268471900
0
1375278074
-1
4236865447
0
883992368
839769227
-1
3576403472
-1
856364894
2713025914
299682359
495542...

result:

wrong answer 3rd numbers differ - expected: '2351080746', found: '1649648670'