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 31, 2024 05:39BenBenScore: 4,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 05:394,59939,272,23513,736,000981,0002,265,088
2Jul 31, 2024 05:394,62738,819,01614,806,00002,265,088
3Jul 31, 2024 05:394,63031,494,30112,840,0001,975,0002,396,160
4Jul 31, 2024 05:394,64429,843,81513,871,000990,0002,265,088
5Jul 31, 2024 05:394,64534,619,48014,864,00002,265,088
6Jul 31, 2024 05:394,64644,673,52313,876,000991,0002,265,088
7Jul 31, 2024 05:394,65129,660,02613,891,000992,0002,387,968
8Jul 31, 2024 05:394,65134,157,72413,892,000992,0002,383,872
9Jul 31, 2024 05:394,65443,286,92312,907,0001,985,0002,392,064
10Jul 31, 2024 05:394,90461,150,83415,694,35502,285,568
11Jul 31, 2024 05:394,91670,361,27415,731,48602,273,280
12Jul 31, 2024 05:394,97270,274,40215,910,27102,289,664