-
Notifications
You must be signed in to change notification settings - Fork 0
/
6046.py
81 lines (66 loc) · 1.22 KB
/
6046.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# #6046
# n=int(input())
# print(n<<1)
# #6047
# a, b=input().split()
# print(int(a)<<int(b))
# #6048
# a, b=input().split()
# if int(a)<int(b):
# print(True)
# else:
# print(False)
# #6049
# a, b=input().split()
# if int(a)==int(b):
# print(True)
# else:
# print(False)
# #6050
# a, b=input().split()
# if int(a)<=int(b):
# print(True)
# else:
# print(False)
# #6051
# a, b=input().split()
# if int(a)!=int(b):
# print(True)
# else:
# print(False)
# #6052
# n=int(input())
# print(bool(n))
# #6053
# n=bool(int(input()))
# print(not n)
# #6054 (AND 연산자)
# a, b=input().split()
# print(bool(int(a))and bool(int(b)))
# #6055 (OR 연산자)
# a, b=input().split()
# print(bool(int(a)) or bool(int(b)))
# #6056 (XOR 연산자)
# a, b = input().split()
# c=bool(int(a))
# d=bool(int(b))
# print((c and (not d)) or ((not c) and d))
# #6057
# #잘못된 풀이
# a, b = input().split()
# if(int(a)==int(b)):
# print("True")
# else:
# print("False")
# #올바른 풀이
# a, b=input().split()
# a=bool(int(a))
# b=bool(int(b))
# print((a and b) or (not a and not b))
# print(a==b)
# #6058
# a, b=input().split()
# a=bool(int(a))
# b=bool(int(b))
# print(not(a or b))
# print(not a and not b)