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 listAug 3, 2023 12:25Atılhan Emre DursunoğluAtılhan Emre DursunoğluScore: 2,646,170Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2023 12:252,530,6008,174,103,8628,097,919,65302,260,992
2Aug 3, 2023 12:252,646,1708,526,271,1398,467,742,67602,244,608
3Aug 3, 2023 12:252,853,3079,192,923,2939,130,581,92902,256,896