8000 Merge pull request #438 from penguin0000000000/penguin0000000000-patch-1 · sinnee/basic-algo-lecture@65e4410 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65e4410

Browse files
Merge pull request encrypted-def#438 from penguin0000000000/penguin0000000000-patch-1
Create 9655_1.cpp
2 parents b4e4a1f + 62891f2 commit 65e4410

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

0x10/solutions/9655_1.cpp

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Authored by : 0000000000
2+
// Co-authored by : -
3+
// http://boj.kr/97ae59164b45494fa916d3a4fe2511bc
4+
#include <bits/stdc++.h>
5+
using namespace std;
6+
7+
int main(void) {
8+
ios::sync_with_stdio(0);
9+
cin.tie(0);
10+
11+
int n; cin >> n;
12+
13+
cout << (n % 2 ? "SK" : "CY");
14+
}
15+
16+
/*
17+
두 사람이 가져가는 돌의 수가 홀수개이기 때문에 n의 기우성에 따라 답이 정해진다.
18+
*/

0 commit comments

Comments
 (0)
0