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:16Chandrasekaran AkashChandrasekaran AkashScore: 4,376Success
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:164,36135,240,33212,960,000996,0002,277,376
2Apr 10, 2025 20:154,36331,657,12412,965,000997,0002,506,752
3Apr 10, 2025 20:154,36633,290,34312,973,000997,0002,277,376
4Apr 10, 2025 20:164,36835,933,99512,980,000998,0002,506,752
5Apr 10, 2025 20:154,36929,723,40612,982,000998,0002,277,376
6Apr 10, 2025 20:164,37131,478,99212,989,000999,0002,510,848
7Apr 10, 2025 20:154,37632,499,39813,004,0001,000,0002,506,752
8Apr 10, 2025 20:164,37730,129,66013,005,0001,000,0002,277,376
9Apr 10, 2025 20:164,37732,097,58413,005,0001,000,0002,277,376
10Apr 10, 2025 20:164,37833,975,97913,009,0001,000,0002,277,376
11Apr 10, 2025 20:154,39228,478,11113,050,0001,003,0002,277,376
12Apr 10, 2025 20:154,39828,557,33313,068,0001,005,0002,273,280