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 listJan 15, 2025 01:25Ian MckibbenIan MckibbenScore: 5,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2025 01:255,40834,607,38615,271,0002,036,0002,293,760
2Jan 15, 2025 01:255,43038,227,73415,331,0002,044,0002,277,376
3Jan 15, 2025 01:255,44138,307,28816,386,0001,024,0002,289,664
4Jan 15, 2025 01:255,44938,736,06016,413,0001,025,0002,277,376
5Jan 15, 2025 01:255,46044,593,88417,473,00002,293,760
6Jan 15, 2025 01:255,46239,266,72116,449,0001,028,0002,293,760
7Jan 15, 2025 01:255,48044,837,92216,506,0001,031,0002,293,760
8Jan 15, 2025 01:255,48542,393,30316,521,0001,032,0002,293,760
9Jan 15, 2025 01:255,49540,246,14517,584,00002,293,760