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 19:33AndreyTSAndreyTSScore: 5,373Success
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 19:335,33742,202,29616,073,0001,004,0002,523,136
2Jun 8, 2024 19:335,34834,055,64916,107,0001,006,0002,265,088
3Jun 8, 2024 19:335,34838,330,01216,109,0001,006,0002,527,232
4Jun 8, 2024 19:335,35340,963,32715,115,0002,015,0002,289,664
5Jun 8, 2024 19:335,36645,270,01815,152,0002,020,0002,289,664
6Jun 8, 2024 19:335,36946,568,26415,161,0002,021,0002,289,664
7Jun 8, 2024 19:335,37335,988,77515,171,0002,022,0002,289,664
8Jun 8, 2024 19:335,37634,624,74016,191,0001,011,0002,277,376
9Jun 8, 2024 19:335,43341,241,13015,342,0002,045,0002,351,104
10Jun 8, 2024 19:335,63572,830,56118,031,15002,306,048
11Jun 8, 2024 19:335,63593,193,15618,032,63802,183,168
12Jun 8, 2024 19:335,66782,824,92718,133,34602,301,952