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 16, 2021 21:53Andrey TsvetkovAndrey TsvetkovScore: 5,701Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2021 21:535,68146,643,53416,159,0002,019,0002,334,720
2Jun 16, 2021 21:535,68450,099,64115,158,0003,031,0002,527,232
3Jun 16, 2021 21:535,68540,815,92015,160,0003,032,0002,531,328
4Jun 16, 2021 21:535,68642,351,92715,163,0003,032,0002,334,720
5Jun 16, 2021 21:535,68946,119,24115,170,0003,034,0002,310,144
6Jun 16, 2021 21:535,69338,535,13915,183,0003,036,0002,330,624
7Jun 16, 2021 21:535,70143,042,60415,202,0003,040,0002,330,624
8Jun 16, 2021 21:535,70344,231,76115,209,0003,041,0002,334,720
9Jun 16, 2021 21:535,70538,702,05616,228,0002,028,0002,330,624
10Jun 16, 2021 21:535,73678,708,45018,354,01302,244,608
11Jun 16, 2021 21:535,76262,704,86318,437,92302,236,416
12Jun 16, 2021 21:535,80194,250,63818,564,30302,240,512