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 listOct 27, 2021 09:37Ilya AniskovetsIlya AniskovetsScore: 5,390Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 09:375,32841,643,30615,044,0002,005,0002,265,088
2Oct 27, 2021 09:375,33040,069,79916,052,0001,003,0002,387,968
3Oct 27, 2021 09:375,34346,270,14615,087,0002,011,0002,265,088
4Oct 27, 2021 09:375,35034,188,78315,105,0002,014,0002,387,968
5Oct 27, 2021 09:375,36743,494,11616,163,0001,010,0002,265,088
6Oct 27, 2021 09:375,36945,010,94615,160,0002,021,0002,265,088
7Oct 27, 2021 09:375,39042,276,02915,220,0002,029,0002,265,088
8Oct 27, 2021 09:375,39544,978,70916,250,0001,015,0002,473,984
9Oct 27, 2021 09:375,41434,350,47715,288,0002,038,0002,265,088
10Oct 27, 2021 09:375,59779,269,60317,910,01502,285,568
11Oct 27, 2021 09:375,59989,201,78217,917,44402,281,472
12Oct 27, 2021 09:375,644107,161,23318,061,82802,281,472