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 25, 2021 15:29Adam FolwarcznyAdam FolwarcznyScore: 5,408Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2021 15:295,38447,179,50015,203,0002,027,0002,265,088
2Jul 25, 2021 15:295,38837,185,49516,229,0001,014,0002,260,992
3Jul 25, 2021 15:295,39137,359,37115,222,0002,029,0002,265,088
4Jul 25, 2021 15:295,39338,353,28316,241,0001,015,0002,392,064
5Jul 25, 2021 15:295,39440,931,36416,245,0001,015,0002,265,088
6Jul 25, 2021 15:295,40434,769,16116,277,0001,017,0002,392,064
7Jul 25, 2021 15:295,40840,898,93415,270,0002,036,0002,387,968
8Jul 25, 2021 15:295,41539,702,28717,327,00002,265,088
9Jul 25, 2021 15:295,42234,730,90716,331,0001,020,0002,527,232
10Jul 25, 2021 15:295,73368,954,20618,346,01702,281,472
11Jul 25, 2021 15:295,75684,577,64218,420,67002,244,608
12Jul 25, 2021 15:295,76873,486,38818,457,77502,277,376