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 listMay 18, 2021 14:17Yuriy LyfenkoYuriy LyfenkoScore: 5,394Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 14:175,341816,387,18915,080,0002,010,0002,265,088
2May 18, 2021 14:175,345365,844,46114,253,0002,850,0002,527,232
3May 18, 2021 14:175,3481,965,208,74215,099,0002,013,0002,260,992
4May 18, 2021 14:175,3692,782,683,09615,160,0002,021,0002,523,136
5May 18, 2021 14:175,3731,801,860,40216,183,0001,011,0002,523,136
6May 18, 2021 14:175,38363,420,84015,200,0002,026,0002,265,088
7May 18, 2021 14:175,394470,654,24814,384,0002,876,0002,265,088
8May 18, 2021 14:175,412430,277,66816,356,000962,0002,379,776
9May 18, 2021 14:175,4202,925,511,35916,325,0001,020,0002,523,136
10May 18, 2021 14:175,590948,359,61817,889,14302,285,568
11May 18, 2021 14:175,590139,960,36017,886,65502,277,376
12May 18, 2021 14:175,6062,623,530,31917,939,83302,281,472