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 listSep 28, 2023 21:39IhebIhebScore: 5,903Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2023 21:205,73541,168,23417,333,0001,019,0002,289,664
2Sep 28, 2023 21:205,73635,822,22316,316,0002,039,0002,273,280
3Sep 28, 2023 21:205,73837,263,48217,341,0001,020,0002,269,184
4Sep 28, 2023 21:205,75242,037,13416,361,0002,045,0002,289,664
5Sep 28, 2023 21:205,75244,365,06916,360,0002,045,0002,289,664
6Sep 28, 2023 21:205,77847,068,11017,464,0001,027,0002,265,088
7Sep 28, 2023 21:205,78141,183,41616,444,0002,055,0002,289,664
8Sep 28, 2023 21:205,79443,286,42617,511,0001,030,0002,289,664
9Sep 28, 2023 21:205,80943,494,03017,558,0001,032,0002,289,664
10Sep 28, 2023 21:395,89442,509,14217,868,000992,0002,289,664
11Sep 28, 2023 21:395,89444,419,44216,877,0001,985,0002,531,328
12Sep 28, 2023 21:395,89947,783,49917,884,000993,0002,289,664
13Sep 28, 2023 21:395,90345,096,57116,901,0001,988,0002,289,664
14Sep 28, 2023 21:395,92446,503,96017,961,000997,0002,289,664
15Sep 28, 2023 21:395,93741,831,97216,999,0001,999,0002,273,280
16Sep 28, 2023 21:395,94242,871,30417,014,0002,001,0002,277,376
17Sep 28, 2023 21:395,94544,003,06717,022,0002,002,0002,375,680
18Sep 28, 2023 21:395,95639,530,34617,052,0002,006,0002,273,280
19Sep 28, 2023 21:205,97687,476,75319,122,28302,297,856
20Sep 28, 2023 21:205,97694,580,47619,123,05702,301,952
21Sep 28, 2023 21:205,97799,344,37119,125,25202,297,856
22Sep 28, 2023 21:396,12284,483,28119,590,03602,297,856
23Sep 28, 2023 21:396,13284,517,96119,623,19602,297,856
24Sep 28, 2023 21:396,13287,177,42219,621,77502,301,952