문제 링크입니다: www.acmicpc.net/problem/21598
21598번: SciComLove
당신은 싸이컴을 향해 절을 하려고 합니다. 하지만, 당신이 싸이컴에 들어오고 싶어서 절을 한 번 할 수도 있고, 싸이컴을 매우 싫어해 절을 두 번 할 수도 있습니다. 당신이 절을 할 횟수가 주어
www.acmicpc.net
간단한 구현 문제였습니다.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(void) | |
{ | |
ios_base::sync_with_stdio(0); | |
cin.tie(0); | |
int N; | |
cin >> N; | |
for (int i = 0; i < N; i++) | |
{ | |
cout << "SciComLove\n"; | |
} | |
return 0; | |
} |


개발환경:Visual Studio 2017
지적, 조언, 질문 환영입니다! 댓글 남겨주세요~
반응형
'알고리즘 > BOJ' 카테고리의 다른 글
백준 2765번 자전거 속도 (0) | 2021.04.25 |
---|---|
백준 2754번 학점계산 (0) | 2021.04.25 |
백준 11444번 피보나치 수 6 (0) | 2021.04.25 |
백준 10870번 피보나치 수 5 (0) | 2021.04.25 |
백준 2742번 기찍 N (0) | 2021.04.25 |