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 listApr 3, 2025 12:14CountHarebourgCountHarebourgScore: 11,837Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 3, 2025 12:1411,60966,118,24110,040,00027,108,0002,289,664
2Apr 3, 2025 12:1411,83763,384,5305,981,00031,898,0002,265,088
3Apr 3, 2025 12:1411,84563,031,8056,982,00030,922,0002,269,184