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 listOct 31, 2023 09:08goon-goon-Score: 5,295Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 31, 2023 09:085,27445,915,57514,893,0001,985,0002,265,088
2Oct 31, 2023 09:085,28043,652,11715,841,0001,056,0002,383,872
3Oct 31, 2023 09:085,28332,381,48115,910,000994,0002,265,088
4Oct 31, 2023 09:085,28738,879,29615,924,000995,0002,265,088
5Oct 31, 2023 09:085,29037,103,07815,934,000995,0002,383,872
6Oct 31, 2023 09:085,29248,078,01314,942,0001,992,0002,265,088
7Oct 31, 2023 09:085,29535,433,14014,950,0001,993,0002,265,088
8Oct 31, 2023 09:085,30339,896,03315,973,000998,0002,269,184
9Oct 31, 2023 09:085,30637,520,24315,982,000998,0002,392,064
10Oct 31, 2023 09:085,51567,107,87517,649,57902,281,472
11Oct 31, 2023 09:085,51757,208,50717,654,74702,269,184
12Oct 31, 2023 09:085,52996,479,24417,692,64102,269,184