[C++][백준 14645] 와이버스 부릉부릉

PublicMinsu·2025년 9월 18일

문제

https://www.acmicpc.net/problem/14645

접근 방법

입력과 상관없이 출력은 '비와이'라고 정해져 있습니다.

코드

#include <iostream>
using namespace std;

int main()
{
    ios::sync_with_stdio(0), cin.tie(0);
    cout << "비와이";
    return 0;
}

풀이

한 번쯤 들어봤을 넌센스 퀴즈인 '당신은 버스를 운전하고 있습니다'의 코드 버전이라고 볼 수 있습니다.
입력이 무엇이 됐든 출력이 '비와이'이면 되기에 '비와이'를 출력하면 됩니다.

profile
연락 : publicminsu@naver.com

0개의 댓글