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 26, 2024 20:43Yuriy LyfenkoYuriy LyfenkoScore: 4,415Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:434,382544,027,49212,019,0002,003,0002,273,280
2Jul 26, 2024 20:434,388536,938,38112,035,0002,005,0002,535,424
3Jul 26, 2024 20:434,398540,711,65212,062,0002,010,0002,535,424
4Jul 26, 2024 20:434,400536,874,71712,068,0002,011,0002,273,280
5Jul 26, 2024 20:434,400535,270,89912,070,0002,011,0002,535,424
6Jul 26, 2024 20:434,407535,657,00712,087,0002,014,0002,535,424
7Jul 26, 2024 20:434,415538,847,40112,109,0002,018,0002,535,424
8Jul 26, 2024 20:434,417539,160,05412,114,0002,019,0002,285,568
9Jul 26, 2024 20:434,418535,813,64312,118,0002,019,0002,273,280
10Jul 26, 2024 20:434,587564,073,44014,679,93302,256,896
11Jul 26, 2024 20:434,623589,194,94214,793,93402,326,528
12Jul 26, 2024 20:434,626566,688,26214,802,16502,195,456