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 listAug 4, 2024 22:14zielajzielajScore: 4,647Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 22:144,61140,035,97313,701,0001,053,0002,400,256
2Aug 4, 2024 22:144,63232,271,19312,845,0001,976,0002,273,280
3Aug 4, 2024 22:144,64231,465,55313,865,000990,0002,535,424
4Aug 4, 2024 22:144,64340,486,96213,868,000990,0002,289,664
5Aug 4, 2024 22:144,64541,941,78212,883,0001,982,0002,289,664
6Aug 4, 2024 22:144,64530,919,29913,874,000991,0002,269,184
7Aug 4, 2024 22:144,64744,807,69712,887,0001,982,0002,289,664
8Aug 4, 2024 22:144,64736,771,00212,888,0001,982,0002,273,280
9Aug 4, 2024 22:144,66032,633,08912,923,0001,988,0002,265,088
10Aug 4, 2024 22:144,87871,074,02215,608,17802,252,800
11Aug 4, 2024 22:144,89893,297,71615,674,73202,301,952
12Aug 4, 2024 22:144,91583,202,88815,728,24602,183,168