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:48Manuel PepeManuel PepeScore: 30,486Success
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:4730,454122,994,68396,449,0001,004,0002,330,624
2Nov 12, 2024 22:4830,456121,448,67396,455,0001,004,0002,322,432
3Nov 12, 2024 22:4730,461126,768,61996,470,0001,004,0002,490,368
4Nov 12, 2024 22:4730,486122,639,28196,551,0001,005,0002,330,624
5Nov 12, 2024 22:4830,486123,200,67396,550,0001,005,0002,330,624
6Nov 12, 2024 22:4830,503126,892,59096,605,0001,006,0002,482,176