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:40Max BesogonovMax BesogonovScore: 5,728Success
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:405,68942,159,64715,170,0003,034,0002,523,136
2Jul 31, 2023 11:405,69349,571,34016,194,0002,024,0002,277,376
3Jul 31, 2023 11:405,69745,039,75615,193,0003,038,0002,277,376
4Jul 31, 2023 11:405,70639,714,17016,230,0002,028,0002,281,472
5Jul 31, 2023 11:405,70841,427,85115,221,0003,044,0002,277,376
6Jul 31, 2023 11:405,71339,930,75416,252,0002,031,0002,273,280
7Jul 31, 2023 11:405,72834,666,33217,310,0001,018,0002,281,472
8Jul 31, 2023 11:405,73043,403,18017,318,0001,018,0002,277,376
9Jul 31, 2023 11:405,73642,336,90516,316,0002,039,0002,527,232
10Jul 31, 2023 11:405,94394,802,77519,018,55902,293,760
11Jul 31, 2023 11:405,96683,890,70119,090,06802,174,976
12Jul 31, 2023 11:405,995101,621,77019,183,25602,289,664