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 listApr 21, 2025 20:25vahookvahookScore: 4,388Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2025 22:244,36940,897,30012,983,000998,0002,482,176
2Apr 21, 2025 22:244,38329,018,04313,023,0001,001,0002,531,328
3Apr 21, 2025 20:254,38735,938,60713,035,0001,002,0002,498,560
4Apr 21, 2025 20:254,38732,869,88313,036,0001,002,0002,482,176
5Apr 21, 2025 22:244,38841,050,80313,039,0001,003,0002,494,464
6Apr 21, 2025 20:254,39133,853,82813,047,0001,003,0002,498,560
7Apr 21, 2025 20:254,43640,508,85813,181,0001,013,0002,490,368
8Apr 21, 2025 20:254,45034,512,52614,241,00002,273,280
9Apr 21, 2025 20:254,47727,072,15414,326,00002,269,184