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 listMay 16, 2026 15:37SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 4,904Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 15:374,88524,896,58015,632,00002,113,536
2May 16, 2026 15:374,88826,936,83415,644,00002,113,536
3May 16, 2026 15:374,90027,126,91915,683,00002,113,536
4May 16, 2026 15:374,90225,640,22015,687,00002,113,536
5May 16, 2026 15:374,90424,642,93415,694,00002,113,536
6May 16, 2026 15:374,90625,367,82115,701,00002,113,536
7May 16, 2026 15:374,92924,362,54015,774,00002,113,536
8May 16, 2026 15:374,94726,583,29215,831,00002,113,536
9May 16, 2026 15:374,95626,302,45214,826,0001,035,0002,113,536