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 11, 2023 23:50Victor MuñozVictor MuñozScore: 5,446Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2023 23:505,40649,531,99816,281,0001,017,0002,519,040
2Jun 11, 2023 23:505,41247,420,59315,282,0002,037,0002,519,040
3Jun 11, 2023 23:505,41541,287,88316,309,0001,019,0002,519,040
4Jun 11, 2023 23:505,42133,700,36215,307,0002,041,0002,396,160
5Jun 11, 2023 23:505,42738,298,93617,366,00002,392,064
6Jun 11, 2023 23:505,42833,178,83616,349,0001,021,0002,396,160
7Jun 11, 2023 23:505,44643,979,46817,427,00002,519,040
8Jun 11, 2023 23:505,45132,227,85617,442,00002,392,064
9Jun 11, 2023 23:505,46643,099,59215,434,0002,057,0002,469,888
10Jun 11, 2023 23:506,13097,327,28419,615,75002,281,472
11Jun 11, 2023 23:506,165106,388,62819,727,64502,277,376
12Jun 11, 2023 23:506,16786,209,43319,733,81302,277,376