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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:395,27042,779,79815,872,000992,0002,523,136
2May 19, 2021 23:395,27046,313,19015,873,000992,0002,523,136
3May 19, 2021 23:395,27345,672,37814,889,0001,985,0002,392,064
4May 19, 2021 23:395,27440,854,04013,898,0002,978,0002,396,160
5May 19, 2021 23:395,27444,978,42315,885,000992,0002,396,160
6May 19, 2021 23:395,27741,253,83513,907,0002,980,0002,523,136
7May 19, 2021 23:395,30539,932,34914,978,0001,997,0002,400,256
8May 19, 2021 23:395,30633,679,12714,981,0001,997,0002,392,064
9May 19, 2021 23:395,31535,659,94415,008,0002,001,0002,523,136
10May 19, 2021 23:395,48582,950,58617,551,68102,273,280
11May 19, 2021 23:395,52368,946,96017,672,24202,281,472
12May 19, 2021 23:395,53084,278,61117,696,27002,273,280
13May 19, 2021 23:395,53282,319,25617,701,84902,277,376
14May 19, 2021 23:395,53281,331,87517,703,32202,281,472
15May 19, 2021 23:395,53876,129,43817,722,75202,281,472