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 21:27Andrey TsvetkovAndrey TsvetkovScore: 5,622Success
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 21:275,58440,124,38615,885,0001,985,0002,371,584
2Sep 29, 2021 21:275,58543,972,29316,879,000992,0002,514,944
3Sep 29, 2021 21:275,58841,295,79116,887,000993,0002,514,944
4Sep 29, 2021 21:275,59239,581,20316,901,000994,000417,792
5Sep 29, 2021 21:275,61840,152,46615,982,0001,997,0002,514,944
6Sep 29, 2021 21:275,62043,045,88016,985,000999,0002,506,752
7Sep 29, 2021 21:275,62247,909,26515,992,0001,999,0002,502,656
8Sep 29, 2021 21:275,64092,567,46818,047,14602,207,744
9Sep 29, 2021 21:275,64637,751,36316,060,0002,007,0002,510,848
10Sep 29, 2021 21:275,66842,315,61316,123,0002,015,0002,510,848
11Sep 29, 2021 21:275,67379,274,12318,154,71502,215,936
12Sep 29, 2021 21:275,67991,238,64018,172,79402,220,032