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 listAug 14, 2024 12:31scompa18scompa18Score: 11,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 14, 2024 12:3111,412107,340,72236,517,97802,236,416
2Aug 14, 2024 12:3111,448107,253,68336,632,69902,244,608
3Aug 14, 2024 12:3111,510101,092,41636,832,93802,244,608