以下の内容はhttps://blog.hamayanhamayan.com/entry/2019/06/02/020755より取得しました。


Sum of Interior Angles [M-SOLUTIONS プロコンオープン A]

https://atcoder.jp/contests/m-solutions2019/tasks/m_solutions2019_a

解説

https://atcoder.jp/contests/m-solutions2019/submissions/5739752

N角形の内角の和は180×(N-2)なので、これを答える。

int N;
//---------------------------------------------------------------------------------------------------
void _main() {
	cin >> N;
	cout << 180 * (N - 2) << endl;
}



以上の内容はhttps://blog.hamayanhamayan.com/entry/2019/06/02/020755より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14