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 6, 2025 13:25Chandrasekaran AkashChandrasekaran AkashScore: 4,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 13:254,36829,551,04212,979,000998,0002,277,376
2Apr 6, 2025 13:254,37131,217,55512,988,000999,0002,277,376
3Apr 6, 2025 13:254,38930,011,69113,041,0001,003,0002,535,424
4Apr 6, 2025 13:254,39230,201,61913,051,0001,003,0002,506,752
5Apr 6, 2025 13:254,39331,004,80012,051,0002,008,0002,502,656
6Apr 6, 2025 13:254,40029,997,23913,076,0001,005,0002,277,376
7Apr 6, 2025 13:254,40728,442,39613,096,0001,007,0002,277,376
8Apr 6, 2025 13:254,42629,377,86813,153,0001,011,0002,502,656
9Apr 6, 2025 13:254,42833,882,73113,156,0001,012,0002,535,424