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:27Andrey TsvetkovAndrey TsvetkovScore: 5,688Success
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:275,65243,790,25516,076,0002,009,0002,523,136
2May 23, 2021 10:275,66243,956,40216,106,0002,013,0002,334,720
3May 23, 2021 10:275,66545,122,43216,113,0002,014,0002,334,720
4May 23, 2021 10:275,66534,804,57415,107,0003,021,0002,531,328
5May 23, 2021 10:275,66945,873,11416,127,0002,015,0002,334,720
6May 23, 2021 10:275,68041,546,93916,158,0002,019,0002,371,584
7May 23, 2021 10:275,68281,199,63618,183,97402,228,224
8May 23, 2021 10:275,68843,317,04216,181,0002,022,0002,334,720
9May 23, 2021 10:275,69145,503,28016,189,0002,023,0002,523,136
10May 23, 2021 10:275,70040,601,62815,201,0003,040,0002,330,624
11May 23, 2021 10:275,71776,912,69618,295,97602,240,512
12May 23, 2021 10:275,75376,856,20918,409,61102,220,032
13May 23, 2021 10:275,76881,733,46618,457,41502,240,512
14May 23, 2021 10:275,82673,145,22918,643,91502,232,320
15May 23, 2021 10:275,84589,978,25018,704,91602,244,608