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 9, 2025 12:42scompa18scompa18Score: 5,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 12:425,35539,989,47015,121,0002,016,0002,527,232
2Jan 9, 2025 12:425,41439,856,55816,306,0001,019,0002,527,232
3Jan 9, 2025 12:425,42939,901,28715,329,0002,043,0002,285,568