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:48Ilya AniskovetsIlya AniskovetsScore: 5,401Success
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:485,35839,173,48816,136,0001,008,0002,387,968
2Nov 1, 2021 14:485,35935,447,22015,132,0002,017,0002,265,088
3Nov 1, 2021 14:485,36043,515,16116,143,0001,008,0002,387,968
4Nov 1, 2021 14:485,37441,536,52315,173,0002,023,0002,392,064
5Nov 1, 2021 14:485,38335,720,51316,213,0001,013,0002,502,656
6Nov 1, 2021 14:485,39142,436,17516,237,0001,014,0002,383,872
7Nov 1, 2021 14:485,40147,694,40615,250,0002,033,0002,265,088
8Nov 1, 2021 14:485,41149,219,18916,297,0001,018,0002,265,088
9Nov 1, 2021 14:485,44133,272,74517,412,00002,387,968
10Nov 1, 2021 14:485,52289,065,38517,669,56702,277,376
11Nov 1, 2021 14:485,53390,476,21217,704,51202,285,568
12Nov 1, 2021 14:485,55089,735,76017,760,25402,285,568