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 19:03Victor MerckléVictor MerckléScore: 4,100Success
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 19:034,01621,314,56012,853,000024,576stderr
2Sep 3, 2026 19:034,02122,528,96912,869,000024,576stderr
3Sep 3, 2026 19:034,02321,226,18412,876,000024,576stderr
4Sep 3, 2026 19:034,02621,237,20112,884,000024,576stderr
5Sep 3, 2026 19:034,10021,550,89013,123,000024,576stderr
6Sep 3, 2026 19:034,10521,447,77713,139,000024,576stderr
7Sep 3, 2026 19:034,11021,580,40013,152,000024,576stderr
8Sep 3, 2026 19:034,11221,521,25813,160,000024,576stderr
9Sep 3, 2026 19:034,11521,619,89913,168,000024,576stderr