피너클의 it공부방
백준 15680 연세대학교 (C++) : 피너클 본문
728x90
반응형
https://www.acmicpc.net/problem/15680
15680번: 연세대학교
연세대학교의 영문명은 YONSEI, 슬로건은 Leading the Way to the Future이다. 이를 출력하는 프로그램을 작성해보도록 하자.
www.acmicpc.net
간단한 구현문제다.
#include <iostream>
using namespace std;
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
if (n == 0) cout << "YONSEI" << endl;
else cout << "Leading the Way to the Future" << endl;
}
전체코드다.
728x90
반응형
'백준' 카테고리의 다른 글
백준 15963 CASIO (c++) : 피너클 (0) | 2022.06.18 |
---|---|
백준 15726 이칙연산 (c++) : 피너클 (0) | 2022.06.17 |
백준 14581 팬들에게 둘러싸인 홍준 (c++) : 피너클 (0) | 2022.06.15 |
백준 2744 대소문자 바꾸기 (c++) : 피너클 (0) | 2022.06.14 |
백준 14489 치킨 두 마리(...) (c++) : 피너클 (0) | 2022.06.13 |
Comments