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 8, 2023 11:19Andrew MoonAndrew MoonScore: 5,363Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 11:195,32142,916,00415,024,0002,003,0002,265,088
2Jul 8, 2023 11:195,32639,446,75415,038,0002,005,0002,265,088
3Jul 8, 2023 11:195,32846,826,87515,044,0002,005,0002,265,088
4Jul 8, 2023 11:195,32934,827,37815,046,0002,006,0002,265,088
5Jul 8, 2023 11:195,34535,400,42815,093,0002,012,0002,265,088
6Jul 8, 2023 11:195,34935,094,66715,103,0002,013,0002,371,584
7Jul 8, 2023 11:195,36343,907,64616,154,0001,009,0002,396,160
8Jul 8, 2023 11:195,36938,361,64816,172,0001,010,0002,392,064
9Jul 8, 2023 11:195,38940,739,61516,231,0001,014,0002,387,968
10Jul 8, 2023 11:195,59479,245,36417,900,39802,285,568
11Jul 8, 2023 11:195,61184,480,19317,953,96202,281,472
12Jul 8, 2023 11:195,63288,767,89418,021,17102,273,280