QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#184117#5415. Ropewaycbant15#TL 0ms0kbC++143.2kb2023-09-20 13:09:092023-09-20 13:09:09

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

3
10 3
5 10 7 100 4 3 12 5 100 1
0001000010
2
2 3
6 15
5 6
1 1 1 1 1
00000
1
3 100
5 6
1 1 1 1 1
00100
1
3 100

output:

-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
-1860296826
...

result: