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 listMar 1, 2023 10:30DarkclainerDarkclainerScore: 4,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 1, 2023 10:304,64833,001,36412,892,0001,983,0002,269,184
2Mar 1, 2023 10:304,65330,683,30713,896,000992,0002,383,872
3Mar 1, 2023 10:304,65342,488,43812,904,0001,985,0002,265,088
4Mar 1, 2023 10:304,65344,676,94013,897,000992,0002,265,088
5Mar 1, 2023 10:304,65742,975,93313,837,0001,064,0002,527,232
6Mar 1, 2023 10:304,66944,224,57612,950,0001,992,0002,379,776
7Mar 1, 2023 10:304,67131,634,25612,955,0001,993,0002,379,776
8Mar 1, 2023 10:304,68230,841,04312,984,0001,997,0002,379,776
9Mar 1, 2023 10:304,69938,657,23713,033,0002,005,0002,379,776
10Mar 1, 2023 10:304,89094,981,57015,648,15102,232,320
11Mar 1, 2023 10:304,90784,002,31015,701,72702,240,512
12Mar 1, 2023 10:304,90977,181,17415,707,84202,240,512