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 listMay 16, 2026 07:36SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,139Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 07:365,11325,088,34416,363,00002,113,536
2May 16, 2026 07:365,11625,064,13416,374,00002,113,536
3May 16, 2026 07:365,11925,305,66116,381,00002,113,536
4May 16, 2026 07:365,13325,948,68315,383,0001,044,0002,113,536
5May 16, 2026 07:365,13926,547,05015,413,0001,032,0002,113,536
6May 16, 2026 07:365,14325,129,84716,460,00002,113,536
7May 16, 2026 07:365,14627,422,56716,470,00002,113,536
8May 16, 2026 07:365,14725,171,37315,457,0001,015,0002,113,536
9May 16, 2026 07:365,18728,188,69015,569,0001,030,0002,113,536