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 24, 2021 19:35Yuriy LyfenkoYuriy LyfenkoScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 19:355,20242,551,96516,647,00002,523,136
2May 24, 2021 19:355,20337,665,17315,609,0001,040,0002,400,256
3May 24, 2021 19:355,21635,610,45015,647,0001,043,0002,396,160
4May 24, 2021 19:355,22642,963,92615,677,0001,045,0002,523,136
5May 24, 2021 19:355,26834,973,99615,867,000991,0002,400,256
6May 24, 2021 19:355,27344,817,71616,872,00002,260,992
7May 24, 2021 19:355,27341,747,02615,881,000992,0002,260,992
8May 24, 2021 19:355,27635,903,82814,898,0001,986,0002,523,136
9May 24, 2021 19:355,27742,112,93814,900,0001,986,0002,387,968
10May 24, 2021 19:355,39140,078,85117,251,58202,281,472
11May 24, 2021 19:355,44881,860,30317,434,10702,277,376
12May 24, 2021 19:355,50239,676,32817,605,33702,211,840