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 27, 2024 20:13HuynhHuynhScore: 5,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 20:135,58940,210,32816,891,000993,0002,269,184
2Jul 27, 2024 20:135,59440,946,44116,906,000994,0002,531,328
3Jul 27, 2024 20:135,60739,874,22716,945,000996,0002,523,136
4Jul 27, 2024 20:135,60935,897,41415,955,0001,994,0002,527,232
5Jul 27, 2024 20:135,61041,350,45016,955,000997,0002,428,928
6Jul 27, 2024 20:135,61947,284,43515,983,0001,997,0002,428,928
7Jul 27, 2024 20:135,62446,514,22013,999,0003,999,0002,269,184
8Jul 27, 2024 20:135,63237,838,85215,019,0003,003,0002,531,328
9Jul 27, 2024 20:135,64539,957,91016,058,0002,007,0002,514,944
10Jul 27, 2024 20:135,82674,482,39418,643,41302,179,072
11Jul 27, 2024 20:135,83977,951,59318,683,51302,179,072
12Jul 27, 2024 20:135,85565,841,84918,736,77802,187,264