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 14, 2024 11:25kytanskytansScore: 5,196Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 11:255,15137,348,07516,484,00002,277,376
2Jul 14, 2024 11:255,15236,292,45016,487,00002,498,560
3Jul 14, 2024 11:255,15538,480,60816,496,00002,498,560
4Jul 14, 2024 11:255,16131,748,75016,515,00002,277,376
5Jul 14, 2024 11:255,16541,138,46616,527,00002,277,376
6Jul 14, 2024 11:255,17439,809,36416,557,00002,494,464
7Jul 14, 2024 11:255,19632,314,06416,626,00002,502,656
8Jul 14, 2024 11:255,20140,199,43915,604,0001,040,0002,535,424
9Jul 14, 2024 11:255,21745,493,72215,650,0001,043,0002,502,656
10Jul 14, 2024 11:255,44481,019,79917,419,86902,232,320
11Jul 14, 2024 11:255,45063,658,14317,439,43702,236,416
12Jul 14, 2024 11:255,45590,088,12917,454,89302,228,224