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 19:34джулисджулисScore: 5,401Success
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 19:345,34837,923,75016,107,0001,006,0002,359,296
2Jun 9, 2024 19:345,35442,875,70716,126,0001,007,0002,379,776
3Jun 9, 2024 19:345,37534,816,84715,176,0002,023,0002,293,760
4Jun 9, 2024 19:345,37635,459,22615,179,0002,023,0002,293,760
5Jun 9, 2024 19:345,38043,364,66215,192,0002,025,0002,379,776
6Jun 9, 2024 19:345,38244,796,39515,195,0002,026,0002,293,760
7Jun 9, 2024 19:345,40142,920,72116,266,0001,016,0002,293,760
8Jun 9, 2024 19:345,41743,535,19916,315,0001,019,0002,371,584
9Jun 9, 2024 19:345,42045,529,15416,324,0001,020,0002,293,760
10Jun 9, 2024 19:345,61487,336,90417,965,53002,248,704
11Jun 9, 2024 19:345,62886,750,52218,008,73402,256,896
12Jun 9, 2024 19:345,64689,635,30518,067,69302,379,776