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:51Ilya AniskovetsIlya AniskovetsScore: 5,374Success
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:515,32541,748,90515,035,0002,004,0002,527,232
2Nov 1, 2021 14:515,33237,813,81815,054,0002,007,0002,265,088
3Nov 1, 2021 14:515,33544,743,24415,065,0002,008,0002,392,064
4Nov 1, 2021 14:515,33945,149,68315,075,0002,010,0002,265,088
5Nov 1, 2021 14:515,34639,618,41915,095,0002,012,0002,379,776
6Nov 1, 2021 14:515,35943,261,81615,131,0002,017,0002,265,088
7Nov 1, 2021 14:515,37441,858,69616,185,0001,011,0002,510,848
8Nov 1, 2021 14:515,37744,735,21215,182,0002,024,0002,510,848
9Nov 1, 2021 14:515,37947,652,48216,202,0001,012,0002,392,064
10Nov 1, 2021 14:515,53184,774,34617,700,14902,281,472
11Nov 1, 2021 14:515,53879,581,41417,722,73002,281,472
12Nov 1, 2021 14:515,56596,227,18217,808,81102,285,568