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 23, 2021 19:38Yuriy LyfenkoYuriy LyfenkoScore: 5,111Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 19:385,04033,184,53814,113,0002,016,0002,387,968
2May 23, 2021 19:385,06131,514,90114,171,0002,024,0002,400,256
3May 23, 2021 19:365,07139,342,85215,213,0001,014,0002,392,064
4May 23, 2021 19:365,07531,660,12714,210,0002,030,0002,531,328
5May 23, 2021 19:385,09047,355,66614,252,0002,036,0002,506,752
6May 23, 2021 19:365,09040,279,17115,271,0001,018,0002,265,088
7May 23, 2021 19:365,09140,030,93215,272,0001,018,0002,392,064
8May 23, 2021 19:365,09233,114,52515,276,0001,018,0002,265,088
9May 23, 2021 19:385,09243,117,87214,258,0002,036,0002,527,232
10May 23, 2021 19:385,09241,546,36115,277,0001,018,0002,265,088
11May 23, 2021 19:365,09337,873,14514,261,0002,037,0002,265,088
12May 23, 2021 19:385,09837,988,12014,274,0002,039,0002,396,160
13May 23, 2021 19:365,11139,853,60015,333,0001,022,0002,265,088
14May 23, 2021 19:385,11837,195,22416,377,00002,265,088
15May 23, 2021 19:365,12037,486,23415,361,0001,024,0002,527,232
16May 23, 2021 19:385,12332,072,35116,392,00002,265,088
17May 23, 2021 19:365,12647,029,75915,377,0001,025,0002,482,176
18May 23, 2021 19:385,12753,852,78316,405,00002,392,064
19May 23, 2021 19:385,29167,660,38316,932,71302,281,472
20May 23, 2021 19:385,29874,985,51416,952,96302,277,376
21May 23, 2021 19:365,31187,515,75316,995,83502,273,280
22May 23, 2021 19:365,31880,720,15617,016,81402,281,472
23May 23, 2021 19:365,34475,704,99917,099,28902,265,088
24May 23, 2021 19:385,36395,319,58217,161,48502,281,472