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 listJul 22, 2022 22:11Robert BurkeRobert BurkeScore: 4,784Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 22:114,75433,051,20314,199,0001,014,0002,531,328
2Jul 22, 2022 22:114,75732,651,28114,207,0001,014,0002,535,424
3Jul 22, 2022 22:114,75927,365,19913,199,0002,030,0002,433,024
4Jul 22, 2022 22:114,76834,775,49614,241,0001,017,0002,535,424
5Jul 22, 2022 22:114,77642,115,87313,246,0002,037,0002,273,280
6Jul 22, 2022 22:114,78337,235,59614,285,0001,020,0002,514,944
7Jul 22, 2022 22:114,78430,199,67214,288,0001,020,0002,433,024
8Jul 22, 2022 22:114,79139,580,26715,330,00002,424,832
9Jul 22, 2022 22:114,83132,123,78315,459,00002,535,424
10Jul 22, 2022 22:114,91085,712,35115,710,78402,179,072
11Jul 22, 2022 22:114,93472,371,05615,789,90502,187,264
12Jul 22, 2022 22:114,96471,042,04215,886,19002,187,264