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 18:07джулисджулисScore: 5,276Success
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 18:065,21343,758,29116,681,00002,367,488
2Jun 13, 2024 18:075,22247,151,50115,665,0001,044,0002,367,488
3Jun 13, 2024 18:075,22336,170,20916,713,00002,367,488
4Jun 13, 2024 18:065,22434,240,69816,716,00002,375,680
5Jun 13, 2024 18:065,22442,469,47616,718,00002,375,680
6Jun 13, 2024 18:075,22530,693,17715,675,0001,045,0002,293,760
7Jun 13, 2024 18:065,22935,059,28416,732,00002,371,584
8Jun 13, 2024 18:075,27047,728,87715,873,000992,0002,293,760
9Jun 13, 2024 18:065,27244,579,08815,878,000992,0002,371,584
10Jun 13, 2024 18:075,27345,006,92216,874,00002,375,680
11Jun 13, 2024 18:065,27345,938,67616,875,00002,375,680
12Jun 13, 2024 18:075,27448,683,55815,886,000992,0002,367,488
13Jun 13, 2024 18:065,27646,358,35614,896,0001,986,0002,293,760
14Jun 13, 2024 18:065,27646,532,48214,898,0001,986,0002,367,488
15Jun 13, 2024 18:075,27748,804,27115,894,000993,0002,293,760
16Jun 13, 2024 18:075,27832,714,19715,895,000993,0002,293,760
17Jun 13, 2024 18:065,28132,522,90616,898,00002,367,488
18Jun 13, 2024 18:075,28442,784,86315,914,000994,0002,363,392
19Jun 13, 2024 18:075,45298,245,71517,445,23502,244,608
20Jun 13, 2024 18:065,45582,874,22317,455,69502,240,512
21Jun 13, 2024 18:075,45974,514,96117,468,15202,252,800
22Jun 13, 2024 18:065,47078,889,22517,503,92102,244,608
23Jun 13, 2024 18:065,49594,215,24917,585,21002,240,512
24Jun 13, 2024 18:075,49958,614,45917,597,81102,240,512