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 22:31Andrey TsvetkovAndrey TsvetkovScore: 5,701Success
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 22:315,65644,490,74416,089,0002,011,0002,523,136
2Jun 29, 2021 22:345,66031,595,24316,100,0002,012,0002,531,328
3Jun 29, 2021 22:315,66345,524,75715,100,0003,020,0002,334,720
4Jun 29, 2021 22:345,66333,996,39715,102,0003,020,0002,531,328
5Jun 29, 2021 22:345,66949,583,63215,119,0003,023,0002,527,232
6Jun 29, 2021 22:345,67038,966,58216,129,0002,016,0002,334,720
7Jun 29, 2021 22:345,67735,618,72116,147,0002,018,0002,527,232
8Jun 29, 2021 22:315,67845,433,20316,150,0002,018,0002,334,720
9Jun 29, 2021 22:315,68842,436,94316,180,0002,022,0002,531,328
10Jun 29, 2021 22:345,69239,100,36515,178,0003,035,0002,523,136
11Jun 29, 2021 22:315,69340,725,36016,192,0002,024,0002,523,136
12Jun 29, 2021 22:315,70045,048,34015,201,0003,040,0002,527,232
13Jun 29, 2021 22:315,70141,956,75416,216,0002,027,0002,334,720
14Jun 29, 2021 22:345,70939,556,66416,239,0002,029,0002,334,720
15Jun 29, 2021 22:315,73341,977,84715,287,0003,057,0002,334,720
16Jun 29, 2021 22:315,73485,797,97318,349,48502,224,128
17Jun 29, 2021 22:315,73637,978,34417,335,0001,019,0002,334,720
18Jun 29, 2021 22:345,73842,008,99617,343,0001,020,0002,334,720
19Jun 29, 2021 22:315,73982,108,50218,364,32302,240,512
20Jun 29, 2021 22:345,74034,721,83815,306,0003,061,0002,334,720
21Jun 29, 2021 22:345,74690,159,18418,385,75602,236,416
22Jun 29, 2021 22:315,746105,093,83318,387,80902,232,320
23Jun 29, 2021 22:345,75075,072,40418,399,18102,232,320
24Jun 29, 2021 22:345,75561,996,70918,414,85502,236,416