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 17:40Alexander MonakovAlexander MonakovScore: 4,544Success
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 17:404,50636,480,38614,419,00002,502,656
2Jun 30, 2023 17:404,50833,088,79514,424,00002,490,368
3Jun 30, 2023 17:404,51030,514,54314,431,00002,498,560
4Jun 30, 2023 17:404,51137,974,78614,436,00002,502,656
5Jun 30, 2023 17:404,51131,409,91314,434,00002,277,376
6Jun 30, 2023 17:404,52231,601,85314,471,00002,490,368
7Jun 30, 2023 17:404,52231,745,73414,469,00002,277,376
8Jun 30, 2023 17:404,52433,393,91214,476,00002,494,464
9Jun 30, 2023 17:404,52535,459,24814,480,00002,277,376
10Jun 30, 2023 17:404,52740,473,33114,487,00002,494,464
11Jun 30, 2023 17:404,53430,643,17514,509,00002,277,376
12Jun 30, 2023 17:404,53629,783,92513,479,0001,036,0002,502,656
13Jun 30, 2023 17:404,53630,634,03314,515,00002,277,376
14Jun 30, 2023 17:404,53834,855,76814,522,00002,498,560
15Jun 30, 2023 17:404,54129,727,63714,530,00002,277,376
16Jun 30, 2023 17:404,54232,638,19414,534,00002,277,376
17Jun 30, 2023 17:404,54330,589,16714,536,00002,535,424
18Jun 30, 2023 17:404,54330,206,92314,539,00002,277,376
19Jun 30, 2023 17:404,54428,189,47513,502,0001,038,0002,277,376
20Jun 30, 2023 17:404,54531,851,92213,506,0001,038,0002,535,424
21Jun 30, 2023 17:404,54532,563,70814,543,00002,277,376
22Jun 30, 2023 17:404,54733,849,12913,512,0001,039,0002,277,376
23Jun 30, 2023 17:404,55031,185,86814,559,00002,273,280
24Jun 30, 2023 17:404,55033,158,85214,559,00002,277,376
25Jun 30, 2023 17:404,55136,986,63814,564,00002,277,376
26Jun 30, 2023 17:404,55630,647,07014,578,00002,273,280
27Jun 30, 2023 17:404,56632,048,97214,612,00002,494,464
28Jun 30, 2023 17:404,76992,579,77315,262,21302,260,992
29Jun 30, 2023 17:404,77058,506,48815,263,67502,260,992
30Jun 30, 2023 17:404,77286,409,18415,269,60002,236,416
31Jun 30, 2023 17:404,78077,976,27215,295,82302,240,512
32Jun 30, 2023 17:404,78468,486,86815,309,06602,240,512
33Jun 30, 2023 17:404,79796,821,52915,348,84502,236,416
34Jun 30, 2023 17:404,80584,013,68215,375,34702,244,608
35Jun 30, 2023 17:404,82357,571,24415,432,78502,252,800
36Jun 30, 2023 17:404,83355,560,97315,465,91302,244,608