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 15:41Yuriy LyfenkoYuriy LyfenkoScore: 4,437Success
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 15:414,407545,734,31612,087,0002,014,0002,396,160
2Jul 25, 2024 15:414,423538,910,70113,143,0001,011,0002,523,136
3Jul 25, 2024 15:414,431536,802,55614,179,00002,527,232
4Jul 25, 2024 15:414,431539,289,36113,168,0001,012,0002,265,088
5Jul 25, 2024 15:414,433542,019,58213,174,0001,013,0002,260,992
6Jul 25, 2024 15:414,437540,971,15113,183,0001,014,0002,265,088
7Jul 25, 2024 15:414,437535,877,05012,171,0002,028,0002,523,136
8Jul 25, 2024 15:414,449540,541,40914,236,00002,396,160
9Jul 25, 2024 15:414,458542,164,36212,227,0002,037,0002,523,136
10Jul 25, 2024 15:414,605584,736,03214,737,48302,281,472
11Jul 25, 2024 15:414,619582,705,08214,780,06002,244,608
12Jul 25, 2024 15:414,635576,611,04214,833,53402,277,376