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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 06:295,27536,642,66114,895,0001,986,0002,392,064
2May 25, 2021 06:295,27645,614,24615,889,000993,0002,265,088
3May 25, 2021 06:295,28245,942,66015,845,0001,056,0002,387,968
4May 25, 2021 06:295,28240,340,18615,908,000994,0002,269,184
5May 25, 2021 06:295,29642,794,22414,953,0001,993,0002,265,088
6May 25, 2021 06:295,29733,014,61214,955,0001,994,0002,392,064
7May 25, 2021 06:295,30540,919,47514,979,0001,997,0002,527,232
8May 25, 2021 06:295,30842,759,31914,988,0001,998,0002,265,088
9May 25, 2021 06:295,31042,696,14215,992,000999,0002,265,088
10May 25, 2021 06:295,48544,188,23117,551,25302,277,376
11May 25, 2021 06:295,50085,387,11817,600,88902,273,280
12May 25, 2021 06:295,59652,818,65017,906,99402,277,376