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 14, 2024 20:47джулисджулисScore: 5,665Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 14, 2024 20:475,64043,779,89616,043,0002,005,0002,289,664
2Jun 14, 2024 20:475,64742,889,20617,066,0001,003,0002,523,136
3Jun 14, 2024 20:475,64946,894,99516,070,0002,008,0002,289,664
4Jun 14, 2024 20:475,65443,311,02416,082,0002,010,0002,273,280
5Jun 14, 2024 20:475,66044,161,64816,099,0002,012,0002,289,664
6Jun 14, 2024 20:475,66148,006,87916,103,0002,012,0002,351,104
7Jun 14, 2024 20:475,66544,113,01717,121,0001,007,0002,519,040
8Jun 14, 2024 20:475,66748,361,25516,120,0002,015,0002,265,088
9Jun 14, 2024 20:475,67144,498,99716,130,0002,016,0002,289,664
10Jun 14, 2024 20:475,79597,215,52918,543,25302,297,856
11Jun 14, 2024 20:475,82495,687,84718,635,38502,293,760
12Jun 14, 2024 20:475,86279,614,23318,759,61802,301,952