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:09Ilya AniskovetsIlya AniskovetsScore: 5,289Success
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:095,27647,849,74814,896,0001,986,0002,265,088
2Nov 1, 2021 14:095,27945,180,06914,906,0001,987,0002,396,160
3Nov 1, 2021 14:095,27940,424,91916,893,00002,265,088
4Nov 1, 2021 14:095,28345,173,15815,912,000994,0002,383,872
5Nov 1, 2021 14:095,28745,930,05914,929,0001,990,0002,265,088
6Nov 1, 2021 14:095,28738,177,88714,929,0001,990,0002,265,088
7Nov 1, 2021 14:095,28939,658,54414,935,0001,991,0002,527,232
8Nov 1, 2021 14:095,29446,909,77715,944,000996,0002,265,088
9Nov 1, 2021 14:095,30131,463,23914,969,0001,995,0002,387,968
10Nov 1, 2021 14:095,46488,264,62717,486,16302,285,568
11Nov 1, 2021 14:095,48275,941,84717,543,03002,277,376
12Nov 1, 2021 14:095,483104,109,28417,544,97702,285,568