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 24, 2022 11:00Robert BurkeRobert BurkeScore: 4,489Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 11:004,45431,275,09912,218,0002,036,0002,273,280
2Jul 24, 2022 11:004,47133,311,45713,286,0001,022,0002,281,472
3Jul 24, 2022 11:004,47335,062,06112,270,0002,045,0002,453,504
4Jul 24, 2022 11:004,47428,644,99213,294,0001,022,0002,281,472
5Jul 24, 2022 11:004,48133,540,38713,315,0001,024,0002,449,408
6Jul 24, 2022 11:004,48331,476,44613,322,0001,024,0002,281,472
7Jul 24, 2022 11:004,48927,299,42913,339,0001,026,0002,277,376
8Jul 24, 2022 11:004,49036,061,32713,342,0001,026,0002,441,216
9Jul 24, 2022 11:004,52139,050,08712,539,0001,929,0002,281,472
10Jul 24, 2022 11:004,72485,858,97515,116,71202,203,648
11Jul 24, 2022 11:004,73683,609,57615,155,90602,203,648
12Jul 24, 2022 11:004,75791,309,70315,222,61102,211,840