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 1, 2026 08:34Victor MerckléVictor MerckléScore: 4,163Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 08:354,15221,680,52513,289,000024,576stderr
2Sep 1, 2026 08:354,15821,742,81613,308,000024,576stderr
3Sep 1, 2026 08:354,15921,735,67113,310,000024,576stderr
4Sep 1, 2026 08:354,15921,682,07613,310,000024,576stderr
5Sep 1, 2026 08:354,16323,037,31613,322,000024,576stderr
6Sep 1, 2026 08:354,17221,721,83313,352,000024,576stderr
7Sep 1, 2026 08:354,17421,794,45513,358,000024,576stderr
8Sep 1, 2026 08:354,17521,755,11213,361,000024,576stderr
9Sep 1, 2026 08:354,17521,784,17813,361,000024,576stderr