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 2, 2023 21:51Jack FrigaardJack FrigaardScore: 4,829Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:514,79832,208,00713,305,0002,047,0002,535,424
2Jan 2, 2023 21:514,80538,871,47113,325,0002,050,0002,285,568
3Jan 2, 2023 21:514,81042,623,82613,339,0002,052,0002,285,568
4Jan 2, 2023 21:514,81033,513,66714,367,0001,026,0002,277,376
5Jan 2, 2023 21:514,81537,834,55614,380,0001,027,0002,277,376
6Jan 2, 2023 21:514,82953,615,64015,452,00002,285,568
7Jan 2, 2023 21:514,82932,089,11613,394,0002,060,0002,523,136
8Jan 2, 2023 21:514,84933,865,13314,484,0001,034,0002,285,568
9Jan 2, 2023 21:514,85532,821,65914,502,0001,035,0002,523,136
10Jan 2, 2023 21:515,06494,550,03816,203,84802,293,760
11Jan 2, 2023 21:515,07282,842,87916,230,28002,301,952
12Jan 2, 2023 21:515,07358,474,05816,232,45202,289,664