s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time int64 0 100 | memory stringlengths 4 6 | code_size int64 15 14.7k | code stringlengths 15 14.7k | problem_id stringlengths 6 6 | problem_description stringlengths 358 9.83k | input stringlengths 2 4.87k | output stringclasses 807
values | __index_level_0__ int64 1.1k 1.22M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
s368356681 | p00363 | u805464373 | 1558155301 | Python | Python3 | py | Accepted | 20 | 5592 | 361 | w,h,c=input().split()
w=int(w)
h=int(h)
a=""
d=""
d_e=""
cnt=2
for i in range(w-2):
cnt+=1
a+="-"
d+="."
if cnt!=w//2+2:
d_e+="."
else:
d_e+=c
print("+"+a+"+")
cnt=2
for j in range(h-2):
cnt+=1
if cnt!=h//2+2:
print("|"+d+"|")
else :
print("|"+d_e+... | p00363 | <!--<H1>Let’s Make a Flag</H1>-->
<h1>Flag</h1>
<p>
AHK Education, the educational program section of Aizu Broadcasting Cooperation, broadcasts a children’s workshop program called "Let's Play and Make." Today’s theme is "Make your own flag." A child writes his first initial in the center of their rectangular flag.
... | 3 3 B
| +-+
|B|
+-+
| 18,934 |
s156596570 | p00363 | u435226340 | 1547020762 | Python | Python3 | py | Accepted | 20 | 5636 | 487 | W,H,c = input().split()
W = int(W)
H = int(H)
for i in range(H):
for j in range(W):
if i == 0 and j == 0 or i == 0 and j == W-1 or \
i == H-1 and j == 0 or i == H-1 and j == W-1:
print("+", end="")
elif i == 0 or i == H-1:
print("-", end="")
elif j == 0 or ... | p00363 | <!--<H1>Let’s Make a Flag</H1>-->
<h1>Flag</h1>
<p>
AHK Education, the educational program section of Aizu Broadcasting Cooperation, broadcasts a children’s workshop program called "Let's Play and Make." Today’s theme is "Make your own flag." A child writes his first initial in the center of their rectangular flag.
... | 3 3 B
| +-+
|B|
+-+
| 18,935 |
s073617743 | p00363 | u717526540 | 1544596750 | Python | Python3 | py | Accepted | 20 | 5596 | 506 | w, h, c = input().split()
w = int(w)
h = int(h)
flag = "+"
for _ in range(w-2):
flag += "-"
flag += "+"
print(flag)
for i in range(1, h-1):
flag = "|"
if i != h // 2:
for _ in range(w-2):
flag += "."
flag += "|"
else:
for j in range(1, w-1):
if j != w //... | p00363 | <!--<H1>Let’s Make a Flag</H1>-->
<h1>Flag</h1>
<p>
AHK Education, the educational program section of Aizu Broadcasting Cooperation, broadcasts a children’s workshop program called "Let's Play and Make." Today’s theme is "Make your own flag." A child writes his first initial in the center of their rectangular flag.
... | 3 3 B
| +-+
|B|
+-+
| 18,936 |
s938981579 | p00363 | u205574338 | 1542638375 | Python | Python3 | py | Accepted | 20 | 5596 | 266 | s=list(input().split())
w=int(s[0])
h=int(s[1])
for i in range(h):
if(i==0 or i==h-1):
print("+"+"-"*(w-2)+"+")
continue
if(i==(h-1)//2):
print("|"+"."*((w-2)//2)+s[2]+"."*((w-2)//2)+"|")
continue
print("|"+"."*(w-2)+"|")
| p00363 | <!--<H1>Let’s Make a Flag</H1>-->
<h1>Flag</h1>
<p>
AHK Education, the educational program section of Aizu Broadcasting Cooperation, broadcasts a children’s workshop program called "Let's Play and Make." Today’s theme is "Make your own flag." A child writes his first initial in the center of their rectangular flag.
... | 3 3 B
| +-+
|B|
+-+
| 18,937 |
s393410201 | p00363 | u631759611 | 1542022841 | Python | Python3 | py | Accepted | 20 | 5596 | 372 | n,m,h = map(str,input().split())
ans = []
n = int(n)
m = int(m)
for i in range(m):
ss = ""
for j in range(n):
if i == m//2 and j == n//2:ss += h
elif (i == 0 or i == m-1) and (j == 0 or j == n-1):ss += "+"
elif i == 0 or i == m-1:ss += "-"
elif j == 0 or j == n-1:ss += "|"
else:ss += "."
ans.a... | p00363 | <!--<H1>Let’s Make a Flag</H1>-->
<h1>Flag</h1>
<p>
AHK Education, the educational program section of Aizu Broadcasting Cooperation, broadcasts a children’s workshop program called "Let's Play and Make." Today’s theme is "Make your own flag." A child writes his first initial in the center of their rectangular flag.
... | 3 3 B
| +-+
|B|
+-+
| 18,938 |
s798442721 | p00363 | u539753516 | 1533424889 | Python | Python3 | py | Accepted | 20 | 5596 | 229 | w,h,c=input().split(" ")
w=int(w)
h=int(h)
print("+"+"-"*(w-2)+"+")
for i in range(h-2):
if i*2==h-3:
print("|"+"."*((w-3)//2)+c+"."*((w-3)//2)+"|")
else:
print("|"+"."*(w-2)+"|")
print("+"+"-"*(w-2)+"+")
| p00363 | <!--<H1>Let’s Make a Flag</H1>-->
<h1>Flag</h1>
<p>
AHK Education, the educational program section of Aizu Broadcasting Cooperation, broadcasts a children’s workshop program called "Let's Play and Make." Today’s theme is "Make your own flag." A child writes his first initial in the center of their rectangular flag.
... | 3 3 B
| +-+
|B|
+-+
| 18,939 |
s088759880 | p00364 | u724548524 | 1526887342 | Python | Python3 | py | Accepted | 20 | 5648 | 144 | n, t = map(int, input().split())
a = [tuple(map(int, input().split())) for _ in range(n)]
print(max([a[i][1] / a[i][0] for i in range(n)]) * t)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,940 |
s902118425 | p00364 | u352394527 | 1529942586 | Python | Python3 | py | Accepted | 20 | 5620 | 162 | n, t = map(int, input().split())
min_height = 0
for _ in range(n):
x, h = map(int, input().split())
min_height = max(min_height, h / x * t)
print(min_height)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,941 |
s453230867 | p00364 | u263669224 | 1585047233 | Python | Python3 | py | Accepted | 20 | 5720 | 191 | N, t = [int(e) for e in input().split()]
ts = [[int(e) for e in input().split()] for _ in range(N)]
result = 0
for x, h in ts:
r = h * t / x
result = max(result, r)
print(result)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,942 |
s577164920 | p00364 | u260980560 | 1561911769 | Python | Python3 | py | Accepted | 20 | 5620 | 134 | N, t = map(int, input().split())
ans = 0
for i in range(N):
x, h = map(int, input().split())
ans = max(ans, h*t/x)
print(ans)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,943 |
s486631459 | p00364 | u043254318 | 1560054476 | Python | Python3 | py | Accepted | 30 | 5636 | 157 |
N,t = [int(i) for i in input().split()]
r = 0.0
for l in range(N):
x,h = [float(i) for i in input().split()]
r = max(r, h / x)
print(float(t)*r)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,944 |
s800722812 | p00364 | u805464373 | 1558160557 | Python | Python3 | py | Accepted | 20 | 5652 | 223 | n,t=map(int,input().split())
lsx=[]
lsh=[]
for i in range(n):
x,h=map(int,input().split())
lsx.append(x)
lsh.append(h)
tam=0
for j in range(n):
if lsh[j]/lsx[j]>tam:
tam=lsh[j]/lsx[j]
print(t*tam)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,945 |
s811945284 | p00364 | u805699996 | 1552992443 | Python | Python3 | py | Accepted | 20 | 5628 | 190 | n,x = map(int, input().split())
max_slope = 0.0
for i in range(n):
xi,hi = map(float, input().split())
slope = hi/xi
if slope > max_slope : max_slope = slope
print(x*max_slope)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,946 |
s416247431 | p00364 | u717526540 | 1544597238 | Python | Python3 | py | Accepted | 20 | 5780 | 215 | import math
n, t = map(int, input().split())
angle = 0
for _ in range(n):
x, h = map(int, input().split())
tmp = math.atan2(h, x)
if tmp > angle:
angle = tmp
y = math.tan(angle) * t
print(y)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,947 |
s197831187 | p00364 | u205574338 | 1542638716 | Python | Python3 | py | Accepted | 20 | 5616 | 121 | n,t=map(int,input().split())
ans=0
for i in range(n):
x,h=map(int,input().split())
ans=max(ans,h*t/x)
print(ans)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,948 |
s409492924 | p00364 | u631759611 | 1542023040 | Python | Python3 | py | Accepted | 20 | 5624 | 137 | n,t = map(int,input().split())
ans = 0
for i in range(n):
a,b = map(int,input().split())
if ans <= b/a:
ans = b/a
print(ans * t)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,949 |
s966029491 | p00364 | u623996423 | 1541484991 | Python | Python3 | py | Accepted | 20 | 5620 | 134 | N, t = map(int, input().split())
tan = 0
for _ in range(N):
x, h = map(int, input().split())
tan = max(tan, h/x)
print(tan*t)
| p00364 | <H1>Bange Hills Tower</H1>
<p>
A project is underway to build a new viewing tower in Bange town called “Bange Hills Tower” whose selling point will be the gorgeous view of the entire main keep of Wakamatsu Castle from top to bottom. Therefore, the view line from the top of the tower must reach the bottom of the keep w... | 3 10
6 4
4 2
3 2
| 6.666667
| 18,950 |
s611125689 | p00365 | u724548524 | 1526887686 | Python | Python3 | py | Accepted | 20 | 5608 | 166 | a = sorted([tuple(map(int,input().split())) for _ in [0,0]])
print(a[1][0] - a[0][0] + (1 if a[1][1] > a[0][1] or (a[1][1] == a[0][1] and a[1][2] > a[0][2]) else 0))
| p00365 | <H1>Age Difference</H1> <!-- Difference in ages-->
<p>
A trick of fate caused Hatsumi and Taku to come to know each other. To keep the encounter in memory, they decided to calculate the difference between their ages. But the difference in ages varies depending on the day it is calculated. While trying again and again,... | 1999 9 9
2001 11 3
| 3
| 18,951 |
s881334903 | p00365 | u455018910 | 1596521163 | Python | Python3 | py | Accepted | 20 | 5600 | 284 | y1,m1,d1 = map(int, input().split())
y2,m2,d2 = map(int, input().split())
if y1 > y2 or (y1 == y2 and (m1 > m2 or ( m1 == m2 and d1 > d2 ))):
y1, y2 = y2, y1
m1, m2 = m2, m1
d1, d2 = d2, d1
if m1 < m2 or (m1 == m2 and d1 < d2): print(y2 - y1 + 1)
else: print(y2 - y1)
| p00365 | <H1>Age Difference</H1> <!-- Difference in ages-->
<p>
A trick of fate caused Hatsumi and Taku to come to know each other. To keep the encounter in memory, they decided to calculate the difference between their ages. But the difference in ages varies depending on the day it is calculated. While trying again and again,... | 1999 9 9
2001 11 3
| 3
| 18,952 |
s941691984 | p00365 | u631759611 | 1542024946 | Python | Python3 | py | Accepted | 20 | 5596 | 298 | a,b,c = map(int,input().split())
d,e,f = map(int,input().split())
if b == e and c == f:
print(abs(a-d))
exit()
if a > d:
num = 100 * b + c
nu = 100 * e + f
elif a < d:
num = 100 * e + f
nu = 100 * b + c
else:
print(1)
exit()
if num > nu:
print(abs(a-d)+1)
else:
print(abs(a-d))
| p00365 | <H1>Age Difference</H1> <!-- Difference in ages-->
<p>
A trick of fate caused Hatsumi and Taku to come to know each other. To keep the encounter in memory, they decided to calculate the difference between their ages. But the difference in ages varies depending on the day it is calculated. While trying again and again,... | 1999 9 9
2001 11 3
| 3
| 18,953 |
s034256142 | p00375 | u435226340 | 1546156406 | Python | Python3 | py | Accepted | 20 | 5576 | 35 | F = int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,954 |
s599061195 | p00375 | u126478680 | 1546510897 | Python | Python3 | py | Accepted | 20 | 5584 | 61 | # coding: utf-8
F = int(input())
C = (F-30)/2
print(int(C))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,955 |
s513377610 | p00375 | u565812827 | 1551323709 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | a=int(input())
print((a-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,956 |
s494846181 | p00375 | u990228206 | 1551413390 | Python | Python3 | py | Accepted | 20 | 5604 | 40 | f=int(input())
print(f'{(f-30)/2:.0f}')
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,957 |
s548486311 | p00375 | u888548672 | 1555985615 | Python | Python3 | py | Accepted | 20 | 5580 | 32 | print(int((int(input())-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,958 |
s624293161 | p00375 | u365131854 | 1597749494 | Python | Python3 | py | Accepted | 20 | 5572 | 28 | print((int(input())-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,959 |
s003605134 | p00375 | u342624490 | 1596964149 | Python | Python3 | py | Accepted | 20 | 5576 | 34 | F = int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,960 |
s030229883 | p00375 | u729823147 | 1596701551 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | f=int(input())
print((f-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,961 |
s924233212 | p00375 | u852547520 | 1596525954 | Python | Python3 | py | Accepted | 20 | 5580 | 41 | f=int(input())
c=int((f-30)/2)
print(c)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,962 |
s374776677 | p00375 | u250040203 | 1596437451 | Python | Python3 | py | Accepted | 20 | 5580 | 50 | x = input()
x = int(x)
y = (x-30)/2
print(int(y))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,963 |
s767073229 | p00375 | u476754031 | 1596390803 | Python | Python3 | py | Accepted | 20 | 5572 | 36 | a=int(input())
print(int((a-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,964 |
s343165265 | p00375 | u205858220 | 1596192793 | Python | Python3 | py | Accepted | 20 | 5580 | 31 | print(((int(input())) -30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,965 |
s443941783 | p00375 | u885258138 | 1596172304 | Python | Python3 | py | Accepted | 20 | 5576 | 40 | x=int(input())
c=int((x-30)/2)
print(c)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,966 |
s389279460 | p00375 | u326077502 | 1595895503 | Python | Python3 | py | Accepted | 20 | 5576 | 34 | F = int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,967 |
s449937859 | p00375 | u819143290 | 1594811372 | Python | Python3 | py | Accepted | 20 | 5596 | 137 | def to_cels(f):
return (f-30)/2
while True:
try:
f=int(input())
print(int(to_cels(f)))
except:
break
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,968 |
s199938122 | p00375 | u782152619 | 1594686740 | Python | Python3 | py | Accepted | 20 | 5576 | 28 | print((int(input())-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,969 |
s456347565 | p00375 | u878828646 | 1594105679 | Python | Python3 | py | Accepted | 20 | 5576 | 34 | x = int(input())
print((x-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,970 |
s311021934 | p00375 | u659772967 | 1594085782 | Python | Python3 | py | Accepted | 20 | 5580 | 40 | F=int(input());C=(F-30)/2;print(int(C))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,971 |
s302878054 | p00375 | u537939262 | 1594083391 | Python | Python3 | py | Accepted | 20 | 5584 | 77 | def FtoC(F):
C=(F-30)/2
return C
F=int(input())
print(int(FtoC(F)))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,972 |
s169684409 | p00375 | u854650608 | 1594082389 | Python | Python3 | py | Accepted | 20 | 5588 | 66 | F=int(input())
def C(F):
C=(F-30)//2
return C
print(C(F))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,973 |
s389078980 | p00375 | u675883677 | 1594082337 | Python | Python3 | py | Accepted | 20 | 5588 | 74 | def fah(F):
C=int((F-30)/2)
return C
f=int(input())
print(fah(f))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,974 |
s362139984 | p00375 | u040210821 | 1594082331 | Python | Python3 | py | Accepted | 20 | 5588 | 59 | def F(f):
return (f-30)//2
a=int(input())
print(F(a))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,975 |
s421869140 | p00375 | u919773430 | 1594011513 | Python | Python3 | py | Accepted | 20 | 5576 | 34 | F = int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,976 |
s291699087 | p00375 | u548184870 | 1594010762 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | print(int((int(input())-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,977 |
s142662527 | p00375 | u286298310 | 1593690586 | Python | Python3 | py | Accepted | 20 | 5576 | 37 | f = int(input())
print( (f-30)//2 )
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,978 |
s583270752 | p00375 | u860145523 | 1592552710 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,979 |
s476946402 | p00375 | u096166741 | 1592552692 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | a=int(input())
print((a-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,980 |
s804177995 | p00375 | u580596673 | 1592552172 | Python | Python3 | py | Accepted | 20 | 5580 | 42 | a=int(input())
c=a-30
d=int(c/2)
print(d)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,981 |
s727956874 | p00375 | u179629761 | 1592272233 | Python | Python3 | py | Accepted | 20 | 5576 | 37 | F=int(input())
print(int((F-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,982 |
s607603646 | p00375 | u662362547 | 1592267595 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,983 |
s393757652 | p00375 | u896809383 | 1592202555 | Python | Python3 | py | Accepted | 20 | 5576 | 33 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,984 |
s237837138 | p00375 | u930644970 | 1592191823 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | f=int(input())
print((f-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,985 |
s685767530 | p00375 | u842461513 | 1592109178 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | print(int((int(input()) - 30) / 2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,986 |
s998001999 | p00375 | u596129030 | 1591595962 | Python | Python3 | py | Accepted | 20 | 5572 | 37 | w=int(input())
print(int((w-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,987 |
s396810846 | p00375 | u632910712 | 1591593030 | Python | Python3 | py | Accepted | 20 | 5576 | 37 | F=int(input())
print(int((F-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,988 |
s139875431 | p00375 | u940828136 | 1591443962 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,989 |
s292075466 | p00375 | u293306835 | 1590455998 | Python | Python3 | py | Accepted | 20 | 5576 | 38 | F = int(input())
print((F - 30) // 2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,990 |
s481297847 | p00375 | u189528630 | 1590372733 | Python | Python3 | py | Accepted | 20 | 5572 | 33 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,991 |
s047313318 | p00375 | u925445050 | 1590339196 | Python | Python3 | py | Accepted | 20 | 5576 | 33 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,992 |
s650145581 | p00375 | u573698742 | 1590064090 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | F=int(input())
print(int((F-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,993 |
s201253545 | p00375 | u100874602 | 1589981808 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,994 |
s009892994 | p00375 | u905454643 | 1589851847 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | F=int(input())
C=(F-30)//2
print(C)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,995 |
s460150984 | p00375 | u329155726 | 1589850416 | Python | Python3 | py | Accepted | 20 | 5572 | 38 | a = int(input())
print(int((a-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,996 |
s869509736 | p00375 | u529477970 | 1589848964 | Python | Python3 | py | Accepted | 20 | 5584 | 78 | F=int(input())
if 30<=F<=100:
C=int((F-30)/2)
print(C)
else:
pass
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,997 |
s788583519 | p00375 | u799076010 | 1589848057 | Python | Python3 | py | Accepted | 20 | 5580 | 40 | F=int(input())
C=int((F-30)/2)
print(C)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,998 |
s043688724 | p00375 | u333382219 | 1589843775 | Python | Python3 | py | Accepted | 20 | 5652 | 61 | import math
F = int(input())
print(math.floor((F - 30) / 2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 18,999 |
s870801568 | p00375 | u257570657 | 1589820958 | Python | Python3 | py | Accepted | 20 | 5580 | 80 | #!/usr/bin/python3
# coding: utf-8
F = int(input())
C = int (F-30)//2
print(C)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,000 |
s680387622 | p00375 | u430159711 | 1589785980 | Python | Python3 | py | Accepted | 20 | 5576 | 37 | x=int(input())
print(int((x-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,001 |
s526455232 | p00375 | u920513163 | 1589785935 | Python | Python3 | py | Accepted | 20 | 5576 | 40 | x=int(input())
print(int((x-30)*1/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,002 |
s722010366 | p00375 | u056829778 | 1589783266 | Python | Python3 | py | Accepted | 20 | 5572 | 40 | f = int(input())
print(int((f-30) / 2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,003 |
s765855800 | p00375 | u826807985 | 1589781358 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | f=int(input())
c=(f-30)//2
print(c)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,004 |
s193871990 | p00375 | u497248335 | 1589780933 | Python | Python3 | py | Accepted | 20 | 5576 | 39 | F = int(input())
print(int((F-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,005 |
s642698295 | p00375 | u762022668 | 1589779425 | Python | Python3 | py | Accepted | 20 | 5576 | 33 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,006 |
s225423343 | p00375 | u635020217 | 1589779390 | Python | Python3 | py | Accepted | 20 | 5580 | 69 | # coding: utf-8
# Your code here!
F = int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,007 |
s623077925 | p00375 | u869208015 | 1589779367 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,008 |
s921290882 | p00375 | u586171604 | 1589779060 | Python | Python3 | py | Accepted | 20 | 5576 | 31 | print( (int(input())-30)//2 )
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,009 |
s885972577 | p00375 | u950320804 | 1589778949 | Python | Python3 | py | Accepted | 20 | 5580 | 67 | # coding: utf-8
# Your code here!
x=int(input())
print((x-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,010 |
s118435553 | p00375 | u167524059 | 1589778890 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | F=int(input())
C=(F-30)//2
print(C)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,011 |
s103717164 | p00375 | u755480664 | 1589778858 | Python | Python3 | py | Accepted | 20 | 5576 | 32 | x=int(input())
print((x-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,012 |
s289087741 | p00375 | u056263240 | 1589778642 | Python | Python3 | py | Accepted | 20 | 5576 | 40 | F = int(input())
print(int((F-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,013 |
s050491438 | p00375 | u034153923 | 1589778262 | Python | Python3 | py | Accepted | 20 | 5572 | 39 | F = int(input())
print(int((F-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,014 |
s020355002 | p00375 | u709176169 | 1589770480 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | F=int(input())
print(int((F-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,015 |
s664773972 | p00375 | u940983140 | 1589723516 | Python | Python3 | py | Accepted | 20 | 5580 | 45 | F = int(input())
C = (F-30)/2
print(int(C))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,016 |
s930234674 | p00375 | u506949161 | 1589566155 | Python | Python3 | py | Accepted | 20 | 5576 | 33 | a=int(input())
print((a-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,017 |
s283158175 | p00375 | u924938296 | 1589543413 | Python | Python3 | py | Accepted | 20 | 5648 | 59 | import math
F = int(input())
print(math.floor((F - 30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,018 |
s430089367 | p00375 | u512192552 | 1589465727 | Python | Python3 | py | Accepted | 20 | 5580 | 71 | # coding: utf-8
# Your code here!
F=int(input())
print(int((F-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,019 |
s173102188 | p00375 | u661628543 | 1589295472 | Python | Python3 | py | Accepted | 20 | 5572 | 32 | F=int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,020 |
s401401682 | p00375 | u747536722 | 1589288039 | Python | Python3 | py | Accepted | 20 | 5584 | 75 | F=int(input())
if 30<=F<=100:
C=int((F-30)/2)
print(C)
else:
pass
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,021 |
s134173083 | p00375 | u355413291 | 1589251331 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | x=int(input())
print(int((x-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,022 |
s767988559 | p00375 | u965173609 | 1589250790 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | f=int(input())
print(int((f-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,023 |
s576663037 | p00375 | u438043982 | 1589247122 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | x=int(input())
print(int((x-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,024 |
s838165882 | p00375 | u240091169 | 1589247115 | Python | Python3 | py | Accepted | 20 | 5576 | 40 | x = int(input())
print(int((x-30) / 2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,025 |
s675330885 | p00375 | u453677662 | 1589246975 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | x=int(input())
print(int((x-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,026 |
s207379373 | p00375 | u799016206 | 1589246957 | Python | Python3 | py | Accepted | 20 | 5576 | 36 | x=int(input())
print(int((x-30)/2))
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,027 |
s600658133 | p00375 | u680047335 | 1589246838 | Python | Python3 | py | Accepted | 20 | 5580 | 43 | F = int(input())
C = ((F-30)//2)
print(C)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,028 |
s138592125 | p00375 | u695568874 | 1589246726 | Python | Python3 | py | Accepted | 20 | 5572 | 38 | F = int(input())
C=(F-30)//2
print(C)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,029 |
s792407744 | p00375 | u361745995 | 1589246614 | Python | Python3 | py | Accepted | 20 | 5576 | 42 | F=int(input())
x=F-30
C=int(x/2)
print(C)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,030 |
s193489028 | p00375 | u829520323 | 1589246546 | Python | Python3 | py | Accepted | 20 | 5576 | 34 | F = int(input())
print((F-30)//2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,031 |
s454146897 | p00375 | u633358233 | 1589246543 | Python | Python3 | py | Accepted | 20 | 5576 | 39 |
F = int(input())
print((F - 30) // 2)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,032 |
s874062011 | p00375 | u350481745 | 1589246481 | Python | Python3 | py | Accepted | 20 | 5580 | 40 | f=int(input())
c=int((f-30)/2)
print(c)
| p00375 | <h1>Celsius/Fahrenheit</h1>
<p>
In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered... | 68
| 19
| 19,033 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.