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 12, 2023 11:25Andrew MoonAndrew MoonScore: 5,334Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 12, 2023 11:255,29747,920,77914,955,0001,994,0002,527,232
2Jul 12, 2023 11:255,30732,824,54314,984,0001,997,0002,392,064
3Jul 12, 2023 11:255,30945,744,38015,989,000999,0002,383,872
4Jul 12, 2023 11:255,31233,956,77915,999,000999,0002,265,088
5Jul 12, 2023 11:255,32138,040,20015,023,0002,003,0002,383,872
6Jul 12, 2023 11:255,32650,686,97915,038,0002,005,0002,383,872
7Jul 12, 2023 11:255,33437,299,16915,062,0002,008,0002,392,064
8Jul 12, 2023 11:255,34542,984,67715,091,0002,012,0002,387,968
9Jul 12, 2023 11:255,37344,067,80916,184,0001,011,0002,396,160
10Jul 12, 2023 11:255,51276,831,29817,638,79902,277,376
11Jul 12, 2023 11:255,52777,909,24517,686,05502,277,376
12Jul 12, 2023 11:255,53682,393,56917,714,79302,285,568