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:02Alexander MonakovAlexander MonakovScore: 4,549Success
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:024,49728,680,08614,391,00002,494,464
2Jun 30, 2023 17:024,50235,322,91914,405,00002,502,656
3Jun 30, 2023 17:024,50532,626,84914,415,00002,277,376
4Jun 30, 2023 17:024,51134,961,57414,435,00002,277,376
5Jun 30, 2023 17:024,51430,650,95414,446,00002,498,560
6Jun 30, 2023 17:024,51631,640,89014,452,00002,502,656
7Jun 30, 2023 17:024,51930,356,65614,460,00002,494,464
8Jun 30, 2023 17:024,52129,879,09714,467,00002,277,376
9Jun 30, 2023 17:024,52236,680,57713,436,0001,033,0002,494,464
10Jun 30, 2023 17:024,52836,283,66513,456,0001,035,0002,498,560
11Jun 30, 2023 17:024,53436,883,47614,508,00002,494,464
12Jun 30, 2023 17:024,53538,814,43614,512,00002,277,376
13Jun 30, 2023 17:024,53635,188,84314,516,00002,277,376
14Jun 30, 2023 17:024,53636,480,09513,478,0001,036,0002,494,464
15Jun 30, 2023 17:024,53830,646,02213,484,0001,037,0002,277,376
16Jun 30, 2023 17:024,54035,316,94414,529,00002,498,560
17Jun 30, 2023 17:024,54435,444,55514,541,00002,277,376
18Jun 30, 2023 17:024,54841,134,64013,583,000970,0002,494,464
19Jun 30, 2023 17:024,54933,501,92014,557,00002,277,376
20Jun 30, 2023 17:024,55730,117,58614,581,00002,277,376
21Jun 30, 2023 17:024,56141,389,94713,552,0001,042,0002,502,656
22Jun 30, 2023 17:024,56229,055,40213,555,0001,042,0002,498,560
23Jun 30, 2023 17:024,56235,607,77914,599,00002,498,560
24Jun 30, 2023 17:024,57346,230,55513,589,0001,045,0002,277,376
25Jun 30, 2023 17:024,57829,595,40313,604,0001,046,0002,277,376
26Jun 30, 2023 17:024,57830,311,12013,602,0001,046,0002,535,424
27Jun 30, 2023 17:024,58841,360,55513,635,0001,048,0002,277,376
28Jun 30, 2023 17:024,77084,105,50615,262,78402,244,608
29Jun 30, 2023 17:024,77971,284,74615,292,20002,248,704
30Jun 30, 2023 17:024,78598,100,04715,313,24402,240,512
31Jun 30, 2023 17:024,786101,829,87415,315,87102,248,704
32Jun 30, 2023 17:024,79686,873,45915,345,88102,248,704
33Jun 30, 2023 17:024,81158,411,41315,395,21302,240,512
34Jun 30, 2023 17:024,81689,257,75715,410,19802,244,608
35Jun 30, 2023 17:024,82195,089,52515,425,61602,244,608
36Jun 30, 2023 17:024,84884,625,00515,513,11702,240,512