[BOJ/C++] 3003 킹, 퀸, 룩, 비숍, 나이트, 폰

mani·2023년 5월 23일
0

baekjoon_step

목록 보기
54/73

♟️

#include <iostream>

using namespace std;

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

	int input;
	cin >> input;
	cout << 1 - input << " ";
	cin >> input;
	cout << 1 - input << " ";
	cin >> input;
	cout << 2 - input << " ";
	cin >> input;
	cout << 2 - input << " ";
	cin >> input;
	cout << 2 - input << " ";
	cin >> input;
	cout << 8 - input;

	return 0;
}
profile
log

0개의 댓글