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:03Andrew MoonAndrew MoonScore: 5,333Success
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:035,28632,361,22114,926,0001,990,0002,265,088
2Jul 11, 2023 06:035,30141,029,41215,967,000997,0002,265,088
3Jul 11, 2023 06:035,30243,360,87514,971,0001,996,0002,383,872
4Jul 11, 2023 06:035,30432,387,00814,977,0001,997,0002,265,088
5Jul 11, 2023 06:035,31546,653,34916,008,0001,000,0002,510,848
6Jul 11, 2023 06:035,32438,777,41816,036,0001,002,0002,527,232
7Jul 11, 2023 06:035,33331,466,53816,062,0001,003,0002,387,968
8Jul 11, 2023 06:035,34436,084,31316,096,0001,006,0002,265,088
9Jul 11, 2023 06:035,35747,521,09416,135,0001,008,0002,506,752
10Jul 11, 2023 06:035,51973,538,92417,660,84302,285,568
11Jul 11, 2023 06:035,53681,832,56717,713,60302,273,280
12Jul 11, 2023 06:035,55775,241,43617,781,48802,277,376