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 28, 2021 06:25Yuriy LyfenkoYuriy LyfenkoScore: 5,078Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 06:255,04346,011,72414,121,0002,017,0002,387,968
2May 28, 2021 06:255,05244,213,55915,155,0001,010,0002,265,088
3May 28, 2021 06:255,05331,842,47415,158,0001,010,0002,383,872
4May 28, 2021 06:255,05542,702,18014,154,0002,022,0002,265,088
5May 28, 2021 06:255,05645,063,60615,169,0001,011,0002,265,088
6May 28, 2021 06:255,06842,853,77315,204,0001,013,0002,392,064
7May 28, 2021 06:255,07840,588,66015,236,0001,015,0002,265,088
8May 28, 2021 06:255,09245,159,48315,276,0001,018,0002,527,232
9May 28, 2021 06:255,09342,545,81315,278,0001,018,0002,506,752
10May 28, 2021 06:255,22964,880,24316,733,46102,244,608
11May 28, 2021 06:255,25748,111,61316,822,69502,277,376
12May 28, 2021 06:255,28571,293,02916,912,00402,277,376