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 29, 2024 08:39byrtoletbyrtoletScore: 6,418Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 08:396,08186,893,99219,458,56102,301,952
2Jul 29, 2024 08:396,09190,271,19519,492,11602,297,856
3Jul 29, 2024 08:396,37846,920,17020,411,00002,289,664
4Jul 29, 2024 08:396,38043,094,38319,396,0001,020,0002,523,136
5Jul 29, 2024 08:396,40542,813,91120,496,00002,265,088
6Jul 29, 2024 08:396,41748,898,17119,507,0001,026,0002,265,088
7Jul 29, 2024 08:396,41840,381,72919,511,0001,026,0002,289,664
8Jul 29, 2024 08:396,42850,615,30320,568,00002,265,088
9Jul 29, 2024 08:396,44854,169,80820,635,00002,371,584
10Jul 29, 2024 08:396,44942,205,84620,636,00002,289,664
11Jul 29, 2024 08:396,45746,471,83019,629,0001,033,0002,289,664
12Jul 29, 2024 08:399,11286,165,45829,156,82302,297,856