QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#864077#6842. Popcount Wordslittle_pinkpigWA 33ms259932kbC++142.8kb2025-01-20 10:00:132025-01-20 10:00:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 5
2 6
1 3
4 8
0
1
11
101
0011010

output:

6
7
2
2
1

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 219916kb

input:

3 10
2 6
1 3
4 8
0
1
11
101
0011010
0
1
11
101
0011010

output:

6
7
2
2
1
6
7
2
2
1

result:

ok 10 lines

Test #3:

score: -100
Wrong Answer
time: 33ms
memory: 259932kb

input:

100000 37701
605224571 605224571
681034454 681034463
468837041 468837048
323235128 323235135
400367345 400367345
394938241 394938241
221026001 221026007
183872918 183872926
881878131 881878138
374491962 374491967
588030380 588030381
109143398 109143401
727016146 727016149
857189138 857189138
1940312...

output:

273828
273405
86630
172666
152680
97120
13496
69872
72017
81702
73134
68276
77044
15418
2896
9939
30056
26775
38328
29785
66058
12148
10600
59933
41961
20409
31188
38490
10986
3270
340
2471
3912
3376
9659
18659
19123
5914
5407
31642
13174
13260
27013
33090
8279
2839
2556
7468
26144
23399
28669
11126...

result:

wrong answer 3rd lines differ - expected: '99633', found: '86630'