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 17, 2021 23:40Yuriy LyfenkoYuriy LyfenkoScore: 5,468Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:405,3891,010,987,75713,414,0003,832,0002,400,256
2May 17, 2021 23:405,396386,136,56916,251,0001,015,0002,523,136
3May 17, 2021 23:405,407785,003,69416,286,0001,017,0002,523,136
4May 17, 2021 23:405,4131,635,899,68017,322,00002,523,136
5May 17, 2021 23:405,4231,582,852,49617,353,00002,260,992
6May 17, 2021 23:405,4252,531,066,15115,319,0002,042,0002,523,136
7May 17, 2021 23:405,434991,460,02915,457,0001,932,0002,523,136
8May 17, 2021 23:405,4472,958,199,71416,405,0001,025,0002,392,064
9May 17, 2021 23:405,4531,913,023,62016,480,000969,0002,379,776
10May 17, 2021 23:405,457802,901,23516,435,0001,027,0002,523,136
11May 17, 2021 23:405,4602,061,263,19516,503,000970,0002,523,136
12May 17, 2021 23:405,4631,627,337,40015,541,0001,942,0002,523,136
13May 17, 2021 23:405,4682,484,133,62715,440,0002,058,0002,383,872
14May 17, 2021 23:405,4682,474,144,83716,527,000972,0002,523,136
15May 17, 2021 23:405,4681,740,578,73414,583,0002,916,0002,523,136
16May 17, 2021 23:405,4732,978,574,49515,455,0002,060,0002,265,088
17May 17, 2021 23:405,4742,324,480,57314,597,0002,919,0002,387,968
18May 17, 2021 23:405,4751,896,224,26416,546,000973,0002,387,968
19May 17, 2021 23:405,5992,893,561,98117,918,21102,285,568
20May 17, 2021 23:405,6052,709,838,37317,934,90202,277,376
21May 17, 2021 23:405,6062,753,908,33717,938,90102,281,472
22May 17, 2021 23:405,6082,643,403,78617,945,73302,281,472
23May 17, 2021 23:405,620588,763,81517,983,93802,285,568
24May 17, 2021 23:405,628654,823,63918,008,85502,277,376