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 listJun 30, 2023 16:47Alexander MonakovAlexander MonakovScore: 4,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 16:474,48028,947,78414,337,00002,490,368
2Jun 30, 2023 16:474,50328,437,28714,410,00002,498,560
3Jun 30, 2023 16:474,50543,146,78014,416,00002,498,560
4Jun 30, 2023 16:474,51328,656,51514,443,00002,277,376
5Jun 30, 2023 16:474,51832,711,93314,457,00002,277,376
6Jun 30, 2023 16:474,52830,401,95514,488,00002,498,560
7Jun 30, 2023 16:474,53041,384,21214,497,00002,277,376
8Jun 30, 2023 16:474,53134,325,24514,498,00002,277,376
9Jun 30, 2023 16:474,53530,678,57714,512,00002,502,656
10Jun 30, 2023 16:474,53631,187,89714,514,00002,277,376
11Jun 30, 2023 16:474,53837,520,74414,522,00002,277,376
12Jun 30, 2023 16:474,53935,429,12514,526,00002,277,376
13Jun 30, 2023 16:474,54031,491,28714,529,00002,277,376
14Jun 30, 2023 16:474,54332,522,10114,537,00002,535,424
15Jun 30, 2023 16:474,54531,154,14014,545,00002,277,376
16Jun 30, 2023 16:474,54532,513,27614,544,00002,490,368
17Jun 30, 2023 16:474,54630,015,88114,547,00002,502,656
18Jun 30, 2023 16:474,54733,538,17714,551,00002,535,424
19Jun 30, 2023 16:474,76760,179,06115,255,35202,240,512
20Jun 30, 2023 16:474,76882,524,07015,257,59002,236,416
21Jun 30, 2023 16:474,78772,004,25615,318,56602,240,512
22Jun 30, 2023 16:474,80985,483,91515,388,75002,260,992
23Jun 30, 2023 16:474,81479,151,69115,406,19202,240,512
24Jun 30, 2023 16:474,82864,238,01115,448,99202,240,512