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 22, 2024 23:24MatthiasMatthiasScore: 16,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 22, 2024 23:2416,86376,321,24251,964,0001,998,0002,265,088
2Nov 22, 2024 23:2416,87378,746,99052,993,000999,0002,289,664
3Nov 22, 2024 23:2416,87378,637,61151,996,0001,999,0002,269,184
4Nov 22, 2024 23:2416,89682,197,39852,065,0002,002,0002,289,664
5Nov 22, 2024 23:2416,89681,888,49952,065,0002,002,0002,289,664
6Nov 22, 2024 23:2416,90277,305,87653,084,0001,001,0002,265,088
7Nov 22, 2024 23:2416,90380,496,41353,088,0001,001,0002,289,664
8Nov 22, 2024 23:2416,90780,317,81852,100,0002,003,0002,289,664
9Nov 22, 2024 23:2416,91777,304,70552,130,0002,005,0002,265,088