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 12, 2024 23:14джулисджулисError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:1500000Error: expected "977466 ", got "977464 "stderr
2Jun 12, 2024 23:145,95144,239,83018,042,0001,002,0002,371,584
3Jun 12, 2024 23:145,96143,181,79418,072,0001,004,0002,371,584
4Jun 12, 2024 23:145,97341,016,54818,107,0001,005,0002,293,760
5Jun 12, 2024 23:145,97745,909,28918,119,0001,006,0002,293,760
6Jun 12, 2024 23:145,98239,535,60718,136,0001,007,0002,293,760
7Jun 12, 2024 23:145,99442,649,91619,182,00002,293,760
8Jun 12, 2024 23:146,02949,136,67518,278,0001,015,0002,293,760
9Jun 12, 2024 23:146,03240,832,06517,270,0002,031,0002,293,760
10Jun 12, 2024 23:146,03438,350,61617,276,0002,032,0002,293,760
11Jun 12, 2024 23:146,213104,074,12419,882,64502,236,416
12Jun 12, 2024 23:146,22995,813,54719,931,63802,244,608
13Jun 12, 2024 23:146,23880,101,07719,961,18302,260,992