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 listOct 17, 2025 11:43caandocaandoScore: 4,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 17, 2025 11:434,64730,734,59514,871,00002,265,088
2Oct 17, 2025 11:434,64841,217,34912,891,0001,983,0002,285,568
3Oct 17, 2025 11:434,64838,536,93313,884,000991,0002,269,184
4Oct 17, 2025 11:434,65135,907,24312,899,0001,984,0002,285,568
5Oct 17, 2025 11:434,65143,678,19912,900,0001,984,0002,265,088
6Oct 17, 2025 11:434,65630,494,27512,914,0001,986,0002,265,088
7Oct 17, 2025 11:434,67331,867,43212,961,0001,994,0002,285,568
8Oct 17, 2025 11:434,67429,354,43012,964,0001,994,0002,281,472
9Oct 17, 2025 11:434,68633,304,60612,996,0001,999,0002,269,184