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 9, 2024 19:50джулисджулисScore: 5,395Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:505,35833,088,29516,136,0001,008,0002,371,584
2Jun 9, 2024 19:505,36545,038,46816,159,0001,009,0002,371,584
3Jun 9, 2024 19:505,36536,989,01916,159,0001,009,0002,293,760
4Jun 9, 2024 19:505,37643,149,01215,180,0002,024,0002,293,760
5Jun 9, 2024 19:505,37738,802,81516,195,0001,012,0002,375,680
6Jun 9, 2024 19:505,38945,513,18315,216,0002,028,0002,375,680
7Jun 9, 2024 19:505,39542,769,63016,248,0001,015,0002,293,760
8Jun 9, 2024 19:505,41534,406,06215,291,0002,038,0002,293,760
9Jun 9, 2024 19:505,41838,244,22515,297,0002,039,0002,293,760
10Jun 9, 2024 19:505,59382,645,06917,896,12802,244,608
11Jun 9, 2024 19:505,62555,376,29117,999,29802,244,608
12Jun 9, 2024 19:505,62964,714,04518,013,22602,256,896