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 29, 2021 23:20Yuriy LyfenkoYuriy LyfenkoScore: 5,073Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 23:205,01541,982,51215,046,0001,003,0002,383,872
2May 29, 2021 23:205,02142,257,14715,062,0001,004,0002,265,088
3May 29, 2021 23:205,02336,685,27814,064,0002,009,0002,392,064
4May 29, 2021 23:205,02848,151,61614,078,0002,011,0002,392,064
5May 29, 2021 23:205,04340,698,53814,120,0002,017,0002,400,256
6May 29, 2021 23:205,05732,433,73215,170,0001,011,0002,400,256
7May 29, 2021 23:205,07331,876,79015,219,0001,014,0002,265,088
8May 29, 2021 23:205,08838,355,64215,263,0001,017,0002,265,088
9May 29, 2021 23:205,08932,371,45914,250,0002,035,0002,265,088
10May 29, 2021 23:205,20480,594,04116,651,72202,273,280
11May 29, 2021 23:205,22082,555,51116,703,66202,269,184
12May 29, 2021 23:205,24888,264,34116,794,86502,277,376