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:31Chandrasekaran AkashChandrasekaran AkashScore: 4,370Success
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:294,34738,294,69212,917,000993,0002,506,752
2Apr 10, 2025 20:314,35028,048,33713,921,00002,502,656
3Apr 10, 2025 20:294,36437,482,41112,969,000997,0002,277,376
4Apr 10, 2025 20:314,37044,286,08812,985,000998,0002,277,376
5Apr 10, 2025 20:314,37128,929,12112,989,000999,0002,273,280
6Apr 10, 2025 20:294,37535,468,07013,000,0001,000,0002,273,280