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 11:32BenBenScore: 5,299Success
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 11:325,26334,336,85216,842,00002,383,872
2Jul 30, 2024 11:325,26742,815,54415,863,000991,0002,375,680
3Jul 30, 2024 11:325,27248,369,89414,886,0001,984,0002,375,680
4Jul 30, 2024 11:325,28840,612,34015,866,0001,057,0002,265,088
5Jul 30, 2024 11:325,29046,407,91414,938,0001,991,0002,265,088
6Jul 30, 2024 11:325,29234,616,11715,938,000996,0002,265,088
7Jul 30, 2024 11:325,29952,286,96914,963,0001,995,0002,265,088
8Jul 30, 2024 11:325,30938,643,33814,991,0001,998,0002,265,088
9Jul 30, 2024 11:325,31343,306,86616,000,0001,000,0002,265,088
10Jul 30, 2024 11:325,50358,869,19517,610,25602,269,184
11Jul 30, 2024 11:325,51678,786,86017,652,53902,265,088
12Jul 30, 2024 11:325,55672,534,79217,780,56402,273,280