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 17, 2021 23:26Yuriy LyfenkoYuriy LyfenkoScore: 5,283Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:265,231567,009,61315,694,0001,046,0002,396,160
2May 17, 2021 23:265,2332,366,040,02415,760,000985,0002,523,136
3May 17, 2021 23:265,239509,606,67715,780,000986,0002,383,872
4May 17, 2021 23:265,240134,647,08212,822,0003,945,0002,260,992
5May 17, 2021 23:265,2532,394,129,05316,809,00002,527,232
6May 17, 2021 23:265,2791,523,226,29614,905,0001,987,0002,387,968
7May 17, 2021 23:265,283619,000,34516,904,00002,523,136
8May 17, 2021 23:265,2892,409,834,70414,933,0001,991,0002,523,136
9May 17, 2021 23:265,2911,785,274,72314,939,0001,991,0002,260,992
10May 17, 2021 23:265,4202,983,258,40617,342,97802,281,472
11May 17, 2021 23:265,4271,413,410,69017,365,43902,281,472
12May 17, 2021 23:265,457639,367,66517,461,74802,281,472