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 5, 2025 19:38CountHarebourgCountHarebourgScore: 5,651Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 19:385,64844,781,48516,067,0002,008,0002,523,136
2Apr 5, 2025 19:385,65151,253,84917,080,0001,004,0002,277,376
3Apr 5, 2025 19:385,69252,593,82815,178,0003,035,0002,277,376