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 17, 2024 15:39Joad NacerJoad NacerScore: 5,312Success
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 15:395,26934,594,03315,871,000991,0002,289,664
2Apr 17, 2024 03:425,27545,284,15014,894,0001,985,0002,265,088
3Apr 17, 2024 03:425,27645,114,62514,897,0001,986,0002,289,664
4Apr 17, 2024 15:395,27738,476,00114,900,0001,986,0002,289,664
5Apr 17, 2024 15:395,27836,244,72814,902,0001,987,0002,289,664
6Apr 17, 2024 03:425,28744,535,62314,927,0001,990,0002,289,664
7Apr 17, 2024 03:425,29837,699,10115,958,000997,0002,289,664
8Apr 17, 2024 15:395,30033,914,25614,964,0001,995,0002,375,680
9Apr 17, 2024 03:425,30440,111,74514,976,0001,996,0002,289,664
10Apr 17, 2024 15:395,30443,759,49614,977,0001,996,0002,289,664
11Apr 17, 2024 15:395,30538,395,03514,979,0001,997,0002,265,088
12Apr 17, 2024 15:395,31131,840,24914,995,0001,999,0002,531,328
13Apr 17, 2024 03:425,31245,212,36614,998,0001,999,0002,289,664
14Apr 17, 2024 15:395,31740,029,76015,014,0002,001,0002,281,472
15Apr 17, 2024 03:425,32533,908,10715,037,0002,004,0002,523,136
16Apr 17, 2024 03:425,33132,710,51915,052,0002,006,0002,269,184
17Apr 17, 2024 03:425,33439,279,49615,061,0002,008,0002,289,664
18Apr 17, 2024 15:395,34635,360,66215,096,0002,012,0002,289,664
19Apr 17, 2024 03:425,51069,534,79017,633,11402,301,952
20Apr 17, 2024 03:425,51278,681,99617,637,68502,293,760
21Apr 17, 2024 15:395,54054,273,72817,729,29002,174,976
22Apr 17, 2024 03:425,54060,355,05617,726,90202,297,856
23Apr 17, 2024 15:395,55081,129,64117,760,20402,174,976
24Apr 17, 2024 15:395,58571,214,87217,872,74402,174,976