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 listNov 12, 2024 22:39Manuel PepeManuel PepeScore: 35,206Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 22:3935,163139,410,952112,523,00002,330,624
2Nov 12, 2024 22:3935,192138,789,463112,613,00002,486,272
3Nov 12, 2024 22:3935,192140,998,361112,613,00002,330,624
4Nov 12, 2024 22:3935,206141,107,999111,653,0001,005,0002,490,368
5Nov 12, 2024 22:3935,257137,691,068110,827,0001,996,0002,330,624
6Nov 12, 2024 22:3935,276141,508,202110,886,0001,997,0002,494,464