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 listJul 11, 2023 05:45Andrew MoonAndrew MoonScore: 5,294Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 05:455,27147,954,10314,883,0001,984,0002,383,872
2Jul 11, 2023 05:455,27344,041,03315,882,000992,0002,392,064
3Jul 11, 2023 05:455,27744,816,35515,893,000993,0002,265,088
4Jul 11, 2023 05:455,28141,926,69615,905,000994,0002,527,232
5Jul 11, 2023 05:455,28247,138,08314,913,0001,988,0002,383,872
6Jul 11, 2023 05:455,29044,657,58514,936,0001,991,0002,265,088
7Jul 11, 2023 05:455,29444,927,59315,946,000996,0002,265,088
8Jul 11, 2023 05:455,30145,325,58015,965,000997,0002,265,088
9Jul 11, 2023 05:455,30342,684,58615,971,000998,0002,265,088
10Jul 11, 2023 05:455,49882,623,29117,593,15502,273,280
11Jul 11, 2023 05:455,50071,778,10917,600,69002,285,568
12Jul 11, 2023 05:455,50587,700,31717,615,43402,269,184