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 16, 2026 12:02limanjun99limanjun99Score: 4,803Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2026 12:024,79232,725,89114,312,0001,022,0002,289,664
2Mar 16, 2026 12:024,79232,935,41513,291,0002,044,0002,289,664
3Mar 16, 2026 12:024,79430,394,04814,320,0001,022,0002,289,664
4Mar 16, 2026 12:024,79730,231,22014,327,0001,023,0002,289,664
5Mar 16, 2026 12:024,80344,778,73113,321,0002,049,0002,289,664
6Mar 16, 2026 12:024,80532,902,03014,350,0001,025,0002,289,664
7Mar 16, 2026 12:024,81337,259,69415,401,00002,289,664
8Mar 16, 2026 12:024,81735,633,55314,388,0001,027,0002,519,040
9Mar 16, 2026 12:024,96246,300,37714,885,000992,0002,260,992