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 22:55Yuriy LyfenkoYuriy LyfenkoScore: 5,562Success
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 22:555,5243,453,694,23015,713,0001,964,0002,519,040
2May 16, 2021 22:555,534437,640,90516,727,000983,0002,519,040
3May 16, 2021 22:555,5543,527,252,83616,785,000987,0002,527,232
4May 16, 2021 22:555,556299,498,02915,803,0001,975,0002,265,088
5May 16, 2021 22:555,5604,277,341,41614,828,0002,965,0002,490,368
6May 16, 2021 22:555,5612,624,741,72315,818,0001,977,0002,523,136
7May 16, 2021 22:555,5624,283,734,88214,833,0002,966,0002,523,136
8May 16, 2021 22:555,5704,760,939,83417,823,00002,260,992
9May 16, 2021 22:555,5861,116,532,68613,904,0003,972,0002,260,992
10May 16, 2021 22:555,8852,905,585,63518,831,59302,285,568
11May 16, 2021 22:555,923438,377,60118,953,24102,285,568
12May 16, 2021 22:555,9363,988,968,31718,994,69002,281,472