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 17, 2026 17:51Victor MerckléVictor MerckléScore: 4,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2026 17:514,38522,618,42514,033,000024,576stderr
2Sep 17, 2026 17:514,38622,756,45314,036,000024,576stderr
3Sep 17, 2026 17:514,40422,838,74714,095,000024,576stderr
4Sep 17, 2026 17:514,41522,735,97814,129,000024,576stderr
5Sep 17, 2026 17:514,50322,969,31114,410,000024,576stderr
6Sep 17, 2026 17:514,50522,954,58914,416,000024,576stderr
7Sep 17, 2026 17:514,51223,058,33614,439,000024,576stderr
8Sep 17, 2026 17:514,52324,595,26314,476,000024,576stderr
9Sep 17, 2026 17:514,52523,121,09114,481,000024,576stderr