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:21CountHarebourgCountHarebourgScore: 17,161Success
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:2117,00386,675,37016,121,00038,288,0002,396,160
2Apr 3, 2025 12:2117,16178,783,40314,976,00039,938,0002,326,528
3Apr 3, 2025 12:2117,28379,662,00114,078,00041,229,0002,494,464