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 15:10Yuriy LyfenkoYuriy LyfenkoScore: 5,526Success
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 15:105,4902,638,472,49116,593,000976,0002,269,184
2May 17, 2021 15:105,4952,388,444,84115,631,0001,953,0002,260,992
3May 17, 2021 15:105,4984,070,509,20915,640,0001,955,0002,265,088
4May 17, 2021 15:105,502991,167,06315,651,0001,956,0002,265,088
5May 17, 2021 15:105,5084,231,922,06414,689,0002,937,0002,265,088
6May 17, 2021 15:105,5164,682,284,10017,650,00002,260,992
7May 17, 2021 15:105,526900,794,22814,735,0002,947,0002,260,992
8May 17, 2021 15:105,5372,781,539,34415,750,0001,968,0002,527,232
9May 17, 2021 15:105,5492,768,147,50615,784,0001,973,0002,527,232
10May 17, 2021 15:105,6613,225,706,55918,115,52002,277,376
11May 17, 2021 15:105,6922,414,981,98018,214,00102,277,376
12May 17, 2021 15:105,693915,576,43418,218,69502,277,376