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:24Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 5,311Success
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:245,27642,757,15114,898,0001,986,0002,400,256
2Mar 31, 2026 14:245,27942,802,45015,900,000993,0002,281,472
3Mar 31, 2026 14:245,30036,509,08314,965,0001,995,0002,400,256
4Mar 31, 2026 14:245,30848,231,69115,985,000999,0002,281,472
5Mar 31, 2026 14:245,31145,688,06414,995,0001,999,0002,502,656
6Mar 31, 2026 14:245,31240,420,41814,999,0001,999,0002,281,472
7Mar 31, 2026 14:245,31443,134,38615,006,0002,000,0002,273,280
8Mar 31, 2026 14:245,31843,610,11515,015,0002,002,0002,281,472
9Mar 31, 2026 14:245,31841,581,35016,018,0001,001,0002,404,352