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 listSep 29, 2021 13:57Andrey TsvetkovAndrey TsvetkovScore: 5,705Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2021 13:575,66241,646,42315,099,0003,019,0002,506,752
2Sep 29, 2021 13:575,67147,181,19216,130,0002,016,0002,326,528
3Sep 29, 2021 13:575,67440,864,42615,130,0003,026,0002,334,720
4Sep 29, 2021 13:575,68438,046,66516,169,0002,021,0002,510,848
5Sep 29, 2021 13:575,69743,342,80117,218,0001,012,0002,510,848
6Sep 29, 2021 13:575,70390,212,88518,250,16002,224,128
7Sep 29, 2021 13:575,70534,245,68416,227,0002,028,0002,514,944
8Sep 29, 2021 13:575,71436,096,35617,269,0001,015,0002,334,720
9Sep 29, 2021 13:575,71839,683,94117,281,0001,016,0002,510,848
10Sep 29, 2021 13:575,73138,483,45716,303,0002,037,0002,334,720
11Sep 29, 2021 13:575,79579,819,87318,545,09702,220,032
12Sep 29, 2021 13:575,85980,092,98618,747,21402,211,840