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 28, 2024 09:32BenBenScore: 4,647Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:324,59032,971,12314,688,00002,387,968
2Jul 28, 2024 09:324,59729,918,69213,659,0001,050,0002,265,088
3Jul 28, 2024 09:324,59739,041,84613,660,0001,050,0002,265,088
4Jul 28, 2024 09:324,60131,068,68813,672,0001,051,0002,387,968
5Jul 28, 2024 09:324,64533,378,05613,874,000991,0002,387,968
6Jul 28, 2024 09:324,64643,319,60912,886,0001,982,0002,383,872
7Jul 28, 2024 09:324,64729,046,07012,888,0001,982,0002,265,088
8Jul 28, 2024 09:324,64831,824,66713,883,000991,0002,379,776
9Jul 28, 2024 09:324,65536,446,71613,902,000993,0002,379,776
10Jul 28, 2024 09:324,84467,752,11015,499,93602,281,472
11Jul 28, 2024 09:324,85491,733,48715,531,93102,285,568
12Jul 28, 2024 09:324,889101,377,41015,645,08502,285,568