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 08:05Cameron AavikCameron AavikScore: 5,806Success
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 08:055,78739,624,64117,491,0001,028,0002,437,120
2Jan 25, 2025 08:055,80633,082,34718,578,00002,535,424
3Jan 25, 2025 08:055,84539,185,00415,588,0003,117,0002,301,952