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 10:50BenBenScore: 4,483Success
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 10:504,45242,807,70914,247,00002,486,272
2Jul 31, 2024 10:504,45336,185,65314,249,00002,490,368
3Jul 31, 2024 10:504,45632,727,72014,258,00002,498,560
4Jul 31, 2024 10:504,46030,722,62714,272,00002,498,560
5Jul 31, 2024 10:504,47833,495,33714,330,00002,277,376
6Jul 31, 2024 10:504,47930,266,78714,332,00002,277,376
7Jul 31, 2024 10:504,48339,671,40814,346,00002,277,376
8Jul 31, 2024 10:504,50033,202,71414,401,00002,494,464
9Jul 31, 2024 10:504,56130,503,04914,594,00002,482,176
10Jul 31, 2024 10:504,75275,878,82215,205,65202,256,896
11Jul 31, 2024 10:504,82359,602,59915,432,21202,260,992
12Jul 31, 2024 10:504,83567,874,01415,472,28002,367,488