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 listMay 11, 2021 15:15Andrey TsvetkovAndrey TsvetkovScore: 6,214Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 15:166,12843,349,99116,514,0003,096,0002,523,136
2May 11, 2021 15:166,13845,815,70518,609,0001,033,0002,326,528
3May 11, 2021 15:166,13938,374,90019,646,00002,326,528
4May 11, 2021 15:166,14146,954,02617,583,0002,068,0002,326,528
5May 11, 2021 15:166,14848,266,90416,569,0003,106,0002,326,528
6May 11, 2021 15:166,15147,327,76619,682,00002,531,328
7May 11, 2021 15:166,15446,001,71518,656,0001,036,0002,326,528
8May 11, 2021 15:166,15644,236,28018,662,0001,036,0002,330,624
9May 11, 2021 15:166,21346,929,56716,901,0002,982,0002,523,136
10May 11, 2021 15:166,21496,069,10019,883,65502,228,224
11May 11, 2021 15:166,22282,645,49019,909,50102,224,128
12May 11, 2021 15:156,23580,022,16219,952,03702,240,512
13May 11, 2021 15:166,23891,762,60919,962,40002,236,416
14May 11, 2021 15:166,26269,596,74220,037,70002,236,416
15May 11, 2021 15:156,274105,268,82220,075,88502,236,416
16May 11, 2021 15:166,27793,476,58020,086,43902,232,320
17May 11, 2021 15:166,30589,674,25020,174,71302,240,512
18May 11, 2021 15:156,41786,997,80520,535,51602,224,128