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 listJun 8, 2024 18:19Andrey LikhachevAndrey LikhachevScore: 5,828Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:195,80537,571,69418,576,00002,289,664
2Jun 8, 2024 18:195,80645,661,60617,546,0001,032,0002,367,488
3Jun 8, 2024 18:195,81139,680,68318,595,00002,289,664
4Jun 8, 2024 18:195,81543,473,48718,607,00002,375,680
5Jun 8, 2024 18:195,82145,817,62717,594,0001,034,0002,375,680
6Jun 8, 2024 18:195,82742,557,06217,610,0001,035,0002,289,664
7Jun 8, 2024 18:195,82847,795,02617,612,0001,036,0002,367,488
8Jun 8, 2024 18:195,83536,035,95117,635,0001,037,0002,367,488
9Jun 8, 2024 18:195,84044,589,38217,650,0001,038,0002,371,584
10Jun 8, 2024 18:196,06498,832,46519,406,02002,260,992
11Jun 8, 2024 18:196,067102,261,22819,415,87402,248,704
12Jun 8, 2024 18:196,08882,459,48419,482,64402,375,680