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, 2023 16:43Alexander MonakovAlexander MonakovScore: 4,559Success
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, 2023 16:434,51330,389,41314,441,00002,498,560
2Jun 30, 2023 16:434,53339,503,79514,504,00002,498,560
3Jun 30, 2023 16:434,53334,300,35914,505,00002,277,376
4Jun 30, 2023 16:434,53732,445,25714,517,00002,277,376
5Jun 30, 2023 16:434,55235,187,62014,567,00002,277,376
6Jun 30, 2023 16:434,55735,131,96114,583,00002,277,376
7Jun 30, 2023 16:434,55940,764,44614,588,00002,502,656
8Jun 30, 2023 16:434,56227,951,39514,599,00002,502,656
9Jun 30, 2023 16:434,57741,818,33514,646,00002,277,376
10Jun 30, 2023 16:434,78061,900,06515,296,86102,232,320
11Jun 30, 2023 16:434,78285,289,11615,301,88002,236,416
12Jun 30, 2023 16:434,84059,172,89915,488,28002,232,320