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 11, 2021 21:03Yuriy LyfenkoYuriy LyfenkoScore: 5,678Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 21:035,65346,213,90916,081,0002,010,0002,523,136
2May 11, 2021 21:035,65440,297,74416,084,0002,010,0002,260,992
3May 11, 2021 21:035,66247,095,48417,113,0001,006,0002,523,136
4May 11, 2021 21:035,66335,774,40316,109,0002,013,0002,396,160
5May 11, 2021 21:035,67049,756,52317,137,0001,008,0002,260,992
6May 11, 2021 21:035,67049,343,30715,121,0003,024,0002,392,064
7May 11, 2021 21:035,67834,937,61717,159,0001,009,0002,260,992
8May 11, 2021 21:035,68245,686,60416,163,0002,020,0002,260,992
9May 11, 2021 21:035,68237,960,05216,163,0002,020,0002,523,136
10May 11, 2021 21:035,87060,596,47018,784,50902,273,280
11May 11, 2021 21:035,87180,564,51018,788,36902,277,376
12May 11, 2021 21:035,90388,065,42818,889,86302,281,472