์ƒˆ์†Œ์‹

๐Ÿงฎ PS

์ฝ”๋“œ์—… (Code up) 1053 ~ 1058 (๋…ผ๋ฆฌ ์—ฐ์‚ฐ) ํŒŒ์ด์ฌ ํ’€์ด

  • -

*1053๋ฒˆ

a=int(input())
if a==1: print(0)
else : print(1)

*1054๋ฒˆ

a,b = map(int,input().split())
if a == 1 and b ==1 : print(1)
else : print(0)

*1055๋ฒˆ

a,b = map(int,input().split())
if a == 1 or b ==1 : print(1)
else : print(0)

*1056๋ฒˆ

a,b = map(int,input().split())
if a != b : print(1)
else : print(0)

*1057๋ฒˆ

a,b = map(int,input().split())
if a == b : print(1)
else : print(0)

*1058๋ฒˆ

a,b = map(int,input().split())
if a == 0 and b==0 : print(1)
else : print(0)

*C++/CPPํ’€์ด๋„ code up ์นดํ…Œ๊ณ ๋ฆฌ์— ์žˆ์Šต๋‹ˆ๋‹ค.

Contents

ํฌ์ŠคํŒ… ์ฃผ์†Œ๋ฅผ ๋ณต์‚ฌํ–ˆ์Šต๋‹ˆ๋‹ค

์ด ๊ธ€์ด ๋„์›€์ด ๋˜์—ˆ๋‹ค๋ฉด ๊ณต๊ฐ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.