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 listSep 2, 2026 11:51Victor MerckléVictor MerckléScore: 4,130Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2026 11:514,11921,356,32913,183,000024,576stderr
2Sep 2, 2026 11:514,12022,282,12313,185,000024,576stderr
3Sep 2, 2026 11:514,12221,463,17813,191,000024,576stderr
4Sep 2, 2026 11:514,13021,528,64813,217,000024,576stderr
5Sep 2, 2026 11:514,13021,644,84913,216,000024,576stderr
6Sep 2, 2026 11:514,13021,449,00913,216,000024,576stderr
7Sep 2, 2026 11:514,14021,483,87613,249,000024,576stderr
8Sep 2, 2026 11:514,14421,546,67513,262,000024,576stderr
9Sep 2, 2026 11:514,17823,758,18013,370,000024,576stderr