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 listJan 10, 2025 07:39Ian MckibbenIan MckibbenScore: 5,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2025 07:405,73352,500,16716,309,0002,038,0002,289,664
2Jan 10, 2025 07:395,73450,528,34416,310,0002,038,0002,289,664
3Jan 10, 2025 07:395,73546,165,84117,332,0001,019,0002,289,664
4Jan 10, 2025 07:395,74346,813,09717,358,0001,021,0002,269,184
5Jan 10, 2025 07:405,74640,164,63717,365,0001,021,0002,289,664
6Jan 10, 2025 07:405,74737,563,12718,391,00002,289,664
7Jan 10, 2025 07:405,75238,785,88916,360,0002,045,0002,273,280
8Jan 10, 2025 07:395,75345,317,90418,410,00002,523,136
9Jan 10, 2025 07:405,75946,316,74116,381,0002,047,0002,367,488
10Jan 10, 2025 07:395,76341,040,90616,394,0002,049,0002,273,280
11Jan 10, 2025 07:395,76639,375,82916,402,0002,050,0002,289,664
12Jan 10, 2025 07:405,77241,089,57117,445,0001,026,0002,289,664
13Jan 10, 2025 07:405,77441,330,93616,425,0002,053,0002,289,664
14Jan 10, 2025 07:395,77739,307,30616,432,0002,054,0002,289,664
15Jan 10, 2025 07:395,78041,306,97116,440,0002,055,0002,289,664
16Jan 10, 2025 07:405,78340,449,48617,477,0001,028,0002,273,280
17Jan 10, 2025 07:405,79245,812,83518,533,00002,289,664
18Jan 10, 2025 07:395,93652,217,62716,995,0001,999,0002,289,664