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 10:27Chandrasekaran AkashChandrasekaran AkashScore: 4,377Success
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 10:274,36330,109,46912,965,000997,0002,506,752
2Apr 6, 2025 10:274,37036,971,56012,986,000998,0002,506,752
3Apr 6, 2025 10:274,37328,531,94612,994,000999,0002,506,752
4Apr 6, 2025 10:274,37634,772,83713,002,0001,000,0002,506,752
5Apr 6, 2025 10:274,37735,025,87013,007,0001,000,0002,277,376
6Apr 6, 2025 10:274,38340,994,32513,025,0001,001,0002,277,376
7Apr 6, 2025 10:274,39031,989,18813,045,0001,003,0002,535,424
8Apr 6, 2025 10:274,39834,461,61213,067,0001,005,0002,506,752
9Apr 6, 2025 10:274,41429,401,88613,117,0001,009,0002,506,752