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 7, 2023 16:41Pavel ZagrebinPavel ZagrebinScore: 5,303Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 16:415,27835,336,82315,833,0001,055,0002,387,968
2Oct 7, 2023 16:415,28046,896,29115,841,0001,056,0002,392,064
3Oct 7, 2023 16:415,28144,081,93414,912,0001,988,0002,265,088
4Oct 7, 2023 16:415,28233,589,92915,907,000994,0002,527,232
5Oct 7, 2023 16:415,28942,705,47214,935,0001,991,0002,387,968
6Oct 7, 2023 16:415,30337,228,90314,972,0001,996,0002,265,088
7Oct 7, 2023 16:415,30347,009,77814,974,0001,996,0002,392,064
8Oct 7, 2023 16:415,30835,559,83915,987,000999,0002,387,968
9Oct 7, 2023 16:415,31444,666,22416,004,0001,000,0002,387,968
10Oct 7, 2023 16:415,50567,971,00917,614,90202,277,376
11Oct 7, 2023 16:415,51270,245,63617,638,95602,289,664
12Oct 7, 2023 16:415,53190,502,11317,699,84302,277,376