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:41Ilya AniskovetsIlya AniskovetsScore: 5,397Success
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:415,35043,067,28315,106,0002,014,0002,379,776
2Nov 1, 2021 14:415,36845,480,31115,156,0002,020,0002,265,088
3Nov 1, 2021 14:415,37346,002,66516,184,0001,011,0002,265,088
4Nov 1, 2021 14:415,37744,616,50416,193,0001,012,0002,375,680
5Nov 1, 2021 14:415,39235,035,00215,225,0002,029,0002,527,232
6Nov 1, 2021 14:415,39634,858,80215,236,0002,031,0002,392,064
7Nov 1, 2021 14:415,39744,732,47016,254,0001,015,0002,396,160
8Nov 1, 2021 14:415,39847,026,54516,258,0001,016,0002,265,088
9Nov 1, 2021 14:415,42837,047,42016,349,0001,021,0002,379,776
10Nov 1, 2021 14:415,52587,159,02917,680,58502,269,184
11Nov 1, 2021 14:415,54368,789,97517,736,72202,285,568
12Nov 1, 2021 14:415,56384,924,80917,802,39902,281,472