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 15, 2024 14:07kytanskytansScore: 21,182Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 14:075,33367,014,64317,064,38802,248,704
2Jul 15, 2024 14:075,35160,286,89517,122,62702,252,800
3Jul 15, 2024 14:075,37699,380,51717,204,32602,248,704
4Jul 15, 2024 14:0721,07688,103,07414,092,00053,350,0002,355,200
5Jul 15, 2024 14:0721,11899,543,41514,120,00053,456,0002,396,160
6Jul 15, 2024 14:0721,18192,710,59013,954,00053,824,0002,396,160
7Jul 15, 2024 14:0721,18295,912,13513,955,00053,828,0002,396,160
8Jul 15, 2024 14:0721,25889,874,99414,005,00054,020,0002,396,160
9Jul 15, 2024 14:0721,48795,302,33214,947,00053,811,0002,396,160
10Jul 15, 2024 14:0721,49890,060,62212,961,00055,832,0002,396,160
11Jul 15, 2024 14:0721,71390,028,35914,098,00055,385,0002,367,488
12Jul 15, 2024 14:0721,81491,836,37612,963,00056,841,0002,396,160