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 21:51джулисджулисScore: 5,348Success
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 21:515,31743,712,04615,013,0002,001,0002,371,584
2Jun 9, 2024 21:515,32541,598,69315,036,0002,004,0002,293,760
3Jun 9, 2024 21:515,32633,192,73016,041,0001,002,0002,293,760
4Jun 9, 2024 21:515,32940,172,85015,048,0002,006,0002,379,776
5Jun 9, 2024 21:515,33840,154,15916,076,0001,004,0002,375,680
6Jun 9, 2024 21:515,33841,443,31416,077,0001,004,0002,293,760
7Jun 9, 2024 21:515,34837,313,08815,099,0002,013,0002,375,680
8Jun 9, 2024 21:515,35336,056,12815,116,0002,015,0002,293,760
9Jun 9, 2024 21:515,35737,721,95616,134,0001,008,0002,293,760
10Jun 9, 2024 21:515,62387,866,06517,995,09502,256,896
11Jun 9, 2024 21:515,68477,363,37718,187,26002,252,800
12Jun 9, 2024 21:515,68791,740,10618,199,97302,244,608