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 listMar 31, 2026 14:20Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 5,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 31, 2026 14:205,27530,958,35314,894,0001,985,0002,281,472
2Mar 31, 2026 14:205,27940,903,43914,906,0001,987,0002,408,448
3Mar 31, 2026 14:205,28835,242,99015,866,0001,057,0002,281,472
4Mar 31, 2026 14:205,29136,769,41714,940,0001,992,0002,392,064
5Mar 31, 2026 14:205,29241,253,21014,941,0001,992,0002,281,472
6Mar 31, 2026 14:205,30344,046,71515,972,000998,0002,404,352
7Mar 31, 2026 14:205,30542,378,96014,978,0001,997,0002,392,064
8Mar 31, 2026 14:205,30643,168,59415,982,000998,0002,281,472
9Mar 31, 2026 14:205,30943,938,87915,991,000999,0002,281,472