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:47Cameron AavikCameron AavikScore: 5,747Success
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:475,71648,306,81216,259,0002,032,0002,285,568
2Jan 25, 2025 07:475,74749,491,54015,325,0003,065,0002,285,568
3Jan 25, 2025 07:475,74845,372,10017,371,0001,021,0002,297,856