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 11, 2023 06:07Andrew MoonAndrew MoonScore: 5,336Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 06:075,29241,739,98214,942,0001,992,0002,265,088
2Jul 11, 2023 06:075,29441,183,15814,949,0001,993,0002,265,088
3Jul 11, 2023 06:075,30835,663,03415,986,000999,0002,392,064
4Jul 11, 2023 06:075,30841,211,53215,988,000999,0002,387,968
5Jul 11, 2023 06:075,31150,560,33114,997,0001,999,0002,396,160
6Jul 11, 2023 06:075,32231,111,13015,027,0002,003,0002,527,232
7Jul 11, 2023 06:075,33645,054,40115,067,0002,009,0002,387,968
8Jul 11, 2023 06:075,34045,882,98115,079,0002,010,0002,265,088
9Jul 11, 2023 06:075,34832,006,40115,100,0002,013,0002,383,872
10Jul 11, 2023 06:075,50575,370,30717,617,39502,273,280
11Jul 11, 2023 06:075,53565,032,65217,712,62302,281,472
12Jul 11, 2023 06:075,53886,291,48717,720,17302,273,280