Question: how to calculate standard deviation without knowing the mean?
Answer: If you know the sample size and sum of the observations, you know the mean but cannot calculate the standard deviation without more information. For example, if you know the values are all 0 or 1 then the sum of the squares is the same as the sum of the observations, so you can compute the standard deviation.