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 listMay 18, 2021 13:26Yuriy LyfenkoYuriy LyfenkoScore: 5,622Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:265,595294,521,29816,910,000994,0002,523,136
2May 18, 2021 13:265,6001,897,485,03615,929,0001,991,0002,510,848
3May 18, 2021 13:265,6012,402,104,76016,869,0001,054,0002,519,040
4May 18, 2021 13:265,6132,683,217,53614,969,0002,993,0002,510,848
5May 18, 2021 13:265,6152,979,327,94315,972,0001,996,0002,519,040
6May 18, 2021 13:265,616457,765,87514,975,0002,995,0002,519,040
7May 18, 2021 13:265,6222,330,634,84614,992,0002,998,0002,379,776
8May 18, 2021 13:265,6463,045,992,24316,061,0002,007,0002,519,040
9May 18, 2021 13:265,6692,249,641,48918,142,00002,519,040
10May 18, 2021 13:265,7711,972,136,60218,467,43102,244,608
11May 18, 2021 13:265,7792,044,166,49518,492,68002,244,608
12May 18, 2021 13:265,7911,699,153,44118,532,06202,244,608