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 18, 2025 22:34Ian MckibbenIan MckibbenScore: 5,385Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2025 22:345,35941,819,76215,131,0002,017,0002,293,760
2Jan 18, 2025 22:345,37138,886,88115,165,0002,022,0002,293,760
3Jan 18, 2025 22:345,37642,444,48115,180,0002,024,0002,293,760
4Jan 18, 2025 22:345,38240,307,43415,195,0002,026,0002,293,760
5Jan 18, 2025 22:345,38533,842,70915,206,0002,027,0002,281,472
6Jan 18, 2025 22:345,42042,494,21116,323,0001,020,0002,293,760
7Jan 18, 2025 22:345,42542,898,98415,319,0002,042,0002,293,760
8Jan 18, 2025 22:345,42748,776,95615,323,0002,043,0002,293,760
9Jan 18, 2025 22:345,42834,780,39615,327,0002,043,0002,293,760