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 listJun 3, 2021 16:24Yuriy LyfenkoYuriy LyfenkoScore: 5,036Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:244,985337,555,58613,959,0001,994,0002,281,472
2Jun 3, 2021 16:245,003337,985,95114,008,0002,001,0002,281,472
3Jun 3, 2021 16:245,011337,891,75414,030,0002,004,0002,273,280
4Jun 3, 2021 16:245,013342,041,11015,041,0001,002,0002,281,472
5Jun 3, 2021 16:245,016341,318,34214,046,0002,006,0002,273,280
6Jun 3, 2021 16:245,030339,844,44815,090,0001,006,0002,281,472
7Jun 3, 2021 16:245,036338,638,61914,102,0002,014,0002,281,472
8Jun 3, 2021 16:245,041340,209,97014,114,0002,016,0002,281,472
9Jun 3, 2021 16:245,058342,554,32815,176,0001,011,0002,408,448
10Jun 3, 2021 16:245,151370,825,97316,483,29702,285,568
11Jun 3, 2021 16:245,162383,439,66216,518,91602,289,664
12Jun 3, 2021 16:245,175378,878,12816,560,69502,252,800