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 30, 2021 01:33Egor SergeevEgor SergeevScore: 5,265Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 01:335,18036,902,99916,577,00002,502,656
2May 30, 2021 01:335,18745,255,56716,598,00002,502,656
3May 30, 2021 01:335,19133,969,21816,610,00002,498,560
4May 30, 2021 01:335,20438,171,77616,653,00002,506,752
5May 30, 2021 01:335,20444,181,98016,654,00002,502,656
6May 30, 2021 01:335,26343,165,85014,861,0001,981,0002,490,368
7May 30, 2021 01:335,26534,407,01015,858,000991,0002,494,464
8May 30, 2021 01:335,27440,185,67115,885,000992,0002,498,560
9May 30, 2021 01:335,27544,166,54415,887,000992,0002,273,280
10May 30, 2021 01:335,39867,228,78217,274,68202,260,992
11May 30, 2021 01:335,42887,154,72517,370,47202,248,704
12May 30, 2021 01:335,45674,878,20417,459,17302,260,992