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 listJul 28, 2024 12:45BenBenScore: 5,365Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 12:455,33433,647,05315,060,0002,008,0002,527,232
2Jul 28, 2024 12:455,34048,088,11015,079,0002,010,0002,527,232
3Jul 28, 2024 12:455,34536,412,17915,091,0002,012,0002,265,088
4Jul 28, 2024 12:455,34540,700,11416,099,0001,006,0002,265,088
5Jul 28, 2024 12:455,34835,842,64215,101,0002,013,0002,265,088
6Jul 28, 2024 12:455,35541,613,53516,128,0001,008,0002,265,088
7Jul 28, 2024 12:455,36544,283,13715,149,0002,019,0002,396,160
8Jul 28, 2024 12:455,36634,732,84516,162,0001,010,0002,265,088
9Jul 28, 2024 12:455,37544,615,96516,190,0001,011,0002,383,872
10Jul 28, 2024 12:455,57389,518,40917,834,99502,256,896
11Jul 28, 2024 12:455,58794,260,20917,877,42102,269,184
12Jul 28, 2024 12:455,61395,119,25917,962,43402,387,968