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 23, 2023 16:12DarkclainerDarkclainerScore: 5,106Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 16:125,06547,381,24114,183,0002,026,0002,383,872
2Feb 23, 2023 16:125,06842,087,05814,192,0002,027,0002,383,872
3Feb 23, 2023 16:125,07141,882,72514,198,0002,028,0002,531,328
4Feb 23, 2023 16:125,07340,196,24714,205,0002,029,0002,273,280
5Feb 23, 2023 16:125,08435,435,45014,236,0002,033,0002,527,232
6Feb 23, 2023 16:125,09833,517,78816,315,00002,387,968
7Feb 23, 2023 16:125,10637,194,63915,318,0001,021,0002,482,176
8Feb 23, 2023 16:125,10839,990,19515,326,0001,021,0002,269,184
9Feb 23, 2023 16:125,12148,203,30815,363,0001,024,0002,269,184
10Feb 23, 2023 16:125,28491,005,60716,909,51002,232,320
11Feb 23, 2023 16:125,306116,141,92016,979,36102,236,416
12Feb 23, 2023 16:125,31272,662,49916,999,30702,236,416