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 21, 2024 12:21Micah SwitzerMicah SwitzerScore: 10,050Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 12:2110,009104,803,45032,029,32802,191,360
2Jul 21, 2024 12:2110,050101,443,55732,158,81002,301,952
3Jul 21, 2024 12:2110,05198,311,81732,162,38502,310,144