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 00:02goon-goon-Score: 5,348Success
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 00:025,29543,293,63314,952,0001,993,0002,265,088
2Oct 31, 2023 00:025,30843,556,07914,987,0001,998,0002,260,992
3Oct 31, 2023 00:025,31538,262,12515,008,0002,001,0002,392,064
4Oct 31, 2023 00:025,31946,568,18815,019,0002,002,0002,265,088
5Oct 31, 2023 00:025,32546,546,34916,037,0001,002,0002,387,968
6Oct 31, 2023 00:025,33336,081,06216,062,0001,003,0002,265,088
7Oct 31, 2023 00:025,34843,313,13316,046,0001,069,0002,387,968
8Oct 31, 2023 00:025,35433,192,24216,127,0001,007,0002,494,464
9Oct 31, 2023 00:025,36148,250,22815,137,0002,018,0002,265,088
10Oct 31, 2023 00:025,50476,298,20617,613,23602,269,184
11Oct 31, 2023 00:025,53264,489,80517,702,22202,281,472
12Oct 31, 2023 00:025,54688,041,46717,745,65002,281,472