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 14:40AndreyTSAndreyTSScore: 5,787Success
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 14:405,75244,288,84717,384,0001,022,0002,289,664
2Jun 9, 2024 14:405,75940,469,05617,406,0001,023,0002,289,664
3Jun 9, 2024 14:405,77238,482,52418,469,00002,289,664
4Jun 9, 2024 14:405,77343,756,79716,420,0002,052,0002,289,664
5Jun 9, 2024 14:405,78339,534,93217,477,0001,028,0002,265,088
6Jun 9, 2024 14:405,78642,451,02618,516,00002,289,664
7Jun 9, 2024 14:405,78739,312,45118,517,00002,269,184
8Jun 9, 2024 14:405,79447,682,07517,511,0001,030,0002,269,184
9Jun 9, 2024 14:405,80040,664,43517,528,0001,031,0002,289,664
10Jun 9, 2024 14:406,13986,760,48819,643,83602,301,952
11Jun 9, 2024 14:406,14785,129,94619,671,83202,301,952
12Jun 9, 2024 14:406,184103,914,47819,787,81502,174,976