QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#504846#9107. Zayin and Countucup-team3950#TL 0ms0kbC++148.7kb2024-08-04 16:41:112024-08-04 16:41:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

10000
1 0 0 0 1 1 0 0 0 1
0 0 1 0 1 1 1 1 0 0
950595954440050004054505054050
1 0 0 0 1 1 1 1 0 0
1 1 1 0 1 0 0 0 1 1
45467007076660767550460064
1 1 1 1 0 0 0 1 0 0
1 1 0 1 1 0 1 0 0 1
23373171320213300170200722
0 0 0 0 1 1 1 0 1 0
0 0 1 0 0 1 0 1 1 1
558565664666565565558468668484
1 1 0 0 1 0 1 0 1 ...

output:

47576465776547627775757474
28440400220899118284940
96031904106103314490313
92292857587887999898872878
725858878282822252885288878777
1611111616761761111771116661117
56588886655885668855568558858658655656
61655156161155666165551556155555151556
505505755887877885857085750050
21622266266323696393139321...

result: