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 12:56BenBenScore: 4,517Success
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 12:564,47330,705,60114,312,00002,277,376
2Jul 31, 2024 12:564,48143,369,15014,339,00002,498,560
3Jul 31, 2024 12:564,49331,312,93614,376,00002,494,464
4Jul 31, 2024 12:564,50429,302,06514,412,00002,277,376
5Jul 31, 2024 12:564,51533,185,32414,448,00002,490,368
6Jul 31, 2024 12:564,51633,872,13714,452,00002,490,368
7Jul 31, 2024 12:564,51730,880,90414,453,00002,277,376
8Jul 31, 2024 12:564,51933,213,23814,461,00002,277,376
9Jul 31, 2024 12:564,52937,332,14814,492,00002,490,368
10Jul 31, 2024 12:564,78776,066,51215,318,55302,367,488
11Jul 31, 2024 12:564,79472,144,70915,340,65802,236,416
12Jul 31, 2024 12:564,88670,631,78315,633,68602,232,320