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 10, 2025 20:22Chandrasekaran AkashChandrasekaran AkashScore: 4,716Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2025 20:194,68531,499,12113,994,000999,0002,277,376
2Apr 10, 2025 20:224,69536,160,76514,022,0001,001,0002,277,376
3Apr 10, 2025 20:194,71232,849,12614,073,0001,005,0002,510,848
4Apr 10, 2025 20:224,71638,502,46714,086,0001,006,0002,506,752
5Apr 10, 2025 20:224,73334,520,29214,135,0001,009,0002,506,752
6Apr 10, 2025 20:194,74329,770,41314,166,0001,011,0002,277,376