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 listJul 3, 2023 14:44Anılcan GülkayaAnılcan GülkayaScore: 5,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2023 14:445,42343,925,30416,335,0001,020,000430,080
2Jul 3, 2023 14:445,50439,501,03517,613,00002,392,064
3Jul 3, 2023 14:445,51038,699,27616,596,0001,037,0002,265,088
4Jul 3, 2023 14:445,51240,978,01616,600,0001,037,0002,387,968
5Jul 3, 2023 14:445,51543,037,01316,611,0001,038,0002,265,088
6Jul 3, 2023 14:445,53249,982,47117,703,00002,265,088
7Jul 3, 2023 14:445,54036,853,28016,687,0001,042,0002,527,232
8Jul 3, 2023 14:445,54347,743,87416,693,0001,043,0002,387,968
9Jul 3, 2023 14:445,59044,358,29915,902,0001,987,0002,392,064
10Jul 3, 2023 14:445,95972,936,67519,070,16302,281,472
11Jul 3, 2023 14:445,96688,716,25819,091,31202,281,472
12Jul 3, 2023 14:445,98774,790,00819,157,91602,281,472