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 23, 2021 18:39Yuriy LyfenkoYuriy LyfenkoScore: 5,124Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 18:395,09635,551,29515,288,0001,019,0002,265,088
2May 23, 2021 18:395,10834,561,79116,344,00002,383,872
3May 23, 2021 18:395,10937,110,25415,329,0001,021,0002,400,256
4May 23, 2021 18:395,11030,687,88616,352,00002,387,968
5May 23, 2021 18:395,11036,798,32615,330,0001,022,0002,400,256
6May 23, 2021 18:395,11343,201,31016,363,00002,265,088
7May 23, 2021 18:395,12440,844,00415,373,0001,024,0002,383,872
8May 23, 2021 18:395,13942,043,48415,419,0001,027,0002,265,088
9May 23, 2021 18:395,14131,947,62316,452,00002,265,088
10May 23, 2021 18:395,26476,088,64716,843,24702,289,664
11May 23, 2021 18:395,29683,945,93616,946,44302,277,376
12May 23, 2021 18:395,35994,713,93417,147,71502,281,472