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 7, 2023 06:43Alexander MonakovAlexander MonakovScore: 4,566Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2023 06:434,513239,174,17414,443,00002,535,424
2Jun 7, 2023 06:434,513236,614,83114,442,00002,535,424
3Jun 7, 2023 06:434,547239,630,56313,580,000970,0002,535,424
4Jun 7, 2023 06:434,553245,501,45713,600,000971,0002,535,424
5Jun 7, 2023 06:434,554240,302,81013,603,000971,0002,498,560
6Jun 7, 2023 06:434,554241,681,09513,603,000971,0002,535,424
7Jun 7, 2023 06:434,556237,713,69813,607,000971,0002,498,560
8Jun 7, 2023 06:434,556242,153,71813,607,000971,0002,498,560
9Jun 7, 2023 06:434,557238,806,17013,610,000972,0002,535,424
10Jun 7, 2023 06:434,557241,879,12813,611,000972,0002,502,656
11Jun 7, 2023 06:434,558244,529,27913,614,000972,0002,498,560
12Jun 7, 2023 06:434,558241,496,03213,612,000972,0002,535,424
13Jun 7, 2023 06:434,558239,068,19613,612,000972,0002,535,424
14Jun 7, 2023 06:434,558246,531,22014,585,00002,535,424
15Jun 7, 2023 06:434,558238,065,00314,587,00002,498,560
16Jun 7, 2023 06:434,561245,104,05412,649,0001,946,0002,535,424
17Jun 7, 2023 06:434,564244,326,95213,631,000973,0002,535,424
18Jun 7, 2023 06:434,566236,728,72412,662,0001,948,0002,535,424
19Jun 7, 2023 06:434,566238,168,20112,663,0001,948,0002,535,424
20Jun 7, 2023 06:434,568240,579,78214,616,00002,293,760
21Jun 7, 2023 06:434,569240,068,95814,621,00002,535,424
22Jun 7, 2023 06:434,570236,264,67013,650,000975,0002,535,424
23Jun 7, 2023 06:434,582241,575,04313,685,000977,0002,502,656
24Jun 7, 2023 06:434,583236,655,60513,688,000977,0002,498,560
25Jun 7, 2023 06:434,585235,011,13613,695,000978,0002,535,424
26Jun 7, 2023 06:434,589235,283,98012,728,0001,958,0002,535,424
27Jun 7, 2023 06:434,596238,217,54113,726,000980,0002,498,560
28Jun 7, 2023 06:434,765280,498,75015,246,55202,359,296
29Jun 7, 2023 06:434,784283,733,38115,309,38502,363,392
30Jun 7, 2023 06:434,796282,124,33515,348,62602,359,296
31Jun 7, 2023 06:434,797274,744,03115,351,28402,359,296
32Jun 7, 2023 06:434,804282,301,25615,374,32302,363,392
33Jun 7, 2023 06:434,804276,412,46215,371,61302,359,296
34Jun 7, 2023 06:434,808273,542,50715,386,84102,355,200
35Jun 7, 2023 06:434,825292,322,83815,438,94902,363,392
36Jun 7, 2023 06:434,840279,709,37015,487,42402,355,200