Baekjoon 12107
약수 지우기 게임 1


QUESTION ❔



CODE ⌨️

#include <iostream>

using namespace std;

int N;

int main()
{
	ios_base::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);

	cin >> N;

	if (N == 1)
	{
		cout << "B\n";
	}
	else
	{
		cout << "A\n";
	}

	return 0;
}



RESULT 💛



SIMPLE DISCUSSION ✏️

게임 이론 관련 문제였다.



SOURCE 💎

Baekjoon_Link 👈 Click here


*****
NOT A TALENT ❎ NOT GIVING UP ✅
CopyRight ⓒ 2022 DCherish All Rights Reserved.