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 11:17Ilya AniskovetsIlya AniskovetsScore: 5,475Success
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 11:175,44340,016,01816,395,0001,024,0002,289,664
2Nov 1, 2021 11:175,44737,589,47717,431,00002,289,664
3Nov 1, 2021 11:175,45843,174,11517,465,00002,265,088
4Nov 1, 2021 11:175,45943,085,53817,469,00002,281,472
5Nov 1, 2021 11:175,46034,809,74416,446,0001,027,0002,289,664
6Nov 1, 2021 11:175,47137,597,57616,479,0001,029,0002,289,664
7Nov 1, 2021 11:175,47541,982,77116,489,0001,030,0002,523,136
8Nov 1, 2021 11:175,49339,745,26816,544,0001,034,0002,289,664
9Nov 1, 2021 11:175,50834,995,81516,590,0001,036,0002,289,664
10Nov 1, 2021 11:175,62584,474,69918,000,22902,179,072
11Nov 1, 2021 11:175,63694,383,12918,036,24702,174,976
12Nov 1, 2021 11:175,67094,944,13018,144,41102,183,168