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 20:48Dmitry DolgopolovDmitry DolgopolovScore: 5,017Success
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 20:484,98831,198,00613,968,0001,995,0002,437,120
2May 28, 2021 20:484,99634,465,16613,990,0001,998,0002,273,280
3May 28, 2021 20:484,99836,412,22613,994,0001,999,0002,535,424
4May 28, 2021 20:485,01539,949,34814,042,0002,006,0002,433,024
5May 28, 2021 20:485,01635,996,81514,045,0002,006,0002,535,424
6May 28, 2021 20:485,01737,550,95414,047,0002,006,0002,535,424
7May 28, 2021 20:485,01731,260,77414,047,0002,006,0002,273,280
8May 28, 2021 20:485,02939,635,24814,081,0002,011,0002,273,280
9May 28, 2021 20:485,03244,290,06214,089,0002,012,0002,273,280
10May 28, 2021 20:485,266103,681,50916,849,99802,203,648
11May 28, 2021 20:485,27052,168,52016,864,00602,207,744
12May 28, 2021 20:485,29951,981,79516,955,42402,203,648