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 listJul 28, 2024 08:39BenBenScore: 4,568Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:394,52930,306,79813,458,0001,035,0002,265,088
2Jul 28, 2024 08:394,54236,373,82113,497,0001,038,0002,523,136
3Jul 28, 2024 08:394,54632,769,49613,507,0001,039,0002,265,088
4Jul 28, 2024 08:394,54736,983,31413,511,0001,039,0002,387,968
5Jul 28, 2024 08:394,55940,319,69614,589,00002,265,088
6Jul 28, 2024 08:394,56231,666,34413,557,0001,042,0002,265,088
7Jul 28, 2024 08:394,56837,123,49514,618,00002,392,064
8Jul 28, 2024 08:394,56929,675,87213,576,0001,044,0002,265,088
9Jul 28, 2024 08:394,57134,549,14113,583,0001,044,0002,265,088
10Jul 28, 2024 08:394,80490,850,37715,373,17102,281,472
11Jul 28, 2024 08:394,80985,347,33315,388,96502,285,568
12Jul 28, 2024 08:394,81984,842,62015,421,24902,289,664