- 필요한 문제 번호를 ‘Ctrl+F(Window)’ 또는 ‘Command+F(MacOS)’로 검색하세요.(검색 키워드는 ‘#+문제번호’ 예시: #1)
- 중간에 비어있는 번호는 코드업 사이트에서도 없던 문제입니다.
- 코드 관련 질문이 있으시다면 댓글로 남겨주세요.
- 최선의 정답 코드가 아닐수도 있습니다. 더 좋은 코드가 있다면 댓글로 부탁해요.
#1101
print("Hello, World!")
#1102
print("Hello,\nWorld!")
#1103
print('"c:\\test"')
#1106
a = -2147483648
b = 2147483647
print(a, b)
#1107
for _ in range(50): print('print', end='')
#1108
for i in range(20):
print('hello', end = '') if i <= 18 else print('hello', end = ' ')
for _ in range(30): print('world', end = '')
#1109
name = input()
age = int(input())
dpt_code = input()
secret_key = float(input())
print(name, age, dpt_code, secret_key, sep = '\n')
#1110
num = input()
print(int(num))
#1111
num = input()
print(num, '%', sep = '')
#1112
num1, num2 = map(int, input().split())
print(num1, num2)
#1113
num1, num2 = map(int, input().split())
print(num2, num1)
#1114
num1, num2 = map(int, input().split())
print(num1+num2)
#1115
num1, num2 = map(int, input().split())
print(num1+num2)
#1116
num1, num2 = input().split()
op = ['+', '-', '*', '/']
for i in range(4): print(num1+op[i]+num2+'=',int(eval(num1+op[i]+num2)), sep = '')
#1117
num1, num2 = map(float, input().split())
print('%.2f' % (num1*num2))
#1118
num1, num2 = map(int, input().split())
result = (num1 * num2)/2
print('%.1f' % result)
#1119
day = int(input())
print(day*24)
#1120
num1, num2, num3 = map(int, input().split())
result = (num1 + num2 + num3)/3
print('%.2f' % result)
#1121
num1, num2 = map(int, input().split())
print(num1 % num2)
#1122
s = int(input())
print(s//60,s%60)
#1123
temperature = int(input())
print('%.3f' % (9/5 * temperature + 32))
#1124
chemical_equation = input()
key = chemical_equation.index('H')
first_num = chemical_equation[1:key]
second_num = chemical_equation[key+1:]
print(int(first_num)*12 + int(second_num)*1)
#1125
num = int(input())
print('%o %X' % (num,num))
#1126
num1, num2 = input().split()
op = ['+', '-', '*', '/', '%']
for i in range(5): print(num1 + ' ' + op[i] + ' ' + num2 + ' =', int(eval(num1+op[i]+num2)))
#1127
sum = 0
for _ in range(3):
percent, score = input().split()
sum = sum + (float(percent) * int(score))
print('%.1f' % sum)
#1128
n = int(input())
print(n * 123456789)
#1131
c = input()
print(c)
#1132
s = input()
print(s)
#1133
s = input()
print(s)
#1135
a, b = map(int, input().split())
print(1) if a >= b else print(0)
#1136
a, b = map(int, input().split())
print(1) if a == b else print(0)
#1137
a, b = map(int, input().split())
print(1) if a != b else print(0)
#1138
b = int(input())
print(int(not(b)))
#1139
num1, num2 = map(int, input().split())
print(1) if num1 and num2 else print(0)
#1140
num1, num2 = map(int, input().split())
print(1) if num1 or num2 else print(0)
#1143
num1, num2 = map(int, input().split())
print(num1&num2)
#1144
num1, num2 = map(int, input().split())
print(num1|num2)
#1147
a, x = map(int, input().split())
print(a<<x)
#1148
a, x = map(int, input().split())
print(a>>x)
#1149
data = list(map(int,input().split()))
print(max(data))
#1150
data = list(map(int,input().split()))
print(min(data))
#1151
num = int(input())
if num < 10: print('small')
#1152
num = int(input())
print('small') if num < 10 else print('big')
#1153
a, b = map(int, input().split())
if a > b:
print('>')
elif a < b:
print('<')
else:
print('=')
#1154
num1, num2 = map(int, input().split())
print(abs(num1-num2))
#1155
num = int(input())
print('multiple') if num % 7 == 0 else print('not multiple')
#1156
num = int(input())
print('odd') if num % 2 == 1 else print('even')
#1157
location = float(input())
print('win') if 50 <= location <= 60 else print('lose')
#1158
location = int(input())
print('win') if 30 <= location <= 40 or 60 <= location <= 70 else print('lose')
#1159
location = int(input())
print('win') if 50 <= location <= 70 or location % 6 == 0 else print('lose')
#1160
num = int(input())
print('oh my god') if num % 2 != 0 else print('enjoy')
#1161
num1, num2 = map(int, input().split())
print('짝수+', end = '') if num1 % 2 == 0 else print('홀수+', end = '')
print('짝수=', end = '') if num2 % 2 == 0 else print('홀수=', end = '')
print('짝수') if (num1+num2)%2 == 0 else print('홀수')
#1162
y, m, d = map(int, input().split())
print('대박') if (y-m+d)%10 == 0 else print('그럭저럭')
#1163
y, m, d = map(int, input().split())
print('대박') if ((y+m+d)//100) % 2 == 0 else print('그럭저럭')
#1164
t_data = list(map(int, input().split()))
print('CRASH') if min(t_data) <= 170 else print('PASS')
#1165
cur_time, our_score = map(int, input().split())
for i in range(cur_time, 90, 5):
our_score = our_score+1
print(our_score)
#1166
year = int(input())
print('yes') if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0 else print('no')
#1167
data = list(map(int, input().split()))
data.sort()
print(data[1])
#1168
birth_d, gender = input().split()
print((100 - (int(str(birth_d)[:2])) + 13)) if int(gender) in (1,2) else print(12 - int(str(birth_d)[:2]) + 1)
#1169
age = int(input())
print(int(str(2012+1-age)[2:]), 1) if age >= 14 else print(int(str(2012+1-age)[2:]), 3)
#1170
grade, student_class, number = map(int, input().split())
print('%d%d%02d' % (grade, student_class, number))
#1171
grade, student_class, number = map(int, input().split())
print('%d%02d%03d' % (grade, student_class, number))
#1172
data = list(map(int, input().split()))
data.sort()
for i in data: print(i, end = ' ')
#1173
h, m = map(int, input().split())
if m >= 30: print(h, m - 30)
else:
if h != 0: print(h - 1, 60 - abs(m - 30))
else: print(23, 60 - abs(m - 30))
#1174
h, m = map(int, input().split())
result = ((h * 60) + m) - 30
print(((result // 60) + 24) % 24, result % 60)
#1180
n = input()
if int(n) < 10: n = '0' + n
f, s = n[0], n[1]
result = (2 * int(s+f)) % 100
print(result, 'GOOD', sep='\n') if result <= 50 else print(result, 'OH MY GOD', sep='\n')