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:28BenBenScore: 5,896Success
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:285,82847,488,39117,612,0001,036,0002,375,680
2Jul 30, 2024 11:285,83350,068,67617,630,0001,037,0002,375,680
3Jul 30, 2024 11:285,88446,255,87616,847,0001,982,0002,265,088
4Jul 30, 2024 11:285,88643,378,98218,836,00002,367,488
5Jul 30, 2024 11:285,88943,315,97116,863,0001,983,0002,478,080
6Jul 30, 2024 11:285,89142,203,08517,860,000992,0002,265,088
7Jul 30, 2024 11:285,89646,300,82318,867,00002,265,088
8Jul 30, 2024 11:285,89750,540,61617,878,000993,0002,375,680
9Jul 30, 2024 11:285,90343,099,29317,894,000994,0002,371,584
10Jul 30, 2024 11:286,09573,888,15519,503,79102,273,280
11Jul 30, 2024 11:286,11967,294,32819,579,40802,265,088
12Jul 30, 2024 11:286,13080,676,08119,616,79702,273,280