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 30, 2024 11:13BenBenScore: 5,735Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 11:135,68646,522,87817,185,0001,010,0002,379,776
2Jul 30, 2024 11:135,68745,326,09716,177,0002,022,0002,265,088
3Jul 30, 2024 11:135,70242,017,94317,233,0001,013,0002,371,584
4Jul 30, 2024 11:135,71144,442,43818,276,00002,371,584
5Jul 30, 2024 11:135,71445,373,06117,271,0001,015,0002,375,680
6Jul 30, 2024 11:135,72940,308,12518,334,00002,379,776
7Jul 30, 2024 11:135,73545,177,00017,333,0001,019,0002,265,088
8Jul 30, 2024 11:135,74039,247,46517,347,0001,020,0002,379,776
9Jul 30, 2024 11:135,75141,035,47917,381,0001,022,0002,379,776
10Jul 30, 2024 11:135,92572,605,29818,959,33102,273,280
11Jul 30, 2024 11:135,97874,202,04719,129,99202,277,376
12Jul 30, 2024 11:136,02560,827,12019,278,69302,281,472