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 listJan 25, 2025 07:45Cameron AavikCameron AavikScore: 5,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2025 07:455,71047,735,57117,258,0001,015,0002,535,424
2Jan 25, 2025 07:455,71848,011,89117,283,0001,016,0002,437,120
3Jan 25, 2025 07:455,74750,626,09416,348,0002,043,0002,535,424