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 11, 2021 15:07Sergey StreminSergey StreminScore: 11,856Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 15:0711,78096,411,98337,697,50002,199,552
2May 11, 2021 15:0711,814103,557,32137,805,95702,199,552
3May 11, 2021 15:0711,835107,558,66137,870,62402,195,456
4May 11, 2021 15:0711,840107,525,93937,887,84302,203,648
5May 11, 2021 15:0711,85692,930,42037,938,11102,207,744
6May 11, 2021 15:0711,877103,091,05038,007,42102,191,360
7May 11, 2021 15:0711,88197,256,28738,018,00002,207,744
8May 11, 2021 15:0711,889136,741,58738,045,52902,191,360
9May 11, 2021 15:0711,891109,029,79938,052,38202,191,360