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 listDec 23, 2024 22:32IhebIhebScore: 4,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 22:324,45634,670,55912,222,0002,037,0002,260,992
2Dec 23, 2024 22:324,46332,160,89613,260,0001,020,0002,523,136
3Dec 23, 2024 22:324,46635,708,87112,249,0002,041,0002,523,136
4Dec 23, 2024 22:324,47937,188,40614,333,00002,260,992
5Dec 23, 2024 22:324,48345,795,54113,320,0001,024,0002,265,088
6Dec 23, 2024 22:324,48530,252,34613,328,0001,025,0002,387,968
7Dec 23, 2024 22:324,49736,123,44213,362,0001,027,0002,260,992
8Dec 23, 2024 22:324,49932,108,91413,368,0001,028,0002,260,992
9Dec 23, 2024 22:324,53031,567,24413,460,0001,035,0002,523,136