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 listJun 9, 2024 21:43джулисджулисScore: 5,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 21:435,31643,139,55115,010,0002,001,0002,293,760
2Jun 9, 2024 21:435,32039,346,09516,024,0001,001,0002,293,760
3Jun 9, 2024 21:435,32142,409,98715,024,0002,003,0002,293,760
4Jun 9, 2024 21:435,32531,786,65516,037,0001,002,0002,293,760
5Jun 9, 2024 21:435,32649,722,00815,039,0002,005,0002,293,760
6Jun 9, 2024 21:435,32743,054,81115,042,0002,005,0002,371,584
7Jun 9, 2024 21:435,33133,363,98216,055,0001,003,0002,293,760
8Jun 9, 2024 21:435,33342,525,03916,063,0001,003,0002,375,680
9Jun 9, 2024 21:435,33547,090,36715,063,0002,008,0002,293,760
10Jun 9, 2024 21:435,33736,189,71815,069,0002,009,0002,367,488
11Jun 9, 2024 21:435,34135,558,38815,080,0002,010,0002,293,760
12Jun 9, 2024 21:435,34341,249,22315,085,0002,011,0002,375,680
13Jun 9, 2024 21:435,34442,463,74115,090,0002,012,0002,371,584
14Jun 9, 2024 21:435,34547,662,96315,093,0002,012,0002,371,584
15Jun 9, 2024 21:435,35343,329,34115,115,0002,015,0002,375,680
16Jun 9, 2024 21:435,35738,674,90816,134,0001,008,0002,293,760
17Jun 9, 2024 21:435,35940,968,57415,132,0002,017,0002,293,760
18Jun 9, 2024 21:435,36843,623,99816,169,0001,010,0002,371,584
19Jun 9, 2024 21:435,56878,672,34717,816,15602,256,896
20Jun 9, 2024 21:435,59479,676,33817,900,64702,240,512
21Jun 9, 2024 21:435,62463,646,40317,997,69402,248,704
22Jun 9, 2024 21:435,67964,381,81518,173,31702,248,704
23Jun 9, 2024 21:435,68484,443,12418,188,79502,252,800
24Jun 9, 2024 21:436,01195,785,25219,234,86302,252,800