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 1, 2021 19:51Yuriy LyfenkoYuriy LyfenkoScore: 5,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2021 19:515,28148,470,25215,905,000994,0002,265,088
2Jul 1, 2021 19:515,30443,169,02414,977,0001,997,0002,396,160
3Jul 1, 2021 19:515,30644,642,66814,983,0001,997,0002,400,256
4Jul 1, 2021 19:515,32550,742,74216,037,0001,002,0002,392,064
5Jul 1, 2021 19:515,32735,755,34515,040,0002,005,0002,265,088
6Jul 1, 2021 19:515,33041,202,48216,054,0001,003,0002,396,160
7Jul 1, 2021 19:515,33637,158,36515,066,0002,008,0002,392,064
8Jul 1, 2021 19:515,34146,801,21616,086,0001,005,0002,265,088
9Jul 1, 2021 19:515,34839,590,14015,102,0002,013,0002,265,088
10Jul 1, 2021 19:515,47371,545,04617,515,00002,277,376
11Jul 1, 2021 19:515,476101,921,62217,523,41202,269,184
12Jul 1, 2021 19:515,49777,447,93217,590,86702,277,376