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 9, 2024 19:12джулисджулисScore: 5,534Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:125,48534,289,52816,521,0001,032,0002,293,760
2Jun 9, 2024 19:125,49647,295,62116,553,0001,034,0002,371,584
3Jun 9, 2024 19:125,49937,700,00517,597,00002,293,760
4Jun 9, 2024 19:125,50431,350,79116,577,0001,036,0002,379,776
5Jun 9, 2024 19:125,52535,119,44116,640,0001,040,0002,293,760
6Jun 9, 2024 19:125,53146,487,36417,698,00002,293,760
7Jun 9, 2024 19:125,53444,235,22616,667,0001,041,0002,293,760
8Jun 9, 2024 19:125,57746,782,95816,856,000991,0002,293,760
9Jun 9, 2024 19:125,58144,694,06215,875,0001,984,0002,293,760
10Jun 9, 2024 19:125,75288,344,22618,406,23902,252,800
11Jun 9, 2024 19:125,76295,320,54618,438,26402,248,704
12Jun 9, 2024 19:125,76273,657,58518,439,89702,256,896