QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#534591#6842. Popcount Wordsrotcar08WA 35ms48300kbC++201.6kb2024-08-27 14:16:122024-08-27 14:16:13

詳細信息

Test #1:

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

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: 18144kb

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: 35ms
memory: 48300kb

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:

273663
273570
92847
180816
180816
92753
7147
85700
95143
85673
85700
95116
85672
7080
326
6821
45185
40515
45444
49699
78947
6725
6821
78879
49958
45158
40256
45416
6725
355
20
306
2551
4270
9595
35590
34735
5779
1003
44441
14171
35528
36053
42894
6378
347
306
6515
42634
36245
35849
14109
44212
946
...

result:

wrong answer 1st lines differ - expected: '273828', found: '273663'