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:54джулисджулисScore: 5,281Success
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:545,23041,823,92816,735,00002,371,584
2Jun 9, 2024 21:545,26043,156,12714,853,0001,980,0002,293,760
3Jun 9, 2024 21:545,26848,618,39815,866,000991,0002,293,760
4Jun 9, 2024 21:545,26844,169,68414,876,0001,983,0002,293,760
5Jun 9, 2024 21:545,27241,318,35315,879,000992,0002,379,776
6Jun 9, 2024 21:545,27639,160,17816,882,00002,293,760
7Jun 9, 2024 21:545,28143,233,91614,911,0001,988,0002,478,080
8Jun 9, 2024 21:545,28242,254,34115,847,0001,056,0002,371,584
9Jun 9, 2024 21:545,29644,425,59614,953,0001,993,0002,371,584
10Jun 9, 2024 21:545,510101,621,55917,630,72502,244,608
11Jun 9, 2024 21:545,51583,500,04717,646,48102,256,896
12Jun 9, 2024 21:545,53776,304,14817,718,91802,252,800