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:44Manuel PepeManuel PepeScore: 28,896Success
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:4428,829121,059,00190,247,0002,005,0002,330,624
2Nov 12, 2024 22:4428,829116,377,71290,248,0002,005,0002,330,624
3Nov 12, 2024 22:4428,858113,326,53790,338,0002,007,0002,330,624
4Nov 12, 2024 22:4428,874113,814,59990,389,0002,008,0002,334,720
5Nov 12, 2024 22:4428,896116,459,69091,462,0001,005,0002,330,624
6Nov 12, 2024 22:4428,903119,359,73190,481,0002,010,0002,473,984
7Nov 12, 2024 22:4428,908114,782,22991,501,0001,005,0002,330,624
8Nov 12, 2024 22:4428,929123,462,39291,566,0001,006,0002,330,624
9Nov 12, 2024 22:4428,954121,151,12891,646,0001,007,0002,490,368