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:55Yuriy LyfenkoYuriy LyfenkoScore: 4,652Success
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:554,624540,351,29912,825,0001,973,0002,260,992
2Jul 25, 2024 15:554,625544,467,48312,826,0001,973,0002,523,136
3Jul 25, 2024 15:554,627539,477,55013,820,000987,0002,265,088
4Jul 25, 2024 15:554,632539,465,88813,833,000988,0002,523,136
5Jul 25, 2024 15:554,635541,125,27513,844,000988,0002,523,136
6Jul 25, 2024 15:554,641546,107,20813,861,000990,0002,265,088
7Jul 25, 2024 15:554,652540,217,83613,895,000992,0002,265,088
8Jul 25, 2024 15:554,656547,131,44813,907,000993,0002,523,136
9Jul 25, 2024 15:554,658539,990,13013,913,000993,0002,523,136
10Jul 25, 2024 15:554,815584,309,40715,408,30502,244,608
11Jul 25, 2024 15:554,837572,537,06415,479,51002,285,568
12Jul 25, 2024 15:554,861584,574,41915,555,07502,273,280