Baekjoon 20004
베스킨라빈스 31


QUESTION ❔



CODE ⌨️

#include <iostream>

using namespace std;

int A;

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

	cin >> A;

	for (int i = 1; i <= A; i++)
	{
		if (30 % (i + 1) == 0) cout << i << "\n";
	}

	return 0;
}



RESULT 💛



SIMPLE DISCUSSION ✏️

게임 이론 관련 문제였다.



SOURCE 💎

Baekjoon_Link 👈 Click here


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