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:45Alexander MonakovAlexander MonakovScore: 4,542Success
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:454,49441,182,92214,381,00002,277,376
2Jun 30, 2023 16:454,50138,870,73114,403,00002,277,376
3Jun 30, 2023 16:454,50830,749,03014,424,00002,277,376
4Jun 30, 2023 16:454,51630,800,79414,452,00002,498,560
5Jun 30, 2023 16:454,51635,390,15514,450,00002,494,464
6Jun 30, 2023 16:454,51832,234,90714,459,00002,490,368
7Jun 30, 2023 16:454,51935,201,24314,461,00002,535,424
8Jun 30, 2023 16:454,51936,077,56614,462,00002,490,368
9Jun 30, 2023 16:454,52439,746,55413,444,0001,034,0002,277,376
10Jun 30, 2023 16:454,53329,676,97414,507,00002,494,464
11Jun 30, 2023 16:454,53437,595,10614,510,00002,498,560
12Jun 30, 2023 16:454,54032,145,30014,527,00002,277,376
13Jun 30, 2023 16:454,54233,307,13814,535,00002,277,376
14Jun 30, 2023 16:454,54230,054,43914,535,00002,277,376
15Jun 30, 2023 16:454,55131,876,78214,564,00002,277,376
16Jun 30, 2023 16:454,55934,387,40514,589,00002,277,376
17Jun 30, 2023 16:454,56028,023,93814,592,00002,273,280
18Jun 30, 2023 16:454,61841,572,67712,808,0001,970,0002,490,368
19Jun 30, 2023 16:454,73998,022,77415,165,53902,244,608
20Jun 30, 2023 16:454,77658,123,25915,284,25702,244,608
21Jun 30, 2023 16:454,77877,345,03815,290,99802,248,704
22Jun 30, 2023 16:454,79075,178,26315,327,14102,240,512
23Jun 30, 2023 16:454,82086,338,05515,424,23902,244,608
24Jun 30, 2023 16:454,82180,078,85015,426,16502,252,800