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 4, 2024 23:51Drew GarciaDrew GarciaScore: 5,584Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2024 23:515,53147,322,92216,657,0001,041,0002,273,280
2Apr 4, 2024 23:515,58047,403,74715,873,0001,984,0002,281,472
3Apr 4, 2024 23:515,58045,296,72815,873,0001,984,0002,281,472
4Apr 4, 2024 23:515,58142,505,00115,875,0001,984,0002,273,280
5Apr 4, 2024 23:515,58243,914,60016,870,000992,0002,281,472
6Apr 4, 2024 23:515,58444,884,59815,884,0001,985,0002,281,472
7Apr 4, 2024 23:515,58433,863,92815,885,0001,985,0002,281,472
8Apr 4, 2024 23:515,58958,694,02813,911,0003,974,0002,281,472
9Apr 4, 2024 23:515,61541,063,01215,971,0001,996,0002,281,472
10Apr 4, 2024 23:515,79183,594,30618,529,83102,306,048
11Apr 4, 2024 23:515,81689,520,19618,609,72902,301,952
12Apr 4, 2024 23:515,82083,797,62518,623,51402,306,048