Energy stored in capacitors connected in series
Even without knowing the formula for energy in a capacitor the answer is simple: 20 times the energy stored in one capacitor. Conservation of energy rules.

The problem with your first formula is that the total capacitance of N capacitors C in series is not C but C / N.