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 03:42BenBenScore: 5,577Success
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 03:425,49139,533,12716,538,0001,033,0002,387,968
2Jul 30, 2024 03:425,50138,373,48317,604,00002,392,064
3Jul 30, 2024 03:425,51751,687,72616,616,0001,038,0002,265,088
4Jul 30, 2024 03:425,52646,230,66917,683,00002,265,088
5Jul 30, 2024 03:425,53735,914,53217,718,00002,383,872
6Jul 30, 2024 03:425,57342,335,47316,845,000990,0002,527,232
7Jul 30, 2024 03:425,57747,312,08615,864,0001,983,0002,383,872
8Jul 30, 2024 03:425,58544,898,80517,871,00002,387,968
9Jul 30, 2024 03:425,58736,002,69217,878,00002,265,088
10Jul 30, 2024 03:425,74298,490,53518,374,50002,281,472
11Jul 30, 2024 03:425,77677,679,36118,484,20102,281,472
12Jul 30, 2024 03:425,78783,705,15218,518,39202,273,280