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 28, 2024 12:46BenBenScore: 4,735Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 12:464,69331,841,24614,018,0001,001,0002,523,136
2Jul 28, 2024 12:464,71040,897,79214,069,0001,004,0002,281,472
3Jul 28, 2024 12:464,71449,241,10314,080,0001,005,0002,277,376
4Jul 28, 2024 12:464,71640,550,46914,085,0001,006,0002,289,664
5Jul 28, 2024 12:464,72332,672,13314,107,0001,007,0002,289,664
6Jul 28, 2024 12:464,72831,871,27114,123,0001,008,0002,289,664
7Jul 28, 2024 12:464,73537,647,71413,133,0002,020,0002,277,376
8Jul 28, 2024 12:464,73932,405,25613,144,0002,022,0002,269,184
9Jul 28, 2024 12:464,76845,176,52513,222,0002,034,0002,281,472
10Jul 28, 2024 12:464,958101,942,81315,866,36502,252,800
11Jul 28, 2024 12:464,96166,346,14315,874,72702,297,856
12Jul 28, 2024 12:465,00698,226,79816,019,23802,306,048