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 listJul 13, 2021 19:40Yuriy LyfenkoYuriy LyfenkoScore: 5,689Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:405,638544,005,67616,037,0002,004,0002,334,720
2Jul 13, 2021 19:405,638545,022,12715,035,0003,007,0002,527,232
3Jul 13, 2021 19:405,661542,468,18116,102,0002,012,0002,330,624
4Jul 13, 2021 19:405,662539,776,83515,099,0003,019,0002,334,720
5Jul 13, 2021 19:405,676541,268,41615,137,0003,027,0002,334,720
6Jul 13, 2021 19:405,686543,652,70515,162,0003,032,0002,330,624
7Jul 13, 2021 19:405,689545,129,78616,183,0002,022,0002,342,912
8Jul 13, 2021 19:405,690543,025,64316,185,0002,023,0002,330,624
9Jul 13, 2021 19:405,700542,336,85015,201,0003,040,0002,347,008
10Jul 13, 2021 19:405,718576,922,52418,298,83102,252,800
11Jul 13, 2021 19:405,764574,424,36918,443,97302,256,896
12Jul 13, 2021 19:405,770577,369,84718,462,42502,256,896