Make Unreal REAL.
article thumbnail
Level 0. 간단한 논리 연산

 

 

#include <iostream>

using namespace std;

bool solution(bool x1, bool x2, bool x3, bool x4)
{
    return (x1 | x2) & (x3 | x4);
}

'자료구조 & 알고리즘 > 프로그래머스' 카테고리의 다른 글

Level 2. 가장 큰 정사각형 찾기  (0) 2023.06.16
Level 2. 게임 맵 최단거리  (0) 2023.06.15
Level 2. 줄 서는 방법  (0) 2023.06.13
Level 2. 하노이의 탑  (0) 2023.06.12
Level 2. 모음사전  (0) 2023.06.11
profile

Make Unreal REAL.

@diesuki4

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!

검색 태그