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 listSep 26, 2025 22:27Daniel MastalerzDaniel MastalerzScore: 5,538Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2025 22:275,50237,556,86016,571,0001,035,0002,404,352
2Sep 26, 2025 22:275,51346,726,45416,604,0001,037,0002,273,280
3Sep 26, 2025 22:275,52443,197,82716,638,0001,039,0002,273,280
4Sep 26, 2025 22:275,53443,754,26817,709,00002,392,064
5Sep 26, 2025 22:275,53849,684,19516,678,0001,042,0002,273,280
6Sep 26, 2025 22:275,58344,954,62016,873,000992,0002,273,280
7Sep 26, 2025 22:275,58644,676,34816,881,000993,0002,408,448
8Sep 26, 2025 22:275,58835,262,83816,887,000993,0002,486,272
9Sep 26, 2025 22:275,58847,144,81315,896,0001,987,0002,396,160