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 7, 2023 06:43Alexander MonakovAlexander MonakovScore: 4,573Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2023 06:434,514239,615,29114,446,00002,494,464
2Jun 7, 2023 06:434,559240,280,59013,616,000972,0002,310,144
3Jun 7, 2023 06:434,560239,129,93913,619,000972,0002,490,368
4Jun 7, 2023 06:434,560243,056,28613,620,000972,0002,490,368
5Jun 7, 2023 06:434,560244,584,83714,593,00002,535,424
6Jun 7, 2023 06:434,568241,516,98214,619,00002,498,560
7Jun 7, 2023 06:434,573242,593,01813,660,000975,0002,494,464
8Jun 7, 2023 06:434,606239,857,14613,756,000982,0002,498,560
9Jun 7, 2023 06:434,608236,012,92813,764,000983,0002,535,424
10Jun 7, 2023 06:434,775275,037,97515,280,77702,347,008
11Jun 7, 2023 06:434,798269,883,72315,354,35802,359,296
12Jun 7, 2023 06:434,810271,817,80815,392,67602,351,104