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 20, 2024 15:13Sybrand AarnoutseSybrand AarnoutseScore: 5,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 20, 2024 15:135,54035,790,31816,685,0001,042,0002,289,664
2Oct 20, 2024 15:135,58149,614,94515,874,0001,984,0002,289,664
3Oct 20, 2024 15:135,58245,079,93015,877,0001,984,0002,289,664