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 listApr 11, 2024 17:42Drew GarciaDrew GarciaScore: 5,175Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 13:405,14640,995,53315,439,0001,029,0002,269,184
2Apr 11, 2024 17:425,15034,179,62115,450,0001,030,0002,269,184
3Apr 17, 2024 13:405,15147,061,00716,483,00002,269,184
4Apr 11, 2024 17:425,15234,637,51916,486,00002,400,256
5Apr 17, 2024 13:405,15433,623,27815,463,0001,030,0002,519,040
6Apr 17, 2024 13:405,15636,073,70514,437,0002,062,0002,412,544
7Apr 11, 2024 17:425,15742,733,16915,471,0001,031,0002,269,184
8Apr 11, 2024 17:425,15734,020,27516,501,00002,269,184
9Apr 17, 2024 13:405,15837,860,88015,476,0001,031,0002,396,160
10Apr 17, 2024 13:405,16931,720,52116,541,00002,510,848
11Apr 11, 2024 17:425,17442,220,44615,523,0001,034,0002,269,184
12Apr 17, 2024 13:405,17432,977,16815,524,0001,034,0002,269,184
13Apr 11, 2024 17:425,17540,203,59016,560,00002,400,256
14Apr 11, 2024 17:425,17838,871,36115,535,0001,035,0002,408,448
15Apr 17, 2024 13:405,17939,051,18314,502,0002,071,0002,404,352
16Apr 11, 2024 17:425,18538,757,37215,556,0001,037,0002,400,256
17Apr 11, 2024 17:425,18548,510,03315,555,0001,037,0002,523,136
18Apr 17, 2024 13:405,19647,039,31216,627,00002,269,184
19Apr 17, 2024 13:405,50699,264,25017,618,30702,285,568
20Apr 17, 2024 13:405,51592,957,11417,647,51302,306,048
21Apr 11, 2024 17:425,51886,571,97017,658,03302,301,952
22Apr 11, 2024 17:425,52192,612,88417,668,10402,297,856
23Apr 17, 2024 13:405,54791,825,91417,750,43302,301,952
24Apr 11, 2024 17:425,56678,323,68317,811,99202,289,664