QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#402677#2560. Streetlightsjxy2012WA 0ms18096kbC++2013.3kb2024-05-01 10:40:072024-05-01 10:40:08

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

6 2
4 2 2 2 4 6
4 6
6 4

output:

3
2
2

result:

ok 3 lines

Test #2:

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

input:

50 100
310081863 722273055 654741011 310081863 654741011 722273055 654741011 722273055 654741011 654741011 654741011 310081863 310081863 722273055 654741011 654741011 654741011 722273055 310081863 654741011 310081863 310081863 310081863 722273055 310081863 654741011 654741011 310081863 722273055 722...

output:

28
28
28
28
29
29
29
29
29
30
29
30
30
30
30
30
31
31
31
30
30
28
28
29
30
30
30
30
30
30
30
30
29
29
28
28
28
28
28
28
28
29
29
29
29
30
31
30
30
29
29
30
31
31
32
31
30
31
31
30
30
31
31
31
32
32
32
31
31
31
30
31
31
31
31
31
31
31
31
31
30
30
30
31
31
31
31
32
31
31
32
32
32
32
32
32
32
33
32
33
33

result:

wrong answer 4th lines differ - expected: '29', found: '28'