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 listApr 22, 2025 13:39vahookvahookScore: 4,238Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 13:384,22234,114,51312,472,0001,039,0002,498,560
2Apr 22, 2025 13:394,22231,286,81113,509,00002,273,280
3Apr 22, 2025 13:384,22427,585,89713,518,00002,273,280
4Apr 22, 2025 13:384,23234,836,74413,542,00002,502,656
5Apr 22, 2025 13:394,23234,319,39813,543,00002,494,464
6Apr 22, 2025 13:384,23432,210,99013,550,00002,273,280
7Apr 22, 2025 13:394,23630,565,81213,554,00002,498,560
8Apr 22, 2025 13:394,23630,344,98113,555,00002,494,464
9Apr 22, 2025 13:384,23738,422,24913,558,00002,273,280
10Apr 22, 2025 13:384,23830,015,75812,517,0001,043,0002,506,752
11Apr 22, 2025 13:384,24032,387,67013,569,00002,273,280
12Apr 22, 2025 13:394,24030,406,92213,567,00002,273,280
13Apr 22, 2025 13:384,24231,204,93513,575,00002,273,280
14Apr 22, 2025 13:384,24225,541,43213,575,00002,531,328
15Apr 22, 2025 13:394,24232,417,38213,575,00002,502,656
16Apr 22, 2025 13:394,24928,357,24913,598,00002,269,184
17Apr 22, 2025 13:394,26238,912,22413,637,00002,498,560
18Apr 22, 2025 13:394,26745,885,62713,655,00002,498,560