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 8, 2023 10:40Andrew MoonAndrew MoonScore: 5,350Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 10:405,31333,353,16015,003,0002,000,0002,265,088
2Jul 8, 2023 10:405,32741,793,67815,042,0002,005,0002,265,088
3Jul 8, 2023 10:405,32849,755,94915,045,0002,006,0002,265,088
4Jul 8, 2023 10:405,33046,874,07715,051,0002,006,0002,265,088
5Jul 8, 2023 10:405,33241,971,44116,059,0001,003,0002,265,088
6Jul 8, 2023 10:405,33645,445,58716,072,0001,004,0002,265,088
7Jul 8, 2023 10:405,35041,459,75415,105,0002,014,0002,523,136
8Jul 8, 2023 10:405,35834,124,80416,139,0001,008,0002,527,232
9Jul 8, 2023 10:405,35942,299,67915,133,0002,017,0002,383,872
10Jul 8, 2023 10:405,55888,218,24117,784,55902,277,376
11Jul 8, 2023 10:405,57079,980,48917,825,15302,285,568
12Jul 8, 2023 10:405,57683,970,14517,844,66702,293,760