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,713Success
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,65439,122,44117,088,0001,005,0002,289,664
2Jun 14, 2024 20:475,67545,132,04616,142,0002,017,0002,269,184
3Jun 14, 2024 20:475,68135,140,08717,169,0001,009,0002,277,376
4Jun 14, 2024 20:475,68847,126,39516,181,0002,022,0002,289,664
5Jun 14, 2024 20:475,68933,921,47216,182,0002,022,0002,289,664
6Jun 14, 2024 20:475,70545,007,68916,227,0002,028,0002,289,664
7Jun 14, 2024 20:475,71345,945,75316,252,0002,031,0002,273,280
8Jun 14, 2024 20:475,72939,252,32616,297,0002,037,0002,523,136
9Jun 14, 2024 20:475,73441,087,91317,331,0001,019,0002,289,664
10Jun 14, 2024 20:475,82480,042,59118,635,62702,174,976
11Jun 14, 2024 20:475,88980,737,41718,845,39602,297,856
12Jun 14, 2024 20:475,93496,719,66818,990,32502,174,976