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 21, 2024 11:10Matt StuchlikMatt StuchlikScore: 4,852Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 11:104,80633,026,94714,353,0001,025,0002,289,664
2Jul 21, 2024 11:104,81431,758,22115,406,00002,289,664
3Jul 21, 2024 11:104,82033,401,61414,397,0001,028,0002,289,664
4Jul 21, 2024 11:104,82238,624,77215,429,00002,527,232
5Jul 21, 2024 11:104,82338,144,74014,405,0001,028,0002,289,664
6Jul 21, 2024 11:104,83730,499,62913,414,0002,063,0002,269,184
7Jul 21, 2024 11:104,85233,798,08514,490,0001,035,0002,289,664
8Jul 21, 2024 11:104,85937,871,86614,514,0001,036,0002,281,472
9Jul 21, 2024 11:104,88542,704,27814,591,0001,042,0002,269,184
10Jul 21, 2024 11:105,08660,482,55216,276,03602,297,856
11Jul 21, 2024 11:105,09584,575,00116,304,92702,174,976
12Jul 21, 2024 11:105,11983,050,03916,379,69002,174,976