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 listFeb 25, 2023 22:18Andranik ChakiryanAndranik ChakiryanScore: 5,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 22:195,60348,123,39215,937,0001,992,0002,338,816
2Feb 25, 2023 22:185,60745,510,78114,953,0002,990,0002,342,912
3Feb 25, 2023 22:195,60834,202,52515,952,0001,994,0002,342,912
4Feb 25, 2023 22:195,60842,415,42615,952,0001,994,0002,355,200
5Feb 25, 2023 22:185,61045,523,59916,956,000997,0002,342,912
6Feb 25, 2023 22:185,61148,578,30216,957,000997,0002,342,912
7Feb 25, 2023 22:195,61647,315,90115,975,0001,996,0002,342,912
8Feb 25, 2023 22:195,61933,811,58616,982,000998,0002,334,720
9Feb 25, 2023 22:185,63036,283,58317,015,0001,000,0002,338,816
10Feb 25, 2023 22:195,63343,454,43516,022,0002,002,0002,351,104
11Feb 25, 2023 22:185,63543,616,13216,028,0002,003,0002,342,912
12Feb 25, 2023 22:185,63733,702,55017,037,0001,002,0002,338,816
13Feb 25, 2023 22:185,64255,378,87516,048,0002,006,0002,342,912
14Feb 25, 2023 22:185,64342,611,80216,053,0002,006,0002,342,912
15Feb 25, 2023 22:195,64949,738,70417,074,0001,004,0002,342,912
16Feb 25, 2023 22:185,65348,594,39217,084,0001,004,0002,351,104
17Feb 25, 2023 22:195,65546,502,63817,090,0001,005,0002,351,104
18Feb 25, 2023 22:195,66350,113,30816,108,0002,013,0002,342,912
19Feb 25, 2023 22:195,68372,111,92918,185,84102,191,360
20Feb 25, 2023 22:185,68761,893,28518,197,47702,301,952
21Feb 25, 2023 22:195,69566,559,46418,224,51902,306,048
22Feb 25, 2023 22:185,71091,836,05518,271,67002,191,360
23Feb 25, 2023 22:195,75180,802,61318,401,89302,179,072
24Feb 25, 2023 22:185,82085,855,87018,622,50402,191,360