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 8, 2025 02:38Chandrasekaran AkashChandrasekaran AkashScore: 2,815,437Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 8, 2025 02:382,756,0148,854,259,7398,775,270,00043,976,0002,281,472
2Apr 8, 2025 02:382,815,4379,043,362,6878,979,410,00029,988,0002,535,424
3Apr 8, 2025 02:382,821,0059,062,055,0388,997,230,00029,987,0002,514,944