IMO 1983 LL VIE75

Find the sum of the fiftieth powers of all sides and diagonals of

IMO 1983 LL VIE75

Origin: VIE

Problem

Find the sum of the fiftieth powers of all sides and diagonals of a regular 100-gon inscribed in a circle of radius R.