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 listMay 21, 2021 09:46Andrei GrazhdankovAndrei GrazhdankovScore: 12,182Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 09:4612,00996,741,32038,429,50002,248,704
2May 21, 2021 09:4612,046107,749,31738,547,86402,244,608
3May 21, 2021 09:4612,05295,303,15138,565,36502,248,704
4May 21, 2021 09:4612,18294,482,37038,983,21702,248,704
5May 21, 2021 09:4612,189103,510,78439,003,45902,248,704
6May 21, 2021 09:4612,199104,584,33739,036,35202,256,896