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 16, 2025 01:24Chandrasekaran AkashChandrasekaran AkashScore: 4,407Success
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 21:494,38332,861,68913,023,0001,001,0002,502,656
2Apr 10, 2025 21:484,38833,836,63613,039,0001,003,0002,506,752
3Apr 16, 2025 01:254,38927,120,38213,041,0001,003,0002,531,328
4Apr 10, 2025 21:494,39128,379,95013,049,0001,003,0002,531,328
5Apr 16, 2025 01:254,39335,179,38313,052,0001,004,0002,502,656
6Apr 16, 2025 01:254,39531,721,91713,061,0001,004,0002,531,328
7Apr 10, 2025 21:484,40225,515,97312,074,0002,012,0002,502,656
8Apr 10, 2025 21:494,40725,489,59813,095,0001,007,0002,502,656
9Apr 16, 2025 01:244,41434,231,57313,116,0001,008,0002,531,328
10Apr 16, 2025 01:254,42440,521,04013,145,0001,011,0002,531,328
11Apr 10, 2025 21:484,43333,193,12713,171,0001,013,0002,531,328
12Apr 16, 2025 01:254,43929,865,47413,192,0001,014,0002,531,328
13Apr 16, 2025 01:244,44242,407,40213,198,0001,015,0002,269,184
14Apr 16, 2025 01:254,44830,106,25314,232,00002,502,656
15Apr 16, 2025 01:244,46735,332,50513,274,0001,021,0002,498,560