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 listJan 17, 2024 10:25CalCalScore: 5,682Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 17, 2024 10:255,66947,115,84217,134,0001,007,0002,293,760
2Jan 17, 2024 10:255,66936,817,55116,127,0002,015,0002,281,472
3Jan 17, 2024 10:255,67035,314,79916,129,0002,016,0002,293,760
4Jan 17, 2024 10:255,67135,769,75616,131,0002,016,0002,293,760
5Jan 17, 2024 10:255,67344,541,69917,146,0001,008,0002,293,760
6Jan 17, 2024 10:255,68041,779,73916,157,0002,019,0002,277,376
7Jan 17, 2024 10:255,68246,303,07716,162,0002,020,0002,293,760
8Jan 17, 2024 10:255,68240,050,53816,163,0002,020,0002,281,472
9Jan 17, 2024 10:255,69047,280,21716,184,0002,023,0002,293,760
10Jan 17, 2024 10:256,04483,443,10419,342,01002,179,072
11Jan 17, 2024 10:256,05281,259,28419,367,64802,306,048
12Jan 17, 2024 10:256,06067,702,48119,392,74102,183,168