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 listMay 17, 2021 15:09Yuriy LyfenkoYuriy LyfenkoScore: 5,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 15:095,4273,088,088,29016,401,000964,0002,527,232
2May 17, 2021 15:095,4343,196,817,88415,456,0001,932,0002,265,088
3May 17, 2021 15:095,4343,356,257,32013,524,0003,864,0002,265,088
4May 17, 2021 15:095,4391,833,063,53316,438,000966,0002,506,752
5May 17, 2021 15:095,4482,365,766,52415,497,0001,937,0002,265,088
6May 17, 2021 15:095,4574,907,829,74614,381,0003,081,0002,527,232
7May 17, 2021 15:095,4682,769,186,93415,552,0001,944,0002,527,232
8May 17, 2021 15:095,4684,986,133,61616,470,0001,029,0002,260,992
9May 17, 2021 15:095,51748,321,63917,654,00002,506,752
10May 17, 2021 15:095,533592,365,55317,705,26602,277,376
11May 17, 2021 15:095,5584,679,958,04217,784,52102,281,472
12May 17, 2021 15:095,589906,630,15417,884,42102,277,376