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 29, 2024 17:40gviaugviauScore: 5,892Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 17:405,80434,085,61117,541,0001,031,0002,269,184
2Jul 29, 2024 17:405,82152,435,44317,593,0001,034,0002,289,664
3Jul 29, 2024 17:405,84046,582,56817,650,0001,038,0002,519,040
4Jul 29, 2024 17:405,84644,209,65318,707,00002,273,280
5Jul 29, 2024 17:405,86146,501,21918,756,00002,289,664
6Jul 29, 2024 17:405,89145,511,13116,868,0001,984,0002,527,232
7Jul 29, 2024 17:405,89249,341,31816,871,0001,984,0002,289,664
8Jul 29, 2024 17:405,90343,395,54417,895,000994,0002,387,968
9Jul 29, 2024 17:405,91445,167,00417,873,0001,051,0002,289,664
10Jul 29, 2024 17:406,08979,609,44919,484,48702,289,664
11Jul 29, 2024 17:406,11696,000,85319,572,48402,301,952
12Jul 29, 2024 17:406,145101,748,81819,664,73702,183,168