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 13:39Chandrasekaran AkashChandrasekaran AkashScore: 4,391Success
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 13:394,37430,259,84712,999,000999,0002,506,752
2Apr 7, 2025 13:394,37525,932,22413,000,0001,000,0002,506,752
3Apr 7, 2025 13:394,39131,962,04713,048,0001,003,0002,277,376
4Apr 7, 2025 13:394,39135,670,46713,047,0001,003,0002,510,848
5Apr 7, 2025 13:394,40031,435,70213,076,0001,005,0002,506,752
6Apr 7, 2025 13:394,41232,117,88713,109,0001,008,0002,277,376