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 09:26DarkclainerDarkclainerScore: 5,279Success
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 09:265,27245,220,27415,878,000992,0002,379,776
2Feb 23, 2023 09:265,27339,349,01216,872,00002,269,184
3Feb 23, 2023 09:265,27343,098,27215,880,000992,0002,379,776
4Feb 23, 2023 09:265,27433,824,71215,884,000992,0002,269,184
5Feb 23, 2023 09:265,27541,893,88816,879,00002,375,680
6Feb 23, 2023 09:265,27644,466,37815,890,000993,0002,375,680
7Feb 23, 2023 09:265,27941,172,88215,901,000993,0002,371,584
8Feb 23, 2023 09:265,29147,298,89514,940,0001,992,0002,473,984
9Feb 23, 2023 09:265,30949,893,79614,990,0001,998,0002,531,328
10Feb 23, 2023 09:265,49692,923,71117,587,24902,260,992
11Feb 23, 2023 09:265,50479,128,46017,612,33402,248,704
12Feb 23, 2023 09:265,521109,177,85117,667,23202,252,800