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 16, 2021 13:39Yuriy LyfenkoYuriy LyfenkoScore: 5,620Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:395,58236,780,35616,869,000992,0002,519,040
2May 16, 2021 13:395,58445,873,92515,884,0001,985,0002,387,968
3May 16, 2021 13:395,59251,634,90115,907,0001,988,0002,523,136
4May 16, 2021 13:395,60049,460,39715,930,0001,991,0002,519,040
5May 16, 2021 13:395,60644,344,20316,942,000996,0002,392,064
6May 16, 2021 13:395,61434,646,82814,971,0002,994,0002,519,040
7May 16, 2021 13:395,62046,400,26214,987,0002,997,0002,519,040
8May 16, 2021 13:395,62044,525,39915,986,0001,998,0002,383,872
9May 16, 2021 13:395,62843,543,69516,010,0002,001,0002,392,064
10May 16, 2021 13:395,99482,843,60719,180,24402,285,568
11May 16, 2021 13:395,99779,123,20919,190,72102,285,568
12May 16, 2021 13:396,05683,035,77119,380,42802,281,472