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 listJun 13, 2021 11:32Dmitry DolgopolovDmitry DolgopolovScore: 5,113Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 11:325,04840,687,78614,134,0002,019,0002,531,328
2Jun 13, 2021 11:325,05531,305,90314,155,0002,022,0002,449,408
3Jun 13, 2021 11:325,06044,056,59214,169,0002,024,0002,449,408
4Jun 13, 2021 11:325,09536,997,48515,285,0001,019,0002,531,328
5Jun 13, 2021 11:325,10540,628,20915,315,0001,021,0002,449,408
6Jun 13, 2021 11:325,10735,753,39815,320,0001,021,0002,531,328
7Jun 13, 2021 11:325,11337,374,25015,341,0001,022,0002,269,184
8Jun 13, 2021 11:325,12838,243,98215,383,0001,025,0002,449,408
9Jun 13, 2021 11:325,14234,985,47615,427,0001,028,0002,531,328
10Jun 13, 2021 11:325,27787,046,07816,887,46202,211,840
11Jun 13, 2021 11:325,28487,972,88216,909,55302,203,648
12Jun 13, 2021 11:325,31878,360,25617,017,50102,203,648