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 listJul 22, 2024 12:35Matt StuchlikMatt StuchlikScore: 2,764,536Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 12:352,550,5458,226,157,8288,161,744,17602,387,968
2Jul 22, 2024 12:352,764,5368,910,394,2088,846,514,97902,269,184
3Jul 22, 2024 12:352,947,5509,513,448,2669,432,160,56402,252,800