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 listApr 7, 2022 20:52Egor SergeevEgor SergeevScore: 5,268Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 20:525,18039,170,31816,577,00002,277,376
2Apr 7, 2022 20:525,18240,255,42116,582,00002,498,560
3Apr 7, 2022 20:525,20141,170,88116,643,00002,498,560
4Apr 7, 2022 20:525,20337,871,58916,650,00002,535,424
5Apr 7, 2022 20:525,20534,966,63116,655,00002,502,656
6Apr 7, 2022 20:525,22736,644,26716,726,00002,277,376
7Apr 7, 2022 20:525,26835,238,55715,868,000991,0002,498,560
8Apr 7, 2022 20:525,27544,450,77816,880,00002,273,280
9Apr 7, 2022 20:525,28043,374,66115,902,000993,0002,277,376
10Apr 7, 2022 20:525,42951,367,40417,374,31002,252,800
11Apr 7, 2022 20:525,46262,396,94317,478,78802,240,512
12Apr 7, 2022 20:525,48579,588,14917,553,07902,260,992