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 31, 2024 15:47BenBenScore: 4,567Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 31, 2024 15:474,46035,566,48114,272,00002,486,272
2Jul 31, 2024 15:474,46828,958,24114,299,00002,494,464
3Jul 31, 2024 15:474,49041,342,86114,367,00002,498,560
4Jul 31, 2024 15:474,49832,197,04214,394,00002,498,560
5Jul 31, 2024 15:474,50730,931,42114,423,00002,494,464
6Jul 31, 2024 15:474,53727,156,84514,519,00002,494,464
7Jul 31, 2024 15:474,56730,357,52814,614,00002,277,376
8Jul 31, 2024 15:474,57327,217,14214,635,00002,494,464
9Jul 31, 2024 15:474,57838,264,14514,651,00002,498,560
10Jul 31, 2024 15:474,80859,792,91415,385,92402,240,512
11Jul 31, 2024 15:474,81667,367,59215,409,87002,236,416
12Jul 31, 2024 15:474,90395,394,58215,688,55502,236,416