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 11, 2021 19:02Yuriy LyfenkoYuriy LyfenkoScore: 5,704Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:025,65343,340,15816,081,0002,010,0002,519,040
2May 11, 2021 19:025,67832,957,30515,143,0003,028,0002,510,848
3May 11, 2021 19:025,68335,575,88716,166,0002,020,0002,519,040
4May 11, 2021 19:025,68342,741,16616,166,0002,020,0002,383,872
5May 11, 2021 19:025,69343,782,43417,205,0001,012,0002,383,872
6May 11, 2021 19:025,69436,408,53017,210,0001,012,0002,519,040
7May 11, 2021 19:025,70446,134,24216,224,0002,028,0002,383,872
8May 11, 2021 19:025,71540,881,97217,273,0001,016,0002,392,064
9May 11, 2021 19:025,71647,693,08916,260,0002,032,0002,519,040
10May 11, 2021 19:025,92591,863,58418,958,42402,285,568
11May 11, 2021 19:025,94086,860,12119,008,12302,273,280
12May 11, 2021 19:025,97179,015,73019,106,99502,277,376