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 11, 2024 02:00Yuriy LyfenkoYuriy LyfenkoScore: 4,463Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 02:004,449533,034,01813,221,0001,017,0002,273,280
2Aug 11, 2024 02:004,450535,709,01313,222,0001,017,0002,535,424
3Aug 11, 2024 02:004,451540,461,75613,225,0001,017,0002,273,280
4Aug 11, 2024 02:004,454539,856,14713,234,0001,018,0002,273,280
5Aug 11, 2024 02:004,455542,475,11213,237,0001,018,0002,535,424
6Aug 11, 2024 02:004,460537,158,47713,252,0001,019,0002,449,408
7Aug 11, 2024 02:004,463537,013,25113,262,0001,020,0002,273,280
8Aug 11, 2024 02:004,477542,855,82313,304,0001,023,0002,535,424
9Aug 11, 2024 02:004,483545,703,40513,323,0001,024,0002,535,424
10Aug 11, 2024 02:004,659576,613,66714,908,93302,334,720
11Aug 11, 2024 02:004,674595,174,38814,958,21402,326,528
12Aug 11, 2024 02:004,692587,938,50815,015,63202,330,624