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 22, 2021 17:34Andrey TsvetkovAndrey TsvetkovScore: 5,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 17:345,89536,012,98715,886,0002,978,0002,326,528
2May 22, 2021 17:345,90038,712,32417,886,000993,0002,326,528
3May 22, 2021 17:345,90045,147,18816,894,0001,987,0002,527,232
4May 22, 2021 17:345,90142,092,18717,889,000993,0002,326,528
5May 22, 2021 17:345,90139,343,04517,890,000993,0002,326,528
6May 22, 2021 17:345,90345,653,31917,895,000994,0002,330,624
7May 22, 2021 17:345,91844,935,16016,943,0001,993,0002,519,040
8May 22, 2021 17:345,92035,395,11417,947,000997,0002,326,528
9May 22, 2021 17:345,92837,268,01317,972,000998,0002,330,624
10May 22, 2021 17:345,94977,467,21719,037,12502,224,128
11May 22, 2021 17:345,96281,306,10119,079,63302,244,608
12May 22, 2021 17:345,98480,771,98519,147,86302,232,320
13May 22, 2021 17:345,98859,828,02319,162,37202,228,224
14May 22, 2021 17:346,02479,095,71319,275,64802,228,224
15May 22, 2021 17:346,06876,134,95119,417,14502,240,512