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 2, 2024 23:41Drew GarciaDrew GarciaScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 2, 2024 23:415,53648,291,16614,590,0003,126,0002,281,472
2Apr 2, 2024 23:415,53738,393,08215,635,0002,084,0002,281,472
3Apr 2, 2024 23:415,57344,496,02015,853,0001,981,0002,269,184
4Apr 2, 2024 23:415,57843,969,02114,874,0002,974,0002,293,760
5Apr 2, 2024 23:415,58036,307,62715,872,0001,984,0002,281,472
6Apr 2, 2024 23:415,58232,860,00015,879,0001,984,0002,289,664
7Apr 2, 2024 23:415,58342,581,07416,874,000992,0002,281,472
8Apr 2, 2024 23:415,58646,511,22615,890,0001,986,0002,281,472
9Apr 2, 2024 23:415,58643,602,60616,825,0001,051,0002,281,472
10Apr 2, 2024 23:415,83578,564,96218,672,67502,301,952
11Apr 2, 2024 23:415,84584,566,28818,703,30102,183,168
12Apr 2, 2024 23:415,87776,685,58318,806,98202,301,952