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:36Andrey TsvetkovAndrey TsvetkovScore: 5,698Success
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:405,66747,271,22916,120,0002,015,0002,334,720
2Jun 29, 2021 22:365,66839,562,29516,123,0002,015,0002,334,720
3Jun 29, 2021 22:405,66843,913,48016,124,0002,015,0002,523,136
4Jun 29, 2021 22:365,67439,308,89615,130,0003,026,0002,531,328
5Jun 29, 2021 22:405,67452,073,03916,141,0002,017,0002,330,624
6Jun 29, 2021 22:365,67635,826,58616,146,0002,018,0002,334,720
7Jun 29, 2021 22:405,67744,536,44016,148,0002,018,0002,338,816
8Jun 29, 2021 22:405,68538,112,51016,170,0002,021,0002,519,040
9Jun 29, 2021 22:365,68951,730,13915,171,0003,034,0002,523,136
10Jun 29, 2021 22:405,68941,097,87715,170,0003,034,0002,334,720
11Jun 29, 2021 22:365,69138,420,14516,188,0002,023,0002,523,136
12Jun 29, 2021 22:405,69344,524,52815,182,0003,036,0002,334,720
13Jun 29, 2021 22:365,69838,780,50016,208,0002,026,0002,342,912
14Jun 29, 2021 22:405,70946,399,06415,224,0003,044,0002,314,240
15Jun 29, 2021 22:405,71147,637,29915,230,0003,046,0002,519,040
16Jun 29, 2021 22:365,72344,265,47115,260,0003,052,0002,334,720
17Jun 29, 2021 22:365,73836,379,58416,321,0002,040,0002,531,328
18Jun 29, 2021 22:365,74155,936,73318,370,16702,240,512
19Jun 29, 2021 22:405,74580,068,10218,384,56402,240,512
20Jun 29, 2021 22:365,74841,152,11715,329,0003,065,0002,334,720
21Jun 29, 2021 22:365,749102,987,27218,398,04902,232,320
22Jun 29, 2021 22:405,75693,551,50618,419,63002,236,416
23Jun 29, 2021 22:405,81196,522,75018,594,53802,232,320
24Jun 29, 2021 22:365,91381,645,50218,922,73102,232,320