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 22:51Yuriy LyfenkoYuriy LyfenkoScore: 5,483Success
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 22:515,43248,007,59516,361,0001,022,0002,523,136
2May 13, 2021 22:515,45230,958,48116,419,0001,026,0002,523,136
3May 13, 2021 22:515,45431,212,06316,427,0001,026,0002,396,160
4May 13, 2021 22:515,45641,060,95017,460,00002,387,968
5May 13, 2021 22:515,46732,088,90116,465,0001,029,0002,260,992
6May 13, 2021 22:515,47343,508,08816,483,0001,030,0002,400,256
7May 13, 2021 22:515,48334,813,57716,513,0001,032,0002,523,136
8May 13, 2021 22:515,48838,213,59517,561,00002,396,160
9May 13, 2021 22:515,49039,289,89014,467,0003,100,0002,523,136
10May 13, 2021 22:515,67582,692,89918,160,21902,281,472
11May 13, 2021 22:515,68675,031,54018,195,15102,269,184
12May 13, 2021 22:515,70290,431,21018,247,90302,281,472