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,361Success
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:4830,340123,096,27894,086,0003,002,0002,486,272
2Nov 12, 2024 22:4930,349124,768,29195,114,0002,002,0002,330,624
3Nov 12, 2024 22:4930,360125,110,97996,152,0001,001,0002,482,176
4Nov 12, 2024 22:4930,361122,323,19896,153,0001,001,0002,486,272
5Nov 12, 2024 22:4830,362117,941,96295,154,0002,003,0002,486,272
6Nov 12, 2024 22:4830,367123,822,75195,172,0002,003,0002,330,624