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 7, 2025 03:10Chandrasekaran AkashChandrasekaran AkashError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2025 03:1000000Error: No answer to stdout. Died or killed?stderr
2Apr 7, 2025 03:104,43735,087,27612,170,0002,028,0002,441,216
3Apr 7, 2025 03:104,44029,194,07513,194,0001,014,0002,535,424
4Apr 7, 2025 03:104,46733,719,60413,274,0001,021,0002,535,424