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 listJan 20, 2024 17:00AnSaAnSaScore: 5,276Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 17:005,21649,684,01015,647,0001,043,0002,387,968
2Jan 20, 2024 17:005,22245,043,53615,667,0001,044,0002,396,160
3Jan 20, 2024 17:005,22648,749,18015,678,0001,045,0002,379,776
4Jan 20, 2024 17:005,22738,474,91016,725,00002,396,160
5Jan 20, 2024 17:005,23345,840,54315,699,0001,046,0002,281,472
6Jan 20, 2024 17:005,25644,812,27015,830,000989,0002,387,968
7Jan 20, 2024 17:005,26333,925,60015,851,000990,0002,281,472
8Jan 20, 2024 17:005,26637,988,12816,851,00002,281,472
9Jan 20, 2024 17:005,26835,551,90214,876,0001,983,0002,281,472
10Jan 20, 2024 17:005,27145,790,34015,874,000992,0002,506,752
11Jan 20, 2024 17:005,27135,731,57815,876,000992,0002,383,872
12Jan 20, 2024 17:005,27440,715,64714,893,0001,985,0002,281,472
13Jan 20, 2024 17:005,27632,842,64114,897,0001,986,0002,392,064
14Jan 20, 2024 17:005,27735,933,66515,892,000993,0002,281,472
15Jan 20, 2024 17:005,27742,004,69114,901,0001,986,0002,392,064
16Jan 20, 2024 17:005,27933,519,53914,906,0001,987,0002,281,472
17Jan 20, 2024 17:005,28138,769,75614,910,0001,988,0002,387,968
18Jan 20, 2024 17:005,28233,349,31114,913,0001,988,0002,281,472
19Jan 20, 2024 17:005,44998,815,66017,436,39802,285,568
20Jan 20, 2024 17:005,45377,092,20217,450,89302,289,664
21Jan 20, 2024 17:005,46366,222,23317,480,93202,256,896
22Jan 20, 2024 17:005,46491,010,89117,485,14702,285,568
23Jan 20, 2024 17:005,47190,578,02617,507,47202,289,664
24Jan 20, 2024 17:005,48585,957,17517,551,08202,281,472