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 listOct 4, 2026 15:01Tim RaddatzTim RaddatzScore: 6,845Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 4, 2026 15:016,79132,841,09720,618,0001,114,0002,113,536
2Oct 4, 2026 15:016,79832,876,56420,644,0001,110,0002,113,536
3Oct 4, 2026 15:016,81232,156,64920,766,0001,033,0002,113,536
4Oct 4, 2026 15:016,82032,190,12020,606,0001,218,0002,113,536
5Oct 4, 2026 15:016,84532,394,84820,788,0001,118,0002,113,536
6Oct 4, 2026 15:017,58834,743,46923,176,0001,107,0002,113,536
7Oct 4, 2026 15:017,59434,763,97123,180,0001,123,0002,113,536
8Oct 4, 2026 15:017,62336,937,77323,258,0001,137,0002,113,536
9Oct 4, 2026 15:017,65035,616,70823,287,0001,193,0002,113,536