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 listNov 1, 2021 14:35Ilya AniskovetsIlya AniskovetsScore: 5,389Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:355,34133,579,33715,080,0002,010,0002,392,064
2Nov 1, 2021 14:355,35044,019,48715,105,0002,014,0002,265,088
3Nov 1, 2021 14:355,35533,880,48416,128,0001,008,0002,265,088
4Nov 1, 2021 14:355,36743,911,42016,163,0001,010,0002,383,872
5Nov 1, 2021 14:355,37346,281,49516,181,0001,011,0002,387,968
6Nov 1, 2021 14:355,38336,699,64615,198,0002,026,0002,265,088
7Nov 1, 2021 14:355,38941,649,40416,231,0001,014,0002,265,088
8Nov 1, 2021 14:355,40444,770,72715,258,0002,034,0002,265,088
9Nov 1, 2021 14:355,43846,973,15216,379,0001,023,0002,265,088
10Nov 1, 2021 14:355,53685,064,41017,715,14302,277,376
11Nov 1, 2021 14:355,54578,785,08517,744,05302,285,568
12Nov 1, 2021 14:355,55894,262,55217,787,00102,289,664