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 listJun 30, 2024 11:56AnSaAnSaScore: 5,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 11:565,30139,133,61415,965,000997,0002,502,656
2Jun 30, 2024 11:565,30136,838,12414,967,0001,995,0002,506,752
3Jun 30, 2024 11:565,31034,982,51915,992,000999,0002,506,752
4Jun 30, 2024 11:565,31642,973,11416,011,0001,000,0002,506,752
5Jun 30, 2024 11:565,32137,724,20816,026,0001,001,0002,269,184
6Jun 30, 2024 11:565,33743,631,47116,075,0001,004,0002,502,656
7Jun 30, 2024 11:565,33837,422,60916,077,0001,004,0002,531,328
8Jun 30, 2024 11:565,34244,728,88916,089,0001,005,0002,531,328
9Jun 30, 2024 11:565,41649,248,61816,312,0001,019,0002,269,184
10Jun 30, 2024 11:565,60080,741,05517,918,41202,252,800
11Jun 30, 2024 11:565,61562,069,67817,967,55702,252,800
12Jun 30, 2024 11:565,62283,709,95517,989,67702,252,800