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 04:07BenBenScore: 5,166Success
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 04:075,13242,729,36015,395,0001,026,0002,265,088
2Jul 30, 2024 04:075,13342,492,99515,400,0001,026,0002,387,968
3Jul 30, 2024 04:075,14438,105,43216,462,00002,392,064
4Jul 30, 2024 04:075,14643,108,67915,439,0001,029,0002,527,232
5Jul 30, 2024 04:075,14940,183,75416,477,00002,396,160
6Jul 30, 2024 04:075,14942,429,05915,448,0001,029,0002,265,088
7Jul 30, 2024 04:075,16641,744,68016,530,00002,265,088
8Jul 30, 2024 04:075,19432,895,63714,667,0001,955,0002,383,872
9Jul 30, 2024 04:075,20438,210,20516,653,00002,265,088
10Jul 30, 2024 04:075,37590,351,76917,198,92002,273,280
11Jul 30, 2024 04:075,38095,813,80817,217,51602,289,664
12Jul 30, 2024 04:075,41473,612,74217,325,17502,277,376