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 listJul 31, 2023 11:37Max BesogonovMax BesogonovScore: 5,699Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2023 11:375,67145,320,40316,130,0002,016,0002,277,376
2Jul 31, 2023 11:375,67445,667,04616,139,0002,017,0002,277,376
3Jul 31, 2023 11:375,67643,776,41516,145,0002,018,0002,277,376
4Jul 31, 2023 11:375,67839,654,57616,152,0002,019,0002,277,376
5Jul 31, 2023 11:375,69240,414,36417,202,0001,011,0002,269,184
6Jul 31, 2023 11:375,69838,808,96616,207,0002,025,0002,269,184
7Jul 31, 2023 11:375,69941,424,04315,198,0003,039,0002,277,376
8Jul 31, 2023 11:375,72341,550,05516,278,0002,034,0002,277,376
9Jul 31, 2023 11:375,72545,261,96117,303,0001,017,0002,277,376
10Jul 31, 2023 11:375,94098,090,85719,008,04102,297,856
11Jul 31, 2023 11:375,97388,902,91619,114,48102,297,856
12Jul 31, 2023 11:375,98576,169,73019,151,92902,297,856