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 30, 2024 16:05BenBenScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 16:054,59729,115,88414,711,00002,375,680
2Jul 30, 2024 16:054,60342,272,92113,678,0001,052,0002,379,776
3Jul 30, 2024 16:054,60932,340,31413,696,0001,053,0002,383,872
4Jul 30, 2024 16:054,64742,290,36513,878,000991,0002,498,560
5Jul 30, 2024 16:054,64734,341,13412,888,0001,982,0002,379,776
6Jul 30, 2024 16:054,64731,762,21414,871,00002,375,680
7Jul 30, 2024 16:054,64831,600,14913,882,000991,0002,265,088
8Jul 30, 2024 16:054,64934,925,45714,878,00002,383,872
9Jul 30, 2024 16:054,65131,231,71812,899,0001,984,0002,265,088
10Jul 30, 2024 16:054,89964,350,94715,675,59002,269,184
11Jul 30, 2024 16:054,90963,243,35615,707,21202,281,472
12Jul 30, 2024 16:054,92591,110,34315,759,01302,281,472