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 listFeb 12, 2023 22:40LiamLiamScore: 5,825Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 12, 2023 22:405,77141,988,46517,441,0001,025,0002,281,472
2Feb 12, 2023 22:405,78541,045,37316,456,0002,057,0002,273,280
3Feb 12, 2023 22:405,78945,387,04618,524,00002,273,280
4Feb 12, 2023 22:405,80142,289,23317,533,0001,031,0002,281,472
5Feb 12, 2023 22:405,80940,560,03717,557,0001,032,0002,273,280
6Feb 12, 2023 22:405,82546,654,47118,641,00002,277,376
7Feb 12, 2023 22:405,82547,329,00917,606,0001,035,0002,379,776
8Feb 12, 2023 22:405,82844,741,01916,579,0002,072,0002,277,376
9Feb 12, 2023 22:405,88645,807,13317,845,000991,0002,281,472
10Feb 12, 2023 22:405,99593,357,67819,185,27202,297,856
11Feb 12, 2023 22:406,00368,545,62519,208,23202,301,952
12Feb 12, 2023 22:406,02191,157,01319,267,83302,187,264