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 listMar 7, 2024 07:56Huy Duc LeHuy Duc LeScore: 4,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:564,57136,734,24113,582,0001,044,0002,265,088
2Mar 7, 2024 07:564,60148,747,76713,672,0001,051,0002,265,088
3Mar 7, 2024 07:564,60331,646,40313,676,0001,052,0002,392,064
4Mar 7, 2024 07:564,61134,551,81013,702,0001,054,0002,392,064
5Mar 7, 2024 07:564,64550,220,22713,873,000990,0002,392,064
6Mar 7, 2024 07:564,64531,788,71914,864,00002,265,088
7Mar 7, 2024 07:564,64532,422,58714,864,00002,387,968
8Mar 7, 2024 07:564,64833,776,01812,890,0001,983,0002,392,064
9Mar 7, 2024 07:564,65142,303,15412,900,0001,984,0002,379,776
10Mar 7, 2024 07:564,86373,828,98015,563,17402,285,568
11Mar 7, 2024 07:564,87381,708,77215,592,98902,281,472
12Mar 7, 2024 07:564,92680,179,94615,763,93502,285,568