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 8, 2024 21:08AndreyTSAndreyTSScore: 5,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:085,27044,921,07215,873,000992,0002,527,232
2Jun 8, 2024 21:085,27349,103,61314,890,0001,985,0002,269,184
3Jun 8, 2024 21:085,27343,819,89814,890,0001,985,0002,273,280
4Jun 8, 2024 21:085,28134,309,00014,911,0001,988,0002,269,184
5Jun 8, 2024 21:085,29443,133,41114,948,0001,993,0002,289,664
6Jun 8, 2024 21:085,29943,939,89414,963,0001,995,0002,523,136
7Jun 8, 2024 21:085,32348,720,48315,030,0002,004,0002,289,664
8Jun 8, 2024 21:085,32447,161,04715,033,0002,004,0002,273,280
9Jun 8, 2024 21:085,34834,170,25516,106,0001,006,0002,285,568
10Jun 8, 2024 21:085,48273,997,39317,542,31502,293,760
11Jun 8, 2024 21:085,49975,902,70617,596,53402,301,952
12Jun 8, 2024 21:085,55284,848,93017,764,97202,297,856