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 listJul 15, 2024 13:33kytanskytansScore: 20,127Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 13:3419,964131,901,19063,883,54902,232,320
2Jul 15, 2024 13:3320,034120,478,01664,110,10602,236,416
3Jul 15, 2024 13:3420,035129,653,34564,111,34002,244,608
4Jul 15, 2024 13:3320,127124,301,35264,405,75802,236,416
5Jul 15, 2024 13:3320,138120,283,49264,443,08502,232,320
6Jul 15, 2024 13:3420,143127,251,20864,457,94602,232,320