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 27, 2021 16:38Yurkov AlekseyYurkov AlekseyScore: 35,149Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 16:3835,014182,675,001112,044,03402,240,512
2May 27, 2021 16:3535,017180,510,010112,054,10602,244,608
3May 27, 2021 16:3535,099151,844,986112,317,30202,387,968
4May 27, 2021 16:3835,149155,750,612112,475,89002,244,608
5May 27, 2021 16:3835,202163,896,268112,647,81802,240,512
6May 27, 2021 16:3535,229163,753,059112,734,27502,367,488