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 3, 2026 18:03Victor MerckléVictor MerckléScore: 4,160Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2026 18:034,14821,624,12113,274,000024,576stderr
2Sep 3, 2026 18:034,15421,603,10113,295,000024,576stderr
3Sep 3, 2026 18:034,15421,662,69613,294,000024,576stderr
4Sep 3, 2026 18:034,15621,492,11813,300,000024,576stderr
5Sep 3, 2026 18:034,16021,645,66613,314,000024,576stderr
6Sep 3, 2026 18:034,16221,661,15413,321,000024,576stderr
7Sep 3, 2026 18:034,17322,142,86413,354,000024,576stderr
8Sep 3, 2026 18:034,20921,631,91213,470,000024,576stderr
9Sep 3, 2026 18:034,21321,719,54113,482,000024,576stderr