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 listFeb 18, 2025 16:41AlexAlexScore: 6,611Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 18, 2025 16:416,55243,857,23719,969,000998,0002,281,472
2Feb 18, 2025 16:416,57343,607,76119,031,0002,003,0002,265,088
3Feb 18, 2025 16:416,58548,297,15919,065,0002,006,0002,289,664
4Feb 18, 2025 16:416,60942,873,58719,135,0002,014,0002,269,184
5Feb 18, 2025 16:416,61144,927,36919,141,0002,014,0002,289,664
6Feb 18, 2025 16:416,62643,622,17319,184,0002,019,0002,281,472
7Feb 18, 2025 16:416,64447,463,86819,236,0002,024,0002,273,280
8Feb 18, 2025 16:416,65046,651,93919,254,0002,026,0002,277,376
9Feb 18, 2025 16:416,65353,183,81819,261,0002,027,0002,289,664