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 17, 2026 12:44Victor 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 17, 2026 12:444,02621,608,24812,885,000024,576stderr
2Sep 17, 2026 12:444,04721,724,18812,951,000024,576stderr
3Sep 17, 2026 12:444,06121,712,78812,996,000024,576stderr
4Sep 17, 2026 12:444,09321,820,17113,098,000024,576stderr
5Sep 17, 2026 12:444,10021,858,64513,123,000024,576stderr
6Sep 17, 2026 12:444,10921,858,15313,151,000024,576stderr
7Sep 17, 2026 12:444,11021,877,55513,152,000024,576stderr
8Sep 17, 2026 12:444,12022,017,66413,184,000024,576stderr
9Sep 17, 2026 12:444,15521,993,56613,298,000024,576stderr