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 30, 2021 14:57Yuriy LyfenkoYuriy LyfenkoScore: 5,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 14:575,02243,968,03014,061,0002,008,0002,256,896
2May 30, 2021 14:575,02445,408,39114,068,0002,009,0002,392,064
3May 30, 2021 14:575,02731,983,95414,076,0002,010,0002,396,160
4May 30, 2021 14:575,04330,197,99915,128,0001,008,0002,265,088
5May 30, 2021 14:575,04843,588,28914,134,0002,019,0002,387,968
6May 30, 2021 14:575,04935,538,34515,149,0001,009,0002,265,088
7May 30, 2021 14:575,05350,265,07114,149,0002,021,0002,265,088
8May 30, 2021 14:575,05331,115,84715,161,0001,010,0002,265,088
9May 30, 2021 14:575,07533,157,22314,210,0002,030,0002,265,088
10May 30, 2021 14:575,21182,984,60316,674,29802,273,280
11May 30, 2021 14:575,23983,177,30416,764,65802,265,088
12May 30, 2021 14:575,25089,588,42016,800,16202,277,376