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 29, 2021 19:54Egor SergeevEgor SergeevScore: 5,173Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2021 19:545,13331,674,57315,461,000966,0002,535,424
2Jun 29, 2021 19:545,14238,497,62816,455,00002,490,368
3Jun 29, 2021 19:545,15334,888,56716,490,00002,486,272
4Jun 29, 2021 19:545,15834,714,65916,505,00002,535,424
5Jun 29, 2021 19:545,15834,196,69016,507,00002,277,376
6Jun 29, 2021 19:545,16634,618,32416,532,00002,277,376
7Jun 29, 2021 19:545,17328,142,68616,552,00002,502,656
8Jun 29, 2021 19:545,17336,582,83116,554,00002,277,376
9Jun 29, 2021 19:545,18838,088,37116,602,00002,277,376
10Jun 29, 2021 19:545,40567,018,36317,296,90502,256,896
11Jun 29, 2021 19:545,40755,379,52817,301,04302,256,896
12Jun 29, 2021 19:545,41363,105,85417,320,67902,244,608