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 15, 2021 21:42Yuriy LyfenkoYuriy LyfenkoScore: 5,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 21:425,44438,365,91115,371,0002,049,0002,523,136
2May 15, 2021 21:425,45138,348,26417,442,00002,519,040
3May 15, 2021 21:425,45239,456,88815,393,0002,052,0002,392,064
4May 15, 2021 21:425,45441,131,77716,428,0001,026,0002,392,064
5May 15, 2021 21:425,45852,179,15617,465,00002,400,256
6May 15, 2021 21:425,46643,856,51915,434,0002,057,0002,519,040
7May 15, 2021 21:425,46844,475,11415,440,0002,058,0002,519,040
8May 15, 2021 21:425,46945,631,61516,471,0001,029,0002,519,040
9May 15, 2021 21:425,48038,635,28717,537,00002,519,040
10May 15, 2021 21:425,68181,103,77918,180,72902,281,472
11May 15, 2021 21:425,70273,477,47818,246,42102,285,568
12May 15, 2021 21:425,73784,951,43918,359,49502,277,376