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 listSep 3, 2024 16:15AnSaAnSaScore: 5,139Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2024 16:155,11234,041,73415,337,0001,022,0002,531,328
2Sep 3, 2024 16:155,12038,412,42615,361,0001,024,0002,265,088
3Sep 3, 2024 16:155,12134,394,06614,340,0002,048,0002,490,368
4Sep 3, 2024 16:155,13338,284,72016,424,00002,490,368
5Sep 3, 2024 16:155,13437,248,57716,428,00002,269,184
6Sep 3, 2024 16:155,13934,882,84816,445,00002,498,560
7Sep 3, 2024 16:155,13934,718,96416,446,00002,494,464
8Sep 3, 2024 16:155,14332,821,51516,458,00002,531,328
9Sep 3, 2024 16:155,15031,908,83714,420,0002,060,0002,265,088
10Sep 3, 2024 16:155,15440,663,33316,494,00002,531,328
11Sep 3, 2024 16:155,15939,788,25416,508,00002,494,464
12Sep 3, 2024 16:155,15933,185,55513,413,0003,095,0002,531,328