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:07Yuriy LyfenkoYuriy LyfenkoScore: 4,436Success
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:074,418539,466,18112,118,0002,019,0002,519,040
2Jul 25, 2024 16:074,419544,276,24512,121,0002,020,0002,260,992
3Jul 25, 2024 16:074,429543,057,01912,149,0002,024,0002,265,088
4Jul 25, 2024 16:074,429545,689,35113,162,0001,012,0002,387,968
5Jul 25, 2024 16:074,432542,092,77512,157,0002,026,0002,523,136
6Jul 25, 2024 16:074,434541,410,14013,175,0001,013,0002,523,136
7Jul 25, 2024 16:074,436536,626,05014,196,00002,260,992
8Jul 25, 2024 16:074,442539,693,84013,200,0001,015,0002,523,136
9Jul 25, 2024 16:074,448542,050,82212,202,0002,033,0002,523,136
10Jul 25, 2024 16:074,628583,736,32114,809,56502,338,816
11Jul 25, 2024 16:074,642578,374,51914,853,62802,244,608
12Jul 25, 2024 16:074,659578,807,68114,908,31902,289,664