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 listJul 22, 2024 18:10Matt StuchlikMatt StuchlikScore: 4,677Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2024 18:104,66031,095,12112,925,0001,988,0002,269,184
2Jul 22, 2024 18:104,66231,775,83312,929,0001,989,0002,289,664
3Jul 22, 2024 18:104,66329,900,46612,931,0001,989,0002,289,664
4Jul 22, 2024 18:104,67132,143,79913,952,000996,0002,289,664
5Jul 22, 2024 18:104,67637,455,40112,968,0001,995,0002,289,664
6Jul 22, 2024 18:104,67637,894,24013,966,000997,0002,289,664
7Jul 22, 2024 18:104,67738,278,14712,971,0001,995,0002,519,040
8Jul 22, 2024 18:104,68840,177,70614,001,0001,000,0002,265,088
9Jul 22, 2024 18:104,69340,475,18213,015,0002,002,0002,289,664
10Jul 22, 2024 18:104,93287,346,51115,783,85602,301,952
11Jul 22, 2024 18:104,95176,196,59015,842,66302,289,664
12Jul 22, 2024 18:104,98695,874,61815,956,78802,174,976