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 2, 2021 19:19Yuriy LyfenkoYuriy LyfenkoScore: 5,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 19:194,989544,386,13714,969,000997,0002,273,280
2Jun 2, 2021 19:194,991541,465,14213,974,0001,996,0002,273,280
3Jun 2, 2021 19:195,002539,878,92515,005,0001,000,0002,273,280
4Jun 2, 2021 19:195,002543,325,65615,005,0001,000,0002,281,472
5Jun 2, 2021 19:195,003537,569,19015,009,0001,000,0002,404,352
6Jun 2, 2021 19:195,013544,133,60314,038,0002,005,0002,273,280
7Jun 2, 2021 19:195,028539,569,47414,080,0002,011,0002,273,280
8Jun 2, 2021 19:195,030540,879,53114,085,0002,012,0002,273,280
9Jun 2, 2021 19:195,031543,804,47815,093,0001,006,0002,281,472
10Jun 2, 2021 19:195,144585,661,60216,460,57902,252,800
11Jun 2, 2021 19:195,172586,162,99016,549,17402,256,896
12Jun 2, 2021 19:195,193578,565,28416,617,08602,256,896