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 17:42Yuriy LyfenkoYuriy LyfenkoScore: 5,490Success
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 17:425,45243,636,65115,395,0002,052,0002,383,872
2May 11, 2021 17:425,45745,322,09616,434,0001,027,0002,387,968
3May 11, 2021 17:425,45941,357,47815,413,0002,055,0002,396,160
4May 11, 2021 17:425,46743,613,54916,465,0001,029,0002,392,064
5May 11, 2021 17:425,48334,709,40416,514,0001,032,0002,519,040
6May 11, 2021 17:425,48443,789,86815,486,0002,064,0002,519,040
7May 11, 2021 17:425,49032,310,82916,536,0001,033,0002,519,040
8May 11, 2021 17:425,58442,138,71615,884,0001,985,0002,387,968
9May 11, 2021 17:425,61940,361,80915,983,0001,997,0002,387,968
10May 11, 2021 17:425,70484,773,93718,252,70802,277,376
11May 11, 2021 17:425,75567,624,61118,414,70702,285,568
12May 11, 2021 17:425,83869,248,19518,683,13302,281,472