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 6, 2024 09:20Joseph KuoJoseph KuoScore: 10,660Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2024 09:1910,44060,762,6357,086,00026,321,0002,289,664
2Sep 6, 2024 09:1910,45159,178,4433,040,00030,402,0002,478,080
3Sep 6, 2024 09:1910,47055,625,5428,122,00025,381,0002,473,984
4Sep 6, 2024 09:1910,48056,187,5427,114,00026,423,0002,478,080
5Sep 6, 2024 09:1910,48160,687,2225,081,00028,459,0002,289,664
6Sep 6, 2024 09:1910,56662,223,5551,988,00031,823,0002,478,080
7Sep 6, 2024 09:1910,58360,876,3795,976,00027,889,0002,289,664
8Sep 6, 2024 09:2010,66056,756,5454,013,00030,098,0002,478,080
9Sep 6, 2024 09:1910,66357,310,5924,014,00030,107,0002,289,664
10Sep 6, 2024 09:2010,73257,485,5664,040,00030,301,0002,289,664
11Sep 6, 2024 09:2010,74355,307,8158,088,00026,288,0002,469,888
12Sep 6, 2024 09:1910,74957,224,4438,093,00026,304,0002,478,080
13Sep 6, 2024 09:2010,75757,800,9314,049,00030,374,0002,289,664
14Sep 6, 2024 09:2010,76261,739,3499,116,00025,322,0002,289,664
15Sep 6, 2024 09:2010,89561,729,9847,969,00026,895,0002,289,664