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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2026 14:324,05621,070,88112,980,000024,576stderr
2Sep 2, 2026 14:324,06821,147,39013,020,000024,576stderr
3Sep 2, 2026 14:324,11721,334,85113,175,000024,576stderr
4Sep 2, 2026 14:324,13621,510,40713,237,000024,576stderr
5Sep 2, 2026 14:324,15221,445,01213,288,000024,576stderr
6Sep 2, 2026 14:324,16022,949,12113,312,000024,576stderr
7Sep 2, 2026 14:324,16821,591,04813,339,000024,576stderr
8Sep 2, 2026 14:324,16824,603,47213,339,000024,576stderr
9Sep 2, 2026 14:324,18521,499,01413,394,000024,576stderr