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 listMay 23, 2021 10:38Andrey TsvetkovAndrey TsvetkovScore: 5,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 10:385,67443,894,00916,139,0002,017,0002,535,424
2May 23, 2021 10:385,68841,126,60515,167,0003,033,0002,527,232
3May 23, 2021 10:385,68841,075,71115,169,0003,033,0002,334,720
4May 23, 2021 10:385,69145,648,07116,187,0002,023,0002,531,328
5May 23, 2021 10:385,69938,369,73116,210,0002,026,0002,334,720
6May 23, 2021 10:385,70344,198,87015,209,0003,041,0002,334,720
7May 23, 2021 10:385,72041,269,14516,270,0002,033,0002,334,720
8May 23, 2021 10:385,72443,270,02016,282,0002,035,0002,334,720
9May 23, 2021 10:385,73039,537,55116,299,0002,037,0002,531,328
10May 23, 2021 10:385,74265,768,29318,374,21702,240,512
11May 23, 2021 10:385,76375,880,08618,442,76402,232,320
12May 23, 2021 10:385,80274,804,75618,566,56202,240,512
13May 23, 2021 10:385,82698,280,90318,644,49202,240,512
14May 23, 2021 10:385,92695,879,69518,962,99802,252,800
15May 23, 2021 10:385,97477,109,27919,115,23402,228,224