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 8, 2024 20:59AndreyTSAndreyTSScore: 5,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:595,34845,577,13515,100,0002,013,0002,269,184
2Jun 8, 2024 20:595,35233,812,45616,120,0001,007,0002,281,472
3Jun 8, 2024 20:595,35838,590,18515,130,0002,017,0002,383,872
4Jun 8, 2024 20:595,36632,297,55215,152,0002,020,0002,289,664
5Jun 8, 2024 20:595,36843,013,20915,156,0002,020,0002,289,664
6Jun 8, 2024 20:595,37041,874,91415,163,0002,021,0002,289,664
7Jun 8, 2024 20:595,39337,740,26515,227,0002,030,0002,289,664
8Jun 8, 2024 20:595,41438,232,07215,288,0002,038,0002,289,664
9Jun 8, 2024 20:595,42338,734,68815,313,0002,041,0002,289,664
10Jun 8, 2024 20:595,60779,351,16217,942,98202,301,952
11Jun 8, 2024 20:595,64483,124,32718,060,56902,179,072
12Jun 8, 2024 20:595,65556,038,42718,097,48002,301,952