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 16, 2021 15:57Yuriy LyfenkoYuriy LyfenkoScore: 5,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 15:575,43239,129,60716,360,0001,022,0002,375,680
2May 16, 2021 15:575,43938,799,33615,357,0002,047,0002,392,064
3May 16, 2021 15:575,46132,361,98716,448,0001,028,0002,519,040
4May 16, 2021 15:575,46244,291,54516,450,0001,028,0002,519,040
5May 16, 2021 15:575,46839,829,56615,438,0002,058,0002,519,040
6May 16, 2021 15:575,46940,439,47916,471,0001,029,0002,392,064
7May 16, 2021 15:575,46941,976,77316,472,0001,029,0002,519,040
8May 16, 2021 15:575,47636,634,18517,523,00002,387,968
9May 16, 2021 15:575,49039,902,47616,536,0001,033,0002,383,872
10May 16, 2021 15:575,69788,589,49918,230,24002,273,280
11May 16, 2021 15:575,72957,763,89318,332,87702,273,280
12May 16, 2021 15:575,74280,938,55418,375,04302,277,376