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 25, 2024 16:09Yuriy LyfenkoYuriy LyfenkoScore: 4,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 16:094,454536,758,02613,234,0001,018,0002,265,088
2Jul 25, 2024 16:094,457541,487,61713,244,0001,018,0002,523,136
3Jul 25, 2024 16:094,478536,549,80413,308,0001,023,0002,519,040
4Jul 25, 2024 16:094,479534,951,46913,309,0001,023,0002,265,088
5Jul 25, 2024 16:094,488537,485,84313,335,0001,025,0002,392,064
6Jul 25, 2024 16:094,488536,675,53814,363,00002,260,992
7Jul 25, 2024 16:094,494534,866,15014,381,00002,265,088
8Jul 25, 2024 16:094,517542,269,37814,454,00002,265,088
9Jul 25, 2024 16:094,531544,157,89013,463,0001,035,0002,396,160
10Jul 25, 2024 16:094,688591,538,08415,000,83102,281,472
11Jul 25, 2024 16:094,698581,348,91715,033,74502,240,512
12Jul 25, 2024 16:094,711576,950,68115,075,47302,240,512