Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listOct 11, 2022 15:54Kenneth MaplesKenneth MaplesScore: 5,082Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 11, 2022 15:545,03544,044,41714,098,0002,014,0002,265,088
2Oct 11, 2022 15:545,05347,074,45314,148,0002,021,0002,387,968
3Oct 11, 2022 15:545,05644,568,36014,158,0002,022,0002,265,088
4Oct 11, 2022 15:545,05842,638,62314,161,0002,023,0002,400,256
5Oct 11, 2022 15:545,06132,273,99914,171,0002,024,0002,392,064
6Oct 11, 2022 15:545,06243,621,11215,185,0001,012,0002,392,064
7Oct 11, 2022 15:545,08238,671,58816,262,00002,392,064
8Oct 11, 2022 15:545,09632,600,28015,288,0001,019,0002,527,232
9Oct 11, 2022 15:545,09833,607,07616,313,00002,387,968
10Oct 11, 2022 15:545,27179,955,58516,866,09102,260,992
11Oct 11, 2022 15:545,27791,748,69116,887,23102,281,472
12Oct 11, 2022 15:545,28989,537,00616,925,18802,269,184