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 17:40Yuriy LyfenkoYuriy LyfenkoScore: 5,593Success
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 17:405,55142,575,76517,762,00002,260,992
2May 11, 2021 17:405,57543,057,28315,858,0001,982,0002,519,040
3May 11, 2021 17:405,58442,531,32115,883,0001,985,0002,519,040
4May 11, 2021 17:405,58447,653,76315,885,0001,985,0002,396,160
5May 11, 2021 17:405,58844,540,04216,888,000993,0002,519,040
6May 11, 2021 17:405,59049,772,45816,894,000993,0002,260,992
7May 11, 2021 17:405,59341,094,60316,902,000994,0002,392,064
8May 11, 2021 17:405,59533,540,79915,914,0001,989,0002,392,064
9May 11, 2021 17:405,60844,170,14215,951,0001,993,0002,519,040
10May 11, 2021 17:405,967102,666,30419,094,37302,277,376
11May 11, 2021 17:406,00993,608,82319,228,61502,289,664
12May 11, 2021 17:406,04177,741,75419,329,95502,281,472