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 listAug 4, 2026 15:02C21C21Score: 41,711Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2026 15:0240,136139,225,51521,913,000106,524,0002,113,536
2Aug 4, 2026 15:0240,212138,757,53621,896,000106,784,0002,113,536
3Aug 4, 2026 15:0240,389139,472,72821,932,000107,313,0002,113,536
4Aug 4, 2026 15:0241,177142,467,66322,541,000109,226,0002,113,536
5Aug 4, 2026 15:0241,711143,507,22722,618,000110,858,0002,113,536
6Aug 4, 2026 15:0241,763143,693,27322,709,000110,934,0002,113,536
7Aug 4, 2026 15:0241,773143,853,05622,503,000111,173,0002,113,536
8Aug 4, 2026 15:0241,800144,438,04022,734,000111,028,0002,113,536
9Aug 4, 2026 15:0241,861145,320,31422,491,000111,465,0002,113,536