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 listDec 22, 2021 04:03Yuriy LyfenkoYuriy LyfenkoScore: 5,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:035,617549,380,91915,978,0001,997,0002,334,720
2Dec 22, 2021 04:035,635542,648,24715,027,0003,005,0002,330,624
3Dec 22, 2021 04:035,635547,851,27816,030,0002,003,0002,527,232
4Dec 22, 2021 04:035,644543,089,79216,055,0002,006,0002,330,624
5Dec 22, 2021 04:035,652550,325,20115,071,0003,014,0002,330,624
6Dec 22, 2021 04:035,654543,844,85115,079,0003,015,0002,519,040
7Dec 22, 2021 04:035,658540,968,55315,089,0003,017,0002,342,912
8Dec 22, 2021 04:035,661542,914,23016,103,0002,012,0002,330,624
9Dec 22, 2021 04:035,685577,651,46418,191,31202,236,416
10Dec 22, 2021 04:035,687542,249,06215,166,0003,033,0002,334,720
11Dec 22, 2021 04:035,698583,797,79418,232,99702,252,800
12Dec 22, 2021 04:035,750579,636,52518,399,39002,236,416