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 listJul 21, 2025 21:42Valentin KofmanValentin KofmanScore: 4,462Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2025 21:424,45438,443,81613,234,0001,018,0002,273,280
2Jul 21, 2025 21:424,45635,842,51312,222,0002,037,0002,404,352
3Jul 21, 2025 21:424,45834,882,63212,229,0002,038,0002,273,280
4Jul 21, 2025 21:424,46138,512,26012,237,0002,039,0002,404,352
5Jul 21, 2025 21:424,46233,012,09912,239,0002,039,0002,273,280
6Jul 21, 2025 21:424,47434,028,97114,316,00002,273,280
7Jul 21, 2025 21:424,47837,863,41014,328,00002,273,280
8Jul 21, 2025 21:424,47934,303,10114,333,00002,273,280
9Jul 21, 2025 21:424,49146,024,43313,345,0001,026,0002,404,352