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 listFeb 27, 2023 13:39Yuriy LyfenkoYuriy LyfenkoScore: 4,574Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 13:394,547537,769,71314,549,00002,523,136
2Feb 27, 2023 13:394,557545,298,83613,541,0001,041,0002,260,992
3Feb 27, 2023 13:394,560539,789,14513,551,0001,042,0002,523,136
4Feb 27, 2023 13:394,562545,952,69111,471,0003,128,0002,265,088
5Feb 27, 2023 13:394,563546,488,42814,600,00002,260,992
6Feb 27, 2023 13:394,565541,960,93014,607,00002,265,088
7Feb 27, 2023 13:394,574541,290,96313,591,0001,045,0002,523,136
8Feb 27, 2023 13:394,618540,876,63412,809,0001,970,0002,523,136
9Feb 27, 2023 13:394,621542,201,66814,786,00002,392,064
10Feb 27, 2023 13:394,728580,979,77415,129,21502,281,472
11Feb 27, 2023 13:394,732577,916,99515,141,68902,277,376
12Feb 27, 2023 13:394,763593,501,40415,242,94902,273,280