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 22, 2022 19:43Robert BurkeRobert BurkeScore: 4,833Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 19:434,78634,406,32313,273,0002,042,0002,437,120
2Jul 22, 2022 19:434,79734,645,71614,328,0001,023,0002,441,216
3Jul 22, 2022 19:434,80843,635,58414,361,0001,025,0002,281,472
4Jul 22, 2022 19:434,80929,137,81714,364,0001,026,0002,281,472
5Jul 22, 2022 19:434,81136,168,81215,394,00002,281,472
6Jul 22, 2022 19:434,82431,264,28215,437,00002,281,472
7Jul 22, 2022 19:434,83336,932,00615,464,00002,281,472
8Jul 22, 2022 19:434,84331,503,97015,498,00002,437,120
9Jul 22, 2022 19:434,85236,914,81614,491,0001,035,0002,281,472
10Jul 22, 2022 19:435,00653,037,15416,018,35902,183,168
11Jul 22, 2022 19:435,00883,143,57516,024,20102,179,072
12Jul 22, 2022 19:435,02152,996,37116,066,46302,183,168