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 30, 2026 20:38Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 5,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 30, 2026 20:385,28044,864,81915,903,000993,0002,260,992
2Mar 30, 2026 20:385,28547,207,29416,912,00002,260,992
3Mar 30, 2026 20:385,31049,143,35814,993,0001,999,0002,265,088
4Mar 30, 2026 20:385,31147,012,26514,997,0001,999,0002,387,968
5Mar 30, 2026 20:385,31848,862,30316,016,0001,001,0002,383,872
6Mar 30, 2026 20:385,32047,691,65615,022,0002,002,0002,265,088
7Mar 30, 2026 20:385,34547,072,60216,098,0001,006,0002,265,088
8Mar 30, 2026 20:385,41143,017,81716,297,0001,018,0002,379,776
9Mar 30, 2026 20:385,43542,140,09216,369,0001,023,0002,265,088