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 14, 2026 14:50Victor MerckléVictor MerckléScore: 4,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2026 14:514,04321,636,43712,939,000024,576stderr
2Sep 14, 2026 14:514,05121,759,15912,965,000024,576stderr
3Sep 14, 2026 14:514,05321,650,01112,970,000024,576stderr
4Sep 14, 2026 14:514,08121,803,10913,062,000024,576stderr
5Sep 14, 2026 14:514,14723,204,78813,273,000024,576stderr
6Sep 14, 2026 14:514,15022,058,97613,280,000024,576stderr
7Sep 14, 2026 14:514,15122,030,97913,286,000024,576stderr
8Sep 14, 2026 14:514,15321,906,19413,292,000024,576stderr
9Sep 14, 2026 14:514,15421,960,98213,294,000024,576stderr