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 20:50Yuriy LyfenkoYuriy LyfenkoScore: 6,158Success
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 20:496,10543,029,29018,508,0001,028,0002,523,136
2May 11, 2021 20:506,11939,938,05119,582,00002,527,232
3May 11, 2021 20:506,12039,254,42016,493,0003,092,0002,519,040
4May 11, 2021 20:506,12347,353,96916,501,0003,094,0002,527,232
5May 11, 2021 20:496,12435,950,62318,567,0001,031,0002,330,624
6May 11, 2021 20:506,12442,652,34518,567,0001,031,0002,330,624
7May 11, 2021 20:496,12644,384,06216,507,0003,095,0002,330,624
8May 11, 2021 20:496,12735,065,68816,511,0003,095,0002,334,720
9May 11, 2021 20:496,14043,209,40016,547,0003,102,0002,334,720
10May 11, 2021 20:506,14737,768,78118,635,0001,035,0002,330,624
11May 11, 2021 20:506,14838,267,62018,638,0001,035,0002,330,624
12May 11, 2021 20:496,15049,323,34318,645,0001,035,0002,334,720
13May 11, 2021 20:506,15849,000,06418,668,0001,037,0002,330,624
14May 11, 2021 20:506,16452,086,01017,648,0002,076,0002,330,624
15May 11, 2021 20:496,16796,847,62619,735,14002,220,032
16May 11, 2021 20:506,19588,318,11719,823,36902,215,936
17May 11, 2021 20:496,20492,177,09819,851,53902,211,840
18May 11, 2021 20:506,20852,284,73318,871,000993,0002,334,720
19May 11, 2021 20:496,20944,242,55618,876,000993,0002,330,624
20May 11, 2021 20:496,21538,695,20416,904,0002,983,0002,527,232
21May 11, 2021 20:496,21648,790,98818,897,000994,0002,334,720
22May 11, 2021 20:506,241102,451,49019,972,64402,220,032
23May 11, 2021 20:506,24398,320,30119,977,52202,224,128
24May 11, 2021 20:496,24690,948,79919,987,54902,224,128