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 19, 2024 08:23Huy Duc LeHuy Duc LeScore: 5,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 08:235,48043,804,74516,506,0001,031,0002,293,760
2Feb 19, 2024 08:235,48637,444,77117,556,00002,293,760
3Feb 19, 2024 08:235,48945,204,98216,532,0001,033,0002,269,184
4Feb 19, 2024 08:235,49145,689,83316,539,0001,033,0002,293,760
5Feb 19, 2024 08:235,49433,479,69416,547,0001,034,0002,269,184
6Feb 19, 2024 08:235,49742,309,68016,555,0001,034,0002,293,760
7Feb 19, 2024 08:235,49836,262,46217,595,00002,293,760
8Feb 19, 2024 08:235,51547,025,68416,611,0001,038,0002,269,184
9Feb 19, 2024 08:235,53045,215,14416,656,0001,041,0002,293,760
10Feb 19, 2024 08:235,68874,911,59718,201,91802,297,856
11Feb 19, 2024 08:235,70385,760,22318,248,85702,306,048
12Feb 19, 2024 08:235,70977,405,02618,270,23902,301,952