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 8, 2024 19:04джулисджулисScore: 5,734Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:045,68643,580,93517,184,0001,010,0002,293,760
2Jun 8, 2024 19:045,69341,586,66616,192,0002,024,0002,293,760
3Jun 8, 2024 19:045,71441,407,76317,271,0001,015,0002,457,600
4Jun 8, 2024 19:045,72248,023,49217,293,0001,017,0002,367,488
5Jun 8, 2024 19:045,72441,174,28517,301,0001,017,0002,293,760
6Jun 8, 2024 19:045,72843,423,64518,330,00002,293,760
7Jun 8, 2024 19:045,73436,249,40116,311,0002,038,0002,371,584
8Jun 8, 2024 19:045,74137,285,78017,351,0001,020,0002,293,760
9Jun 8, 2024 19:045,75240,560,00217,385,0001,022,0002,293,760
10Jun 8, 2024 19:045,93682,528,74218,993,99802,244,608
11Jun 8, 2024 19:045,96384,070,32919,081,98602,256,896
12Jun 8, 2024 19:045,97690,431,66119,124,45602,379,776