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:50Dmitry DolgopolovDmitry DolgopolovScore: 5,031Success
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:504,98943,414,08013,971,0001,995,0002,273,280
2May 28, 2021 20:504,99835,050,86913,995,0001,999,0002,535,424
3May 28, 2021 20:504,99838,557,69013,996,0001,999,0002,535,424
4May 28, 2021 20:505,00336,700,39314,007,0002,001,0002,273,280
5May 28, 2021 20:505,00838,765,23014,022,0002,003,0002,445,312
6May 28, 2021 20:505,00934,273,18714,025,0002,003,0002,453,504
7May 28, 2021 20:505,03145,187,60014,088,0002,012,0002,273,280
8May 28, 2021 20:505,04042,616,41614,113,0002,016,0002,535,424
9May 28, 2021 20:505,04336,100,77214,122,0002,017,0002,273,280
10May 28, 2021 20:505,26578,168,05916,849,05802,207,744
11May 28, 2021 20:505,27781,888,97316,886,05102,199,552
12May 28, 2021 20:505,39943,206,51417,275,72902,203,648