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, 2024 04:50BenBenScore: 4,650Success
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, 2024 04:504,60335,581,45713,678,0001,052,0002,379,776
2Jul 31, 2024 04:504,61033,766,42913,699,0001,053,0002,265,088
3Jul 31, 2024 04:504,63540,603,12113,844,000988,0002,383,872
4Jul 31, 2024 04:504,64131,498,44814,850,00002,379,776
5Jul 31, 2024 04:504,64340,558,54612,877,0001,981,0002,527,232
6Jul 31, 2024 04:504,64748,832,65113,879,000991,0002,371,584
7Jul 31, 2024 04:504,65034,568,50013,889,000992,0002,265,088
8Jul 31, 2024 04:504,65034,601,70212,897,0001,984,0002,265,088
9Jul 31, 2024 04:504,65240,506,80213,894,000992,0002,465,792
10Jul 31, 2024 04:504,89684,204,29515,667,24002,273,280
11Jul 31, 2024 04:504,90679,823,03915,699,31502,269,184
12Jul 31, 2024 04:504,93472,854,13215,788,28302,265,088