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 16, 2023 18:57Ulyanov AlekseyUlyanov AlekseyScore: 5,787Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 18:575,69939,007,75116,212,0002,026,0002,289,664
2Jun 16, 2023 18:575,74543,883,45817,362,0001,021,0002,289,664
3Jun 16, 2023 18:575,75544,445,03417,394,0001,023,0002,289,664
4Jun 16, 2023 18:575,75840,409,32417,404,0001,023,0002,289,664
5Jun 16, 2023 18:575,76542,277,61817,424,0001,024,0002,269,184
6Jun 16, 2023 18:575,78347,492,76117,477,0001,028,0002,289,664
7Jun 16, 2023 18:575,78737,816,18117,491,0001,028,0002,289,664
8Jun 16, 2023 18:575,79547,420,50217,513,0001,030,0002,269,184
9Jun 16, 2023 18:575,79940,794,37417,527,0001,031,0002,355,200
10Jun 16, 2023 18:575,95680,064,46019,059,20002,179,072
11Jun 16, 2023 18:575,95692,703,05119,060,37902,293,760
12Jun 16, 2023 18:575,97583,604,06219,121,08102,301,952