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 30, 2024 12:09AnSaAnSaScore: 7,546Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 12:095,04477,990,95116,142,00102,256,896
2Jun 30, 2024 12:095,04691,073,50416,146,39302,244,608
3Jun 30, 2024 12:095,08168,384,62416,257,85402,252,800
4Jun 30, 2024 12:097,51946,783,13915,039,0009,023,0002,396,160
5Jun 30, 2024 12:097,53947,937,31815,079,0009,047,0002,281,472
6Jun 30, 2024 12:097,54148,136,16315,081,0009,049,0002,396,160
7Jun 30, 2024 12:097,54655,183,88311,067,00013,079,0002,396,160
8Jun 30, 2024 12:097,55644,049,78617,126,0007,052,0002,285,568
9Jun 30, 2024 12:097,57548,051,61116,161,0008,080,0002,285,568
10Jun 30, 2024 12:097,57947,556,93319,201,0005,053,0002,392,064
11Jun 30, 2024 12:097,59347,669,63218,223,0006,074,0002,281,472
12Jun 30, 2024 12:097,60042,361,47116,213,0008,106,0002,322,432