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 10, 2024 16:55AnSaAnSaScore: 8,429Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 10, 2024 16:555,80398,703,29718,568,03602,306,048
2Jun 10, 2024 16:555,83084,318,75018,657,57402,301,952
3Jun 10, 2024 16:555,85594,385,48818,737,42202,174,976
4Jun 10, 2024 16:558,39352,705,02817,905,0008,952,0002,359,296
5Jun 10, 2024 16:558,40350,442,07718,921,0007,967,0002,383,872
6Jun 10, 2024 16:558,42749,337,66817,977,0008,988,0002,383,872
7Jun 10, 2024 16:558,42959,530,69915,984,00010,989,0002,379,776
8Jun 10, 2024 16:558,45348,519,88318,033,0009,016,0002,379,776
9Jun 10, 2024 16:558,46150,815,61917,048,00010,028,0002,351,104
10Jun 10, 2024 16:558,46450,348,97416,050,00011,035,0002,351,104
11Jun 10, 2024 16:558,51648,807,91417,158,00010,093,0002,310,144
12Jun 10, 2024 16:558,53848,808,81016,191,00011,131,0002,379,776