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 listJun 13, 2024 00:23джулисджулисScore: 5,404Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 00:235,35046,787,90416,112,0001,007,0002,293,760
2Jun 13, 2024 00:235,35934,028,74115,132,0002,017,0002,367,488
3Jun 13, 2024 00:235,35934,971,08115,132,0002,017,0002,293,760
4Jun 13, 2024 00:235,36944,690,86015,160,0002,021,0002,379,776
5Jun 13, 2024 00:235,37338,153,44916,182,0001,011,0002,375,680
6Jun 13, 2024 00:235,37342,889,39116,181,0001,011,0002,371,584
7Jun 13, 2024 00:235,38034,559,77815,190,0002,025,0002,375,680
8Jun 13, 2024 00:235,38234,431,35215,195,0002,026,0002,371,584
9Jun 13, 2024 00:235,38338,394,30516,213,0001,013,0002,375,680
10Jun 13, 2024 00:235,38739,476,27216,224,0001,014,0002,293,760
11Jun 13, 2024 00:235,39133,370,54316,238,0001,014,0002,289,664
12Jun 13, 2024 00:235,39242,266,92015,224,0002,029,0002,293,760
13Jun 13, 2024 00:235,40440,952,45316,275,0001,017,0002,371,584
14Jun 13, 2024 00:235,41040,453,59015,276,0002,036,0002,375,680
15Jun 13, 2024 00:235,41244,285,47415,282,0002,037,0002,367,488
16Jun 13, 2024 00:235,41837,637,38915,297,0002,039,0002,478,080
17Jun 13, 2024 00:235,42043,386,27715,304,0002,040,0002,371,584
18Jun 13, 2024 00:235,43339,668,71916,362,0001,022,0002,465,792
19Jun 13, 2024 00:235,62873,901,39818,010,40502,252,800
20Jun 13, 2024 00:235,63168,640,44918,019,24202,236,416
21Jun 13, 2024 00:235,64067,229,86718,047,75902,375,680
22Jun 13, 2024 00:235,649118,055,70418,077,94602,236,416
23Jun 13, 2024 00:235,662101,983,59918,117,13102,244,608
24Jun 13, 2024 00:235,70082,132,16418,239,08802,244,608