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,391Success
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,34843,762,16615,099,0002,013,0002,265,088
2Nov 1, 2021 14:355,34833,194,72515,102,0002,013,0002,392,064
3Nov 1, 2021 14:355,35233,445,09816,119,0001,007,0002,383,872
4Nov 1, 2021 14:355,37342,389,56116,184,0001,011,0002,387,968
5Nov 1, 2021 14:355,37439,334,48916,186,0001,011,0002,265,088
6Nov 1, 2021 14:355,37549,274,83816,189,0001,011,0002,265,088
7Nov 1, 2021 14:355,39134,285,73616,236,0001,014,0002,527,232
8Nov 1, 2021 14:355,39140,139,90316,236,0001,014,0002,396,160
9Nov 1, 2021 14:355,41234,827,56015,280,0002,037,0002,392,064
10Nov 1, 2021 14:355,53273,301,31317,701,05702,281,472
11Nov 1, 2021 14:355,53868,705,97817,722,26702,293,760
12Nov 1, 2021 14:355,57173,943,98017,828,55602,273,280