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 20, 2024 11:51Matt StuchlikMatt StuchlikScore: 4,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 11:514,66142,793,99813,849,0001,065,0002,265,088
2Jul 20, 2024 11:514,66339,337,27113,927,000994,0002,523,136
3Jul 20, 2024 11:514,66536,471,94212,938,0001,990,0002,523,136
4Jul 20, 2024 11:514,67334,361,19012,961,0001,994,0002,289,664
5Jul 20, 2024 11:514,67437,532,32113,961,000997,0002,527,232
6Jul 20, 2024 11:514,67636,208,84212,969,0001,995,0002,289,664
7Jul 20, 2024 11:514,67931,945,81012,977,0001,996,0002,277,376
8Jul 20, 2024 11:514,68836,053,71114,003,0001,000,0002,289,664
9Jul 20, 2024 11:514,70538,674,82813,049,0002,007,0002,260,992
10Jul 20, 2024 11:514,966112,360,05615,890,92202,281,472
11Jul 20, 2024 11:514,97575,753,91315,920,88102,289,664
12Jul 20, 2024 11:515,01195,575,10016,035,33702,285,568