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:21BenBenScore: 4,869Success
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:214,82636,776,75714,414,0001,029,0002,400,256
2Jul 28, 2024 09:214,82933,547,91614,423,0001,030,0002,523,136
3Jul 28, 2024 09:214,83831,276,22314,450,0001,032,0002,392,064
4Jul 28, 2024 09:214,83931,658,31914,452,0001,032,0002,506,752
5Jul 28, 2024 09:214,84332,767,05415,497,00002,265,088
6Jul 28, 2024 09:214,86343,237,99915,561,00002,265,088
7Jul 28, 2024 09:214,86938,627,71614,543,0001,038,0002,265,088
8Jul 28, 2024 09:214,86936,861,94814,544,0001,038,0002,265,088
9Jul 28, 2024 09:214,87837,033,21915,608,00002,265,088
10Jul 28, 2024 09:215,06071,138,11816,190,59102,277,376
11Jul 28, 2024 09:215,07780,829,36816,246,60202,273,280
12Jul 28, 2024 09:215,10193,447,06416,323,04602,281,472