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 23, 2021 19:37Yuriy LyfenkoYuriy LyfenkoScore: 5,087Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 19:375,05131,199,06214,144,0002,020,0002,265,088
2May 23, 2021 19:375,06643,047,25015,197,0001,013,0002,265,088
3May 23, 2021 19:375,06745,745,47114,188,0002,026,0002,392,064
4May 23, 2021 19:375,07334,643,65914,204,0002,029,0002,396,160
5May 23, 2021 19:375,07936,765,97214,222,0002,031,0002,523,136
6May 23, 2021 19:375,08352,570,59814,234,0002,033,0002,265,088
7May 23, 2021 19:375,08739,092,22516,277,00002,265,088
8May 23, 2021 19:375,09135,885,35415,274,0001,018,0002,392,064
9May 23, 2021 19:375,12235,100,07616,389,00002,506,752
10May 23, 2021 19:375,29095,632,31016,927,24102,273,280
11May 23, 2021 19:375,31979,296,09917,021,54202,273,280
12May 23, 2021 19:375,33395,741,82517,065,79802,281,472