백준 15439 c++

magicdrill·2024년 4월 10일
0

백준 문제풀이

목록 보기
283/655

백준 15439 c++

#include <iostream>

using namespace std;

int main(void)
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);

	int N;

	cin >> N;
	cout << N * (N - 1) << "\n";

	return 0;
}

0개의 댓글