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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 19:585,19840,483,49015,594,0001,039,0002,527,232
2May 23, 2021 19:585,19942,959,61716,636,00002,269,184
3May 23, 2021 19:585,20445,943,44716,652,00002,265,088
4May 23, 2021 19:585,20741,072,30816,663,00002,392,064
5May 23, 2021 19:585,21144,909,69515,633,0001,042,0002,396,160
6May 23, 2021 19:585,21248,985,25716,678,00002,400,256
7May 23, 2021 19:585,22332,069,37315,671,0001,044,0002,265,088
8May 23, 2021 19:585,25532,426,80716,816,00002,400,256
9May 23, 2021 19:585,27042,570,98715,872,000992,0002,265,088
10May 23, 2021 19:585,42178,739,34317,347,00802,281,472
11May 23, 2021 19:585,43483,528,94017,387,60902,269,184
12May 23, 2021 19:585,45979,552,01417,467,86202,265,088