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 13, 2021 23:38Yuriy LyfenkoYuriy LyfenkoScore: 5,473Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 23:385,42540,662,69817,361,00002,387,968
2May 13, 2021 23:385,43735,938,09016,375,0001,023,0002,260,992
3May 13, 2021 23:385,45033,528,11617,439,00002,396,160
4May 13, 2021 23:385,45238,997,03215,394,0002,052,0002,523,136
5May 13, 2021 23:385,45634,151,41415,406,0002,054,0002,523,136
6May 13, 2021 23:385,46642,494,07717,492,00002,260,992
7May 13, 2021 23:385,47338,130,78416,483,0001,030,0002,396,160
8May 13, 2021 23:385,48936,565,47716,531,0001,033,0002,392,064
9May 13, 2021 23:385,49644,459,92916,553,0001,034,0002,400,256
10May 13, 2021 23:386,14369,315,21019,657,08902,277,376
11May 13, 2021 23:386,17782,893,40119,765,02602,277,376
12May 13, 2021 23:386,20582,060,31619,854,75802,277,376