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 3, 2024 02:53Drew GarciaDrew GarciaScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 3, 2024 02:535,53142,271,55416,658,0001,041,0002,281,472
2Apr 3, 2024 02:385,53146,882,70015,617,0002,082,0002,281,472
3Apr 3, 2024 02:535,53347,737,45914,581,0003,124,0002,281,472
4Apr 3, 2024 02:545,53744,266,41716,677,0001,042,0002,281,472
5Apr 3, 2024 02:535,53841,108,24616,680,0001,042,0002,269,184
6Apr 3, 2024 02:385,54049,782,22716,687,0001,042,0002,281,472
7Apr 3, 2024 02:545,54142,165,14714,602,0003,129,0002,265,088
8Apr 3, 2024 02:535,54743,293,84016,705,0001,044,0002,289,664
9Apr 3, 2024 02:385,54743,622,44316,705,0001,044,0002,281,472
10Apr 3, 2024 02:545,57245,070,13014,858,0002,971,0002,281,472
11Apr 3, 2024 02:535,57549,115,35716,850,000991,0002,281,472
12Apr 3, 2024 02:535,57746,660,07015,863,0001,982,0002,281,472
13Apr 3, 2024 02:545,57846,885,76714,876,0002,975,0002,281,472
14Apr 3, 2024 02:535,57844,512,51416,860,000991,0002,273,280
15Apr 3, 2024 02:385,57941,114,55514,877,0002,975,0002,383,872
16Apr 3, 2024 02:535,57947,147,93615,871,0001,983,0002,289,664
17Apr 3, 2024 02:385,57935,176,53116,863,000991,0002,277,376
18Apr 3, 2024 02:545,58047,551,19915,873,0001,984,0002,273,280
19Apr 3, 2024 02:545,58145,038,59715,876,0001,984,0002,281,472
20Apr 3, 2024 02:535,58145,689,58315,874,0001,984,0002,281,472
21Apr 3, 2024 02:385,58142,241,72616,868,000992,0002,281,472
22Apr 3, 2024 02:545,58245,772,19216,871,000992,0002,277,376
23Apr 3, 2024 02:535,58246,896,08016,869,000992,0002,273,280
24Apr 3, 2024 02:535,58345,041,23516,874,000992,0002,281,472
25Apr 3, 2024 02:535,58344,310,15915,882,0001,985,0002,379,776
26Apr 3, 2024 02:535,58346,215,18516,874,000992,0002,281,472
27Apr 3, 2024 02:535,58644,974,00215,890,0001,986,0002,523,136
28Apr 3, 2024 02:535,58646,672,91816,883,000993,0002,265,088
29Apr 3, 2024 02:535,58744,308,24415,891,0001,986,0002,273,280
30Apr 3, 2024 02:545,58844,965,25415,895,0001,986,0002,281,472
31Apr 3, 2024 02:535,59134,514,41515,904,0001,988,0002,273,280
32Apr 3, 2024 02:545,59441,334,09914,919,0002,983,0002,281,472
33Apr 3, 2024 02:535,59837,472,29115,923,0001,990,0002,281,472
34Apr 3, 2024 02:385,71238,405,57916,247,0002,030,0002,277,376
35Apr 3, 2024 02:385,80142,362,03117,532,0001,031,0002,281,472
36Apr 3, 2024 02:535,80686,816,00518,578,58502,301,952
37Apr 3, 2024 02:535,81595,496,76518,607,33502,191,360
38Apr 3, 2024 02:385,81688,997,25618,611,38902,174,976
39Apr 3, 2024 02:385,81983,695,93418,619,94502,306,048
40Apr 3, 2024 02:535,82281,098,55218,629,61702,306,048
41Apr 3, 2024 02:535,82492,090,28618,638,17902,301,952
42Apr 3, 2024 02:545,82580,254,98718,639,87202,297,856
43Apr 3, 2024 02:535,82889,267,57618,649,29802,306,048
44Apr 3, 2024 02:545,83294,137,00718,660,80702,174,976
45Apr 3, 2024 02:385,84784,163,61218,709,95402,306,048
46Apr 3, 2024 02:545,85983,251,43918,748,66002,179,072
47Apr 3, 2024 02:535,903102,574,63118,891,10302,260,992
48Apr 3, 2024 02:385,90843,083,34516,915,0001,990,0002,277,376