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 listOct 18, 2024 13:15Sybrand AarnoutseSybrand AarnoutseScore: 21,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 18, 2024 13:1521,62092,009,55568,181,0001,002,0002,371,584
2Oct 18, 2024 13:1521,66993,891,51668,338,0001,004,0002,371,584
3Oct 18, 2024 13:1521,69591,428,15568,419,0001,006,0002,457,600