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 21:45AndreyTSAndreyTSScore: 5,373Success
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 21:455,32238,592,93816,028,0001,001,0002,289,664
2Jun 8, 2024 21:455,33047,955,91515,051,0002,006,0002,289,664
3Jun 8, 2024 21:455,34036,487,56415,079,0002,010,0002,273,280
4Jun 8, 2024 21:455,34641,358,57515,094,0002,012,0002,289,664
5Jun 8, 2024 21:455,36638,943,90715,152,0002,020,0002,273,280
6Jun 8, 2024 21:455,37341,353,03916,183,0001,011,0002,289,664
7Jun 8, 2024 21:455,37339,738,27216,183,0001,011,0002,379,776
8Jun 8, 2024 21:455,37440,287,37816,187,0001,011,0002,277,376
9Jun 8, 2024 21:455,37546,757,39715,176,0002,023,0002,289,664
10Jun 8, 2024 21:455,552102,711,52417,765,96202,252,800
11Jun 8, 2024 21:455,58095,381,55517,856,20102,297,856
12Jun 8, 2024 21:455,65172,507,74818,081,96502,293,760