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 listMar 31, 2024 16:23Drew GarciaDrew GarciaScore: 6,029Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 31, 2024 16:235,96844,181,40117,086,0002,010,0002,273,280
2Mar 31, 2024 16:235,98346,995,07916,124,0003,023,0002,281,472
3Mar 31, 2024 16:235,98544,786,81917,137,0002,016,0002,281,472
4Mar 31, 2024 16:235,99147,114,35517,153,0002,018,0002,281,472
5Mar 31, 2024 16:235,99446,255,62917,163,0002,019,0002,281,472
6Mar 31, 2024 16:236,00946,053,28417,205,0002,024,0002,277,376
7Mar 31, 2024 16:236,02947,655,80315,231,0004,061,0002,273,280
8Mar 31, 2024 16:236,03246,797,19616,255,0003,047,0002,281,472
9Mar 31, 2024 16:236,03837,326,29618,306,0001,017,0002,281,472
10Mar 31, 2024 16:236,219100,304,10919,902,31502,301,952
11Mar 31, 2024 16:236,23595,329,32019,952,51202,174,976
12Mar 31, 2024 16:236,26264,514,75620,037,75802,301,952