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 listApr 10, 2024 03:42Steve BronderSteve BronderScore: 5,274Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 03:425,21447,682,79015,644,0001,042,0002,277,376
2Apr 10, 2024 03:425,21844,038,82616,699,00002,293,760
3Apr 10, 2024 03:425,26946,798,25314,878,0001,983,0002,293,760
4Apr 10, 2024 03:425,27246,747,64515,879,000992,0002,277,376
5Apr 10, 2024 03:425,27336,653,75915,882,000992,0002,293,760
6Apr 10, 2024 03:425,27444,944,01714,892,0001,985,0002,281,472
7Apr 10, 2024 03:425,27449,085,51915,886,000992,0002,273,280
8Apr 10, 2024 03:425,27744,258,27414,900,0001,986,0002,281,472
9Apr 10, 2024 03:425,28141,213,86014,910,0001,988,0002,293,760
10Apr 10, 2024 03:425,44390,971,87717,416,58402,179,072
11Apr 10, 2024 03:425,44685,845,11317,426,22902,183,168
12Apr 10, 2024 03:425,47463,327,24417,517,58802,306,048