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 listJan 23, 2024 17:59Gokberk YaltirakliGokberk YaltirakliScore: 5,670Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 17:595,61242,302,25515,963,0001,995,0002,273,280
2Jan 23, 2024 17:595,61640,633,00216,973,000998,0002,289,664
3Jan 23, 2024 17:595,62546,932,23216,001,0002,000,0002,289,664
4Jan 23, 2024 17:595,64240,188,79417,051,0001,003,0002,289,664
5Jan 23, 2024 17:595,64239,240,14716,048,0002,006,0002,269,184
6Jan 23, 2024 17:595,65744,775,29616,091,0002,011,0002,289,664
7Jan 23, 2024 17:595,67044,326,88016,129,0002,016,0002,269,184
8Jan 23, 2024 17:595,67840,813,86316,152,0002,019,0002,273,280
9Jan 23, 2024 17:595,68139,723,46216,160,0002,020,0002,273,280
10Jan 23, 2024 17:595,74194,729,33618,369,60002,174,976
11Jan 23, 2024 17:595,82994,962,79418,652,04502,174,976
12Jan 23, 2024 17:595,83382,542,00518,666,84702,170,880