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 9, 2023 10:17Andrew 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 9, 2023 10:175,30847,342,04914,987,0001,998,0002,265,088
2Jul 9, 2023 10:175,31339,234,79916,002,0001,000,0002,269,184
3Jul 9, 2023 10:175,31432,720,24415,005,0002,000,0002,527,232
4Jul 9, 2023 10:175,31645,593,17515,009,0002,001,0002,523,136
5Jul 9, 2023 10:175,31940,683,64816,019,0001,001,0002,383,872
6Jul 9, 2023 10:175,32946,014,76815,046,0002,006,0002,387,968
7Jul 9, 2023 10:175,33646,519,01215,066,0002,008,0002,383,872
8Jul 9, 2023 10:175,34452,860,16815,090,0002,012,0002,392,064
9Jul 9, 2023 10:175,35432,732,05115,117,0002,015,0002,265,088
10Jul 9, 2023 10:175,51675,955,71717,650,12102,285,568
11Jul 9, 2023 10:175,53290,655,82117,700,81102,273,280
12Jul 9, 2023 10:175,56383,762,87917,800,07402,277,376