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 stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s200976109 | p03759 | u427690532 | 1598469967 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9068 | 159 | S_list = list(map(int,input().split()))
if (S_list[1] - S_list[0] ) / (S_list[2] - S_list[1]) == 1:
result = "YES"
else:
result = "NO"
print(result)
|
s807444850 | p03759 | u427690532 | 1598469874 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9052 | 159 | S_list = list(map(int,input().split()))
if (S_list[1] - S_list[0] ) / (S_list[2] - S_list[1]) == 1:
result = "YES"
else:
result = "No"
print(result)
|
s756559525 | p03759 | u427690532 | 1598469840 | Python | Python (3.8.2) | py | Runtime Error | 28 | 9156 | 170 | S_list = list(map(int,input("入力:").split()))
if (S_list[1] - S_list[0] ) / (S_list[2] - S_list[1]) == 1:
result = "YES"
else:
result = "No"
print(result)
|
s768271212 | p03759 | u434630332 | 1598394748 | Python | Python (3.8.2) | py | Runtime Error | 31 | 9092 | 126 | a = int(input())
b = int(input())
c = int(input())
ba = b - a
cb = c - b
if ba == cb:
print("Yes")
else:
print("No") |
s454791792 | p03759 | u620846115 | 1598267694 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8892 | 79 | a,b,c=map(int,input().split())
if a-b = b-c:
print("YES")
else:
print("NO") |
s806635946 | p03759 | u468972478 | 1597677248 | Python | Python (3.8.2) | py | Runtime Error | 23 | 8952 | 88 | a, b, c = map(int, input()split())
if b - a == c - b:
print("YES")
else:
print("NO") |
s575488550 | p03759 | u969708690 | 1596223264 | Python | PyPy3 (7.3.0) | py | Runtime Error | 117 | 74300 | 77 | a,b,c=map(int,input().split())
if b-a=c-b:
print("YES")
else:
print("NO") |
s159144222 | p03759 | u825343780 | 1595157300 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9148 | 76 | a = list(map(int, input().split()))
print("YES" if b - a == c - b else "NO") |
s597045691 | p03759 | u169138653 | 1593725430 | Python | Python (3.8.2) | py | Runtime Error | 24 | 9204 | 380 | n=int(input())
d=[dict() for _ in range(n)]
for i in range(n):
for c in input():
if c not in d[i]:
d[i][c]=1
else:
d[i][c]+=1
ans=""
for i in range(26):
mini=10**18
for j in range(n):
if chr(97+i) not in d[j]:
mini=0
else:
mini=min(mini,d[j][chr(97+i)])
ans+=mini*chr(97+i)
print(ans) |
s957815249 | p03759 | u209275335 | 1593150114 | Python | Python (3.8.2) | py | Runtime Error | 28 | 8944 | 89 | a,b,c = map(int,input().split())
if b - a = c - b:
print("YES")
else:
print("NO") |
s011269864 | p03759 | u014333473 | 1592599551 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9028 | 61 | a,b,c=map(int,input().split());print(['NO','YES'][b-a==c-b])A |
s290628378 | p03759 | u277956366 | 1592209071 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 1 | ; |
s398589610 | p03759 | u277956366 | 1592208452 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 70 | a,b,c=map(int,input().split)
print("YES")if b-a==c-b else print("YES") |
s492562741 | p03759 | u232733545 | 1592151342 | Python | Python (3.4.3) | py | Runtime Error | 21 | 3316 | 120 | from collections import Counter
a,b,c = map(int,input())
if(abs(b-a)==abs(c-b)):
print("Yes")
else:
print("No") |
s165457841 | p03759 | u232733545 | 1592151304 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 131 |
from collections import Counter
import sys
a,b,c = map(int,input())
if(abs(b-a)==abs(c-b)):
print("Yes")
else:
print("No") |
s083202943 | p03759 | u232733545 | 1592150654 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3316 | 250 | # Hello World program in Python
from collections import Counter as cn
d = int(input())
l = []
for k in range(d):
r = input()
l.append(cn(r))
oi = l[0]
for g in range(1,d):
oi = oi & l[g]
print("".join(sorted(oi.elements())))
|
s019047882 | p03759 | u912650255 | 1591542344 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 79 | a,b,c = int(input())
if b-c == c-a:
print('Yes')
else:
print('No')
|
s428689168 | p03759 | u354623416 | 1591512835 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | a,b,c = map(int, input().split())
print('YES') if b-a==c-b
else print ('NO')
|
s104928467 | p03759 | u085334230 | 1591240712 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 84 | a,b,c = map(int,input().split())
if b−a==c−b:
print("YES")
else:
print("NO") |
s886767549 | p03759 | u366886346 | 1591139076 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 130 | o=input()
e=input()
ans=""
for i in range(len(e)):
ans+=o[i]
ans+=e[i]
if len(o)!=len(e):
ans+=o[len(o)-1]
print(ans)
|
s803024429 | p03759 | u887263002 | 1590892142 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 52 | if b - a = c - b:
print('YES')
else:
print('NO') |
s058418383 | p03759 | u887263002 | 1590891684 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 46 | if(b - a == c - b):
print(YES)
else:
print(NO) |
s993437708 | p03759 | u559346857 | 1589814881 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | a,b,c=map(int,input().split())
print("YES" b-a==c-a else "NO") |
s644910353 | p03759 | u559346857 | 1589814837 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 61 | a,b,c=map(int,input().split())
print("YES" b-a=c-a else "NO") |
s492432863 | p03759 | u167647458 | 1589402262 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | a, b, c = map(int, nput().split())
if b - a == c - b:
print('YES')
else:
print('NO') |
s615345643 | p03759 | u806403461 | 1588458072 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 83 | a, b, c = input().split()
if b-a == c - b:
print('YES')
else:
print('NO')
|
s270864142 | p03759 | u144029820 | 1588367473 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 68 | a,b,c=map(int,input().sploit())
print('YES' if b-a==c-b else 'NO')
|
s657480727 | p03759 | u156383602 | 1588294606 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | a=sorted[int(i) for i in input().split()]
if a[1]-a[0]==a[2]-a[1]:
print("YES")
else:
print("NO") |
s058322306 | p03759 | u188745744 | 1588094817 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | A,B,C = list(map(int,input().split()))
if abs(A-B) == abs(B-C):
print("YES")
exit()
else:
print("NO")
exit() |
s024386466 | p03759 | u095094246 | 1588038365 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 79 | a,b,c =map(int, input().split())
if a+c=2*b:
print('YES')
else:
print('NO') |
s385656067 | p03759 | u115877451 | 1588008168 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 78 | a,b,c=map(int,input().split())
if b-c==c=b:
print('YES')
else:
print('NO') |
s277299354 | p03759 | u052066895 | 1586871853 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | a,b,c = map(int,input.split())
print("YES" if b-a == c-b else "NO") |
s898648980 | p03759 | u457957084 | 1586709403 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 105 | a, b, c = map(int,input().split())
d = b - c
e = a - b
if d = e:
print("Yes")
else:
print("No")
|
s110530738 | p03759 | u940332739 | 1586482843 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 281 | n=2
string_list=[input() for i in range(n)]
a = string_list[0]
b = string_list[1]
def big(a,b):
if a > b:
return a
else:
return b
def plus(a,b):
c = a[i]
d = b[i]
return c+d
e = ""
for i in range(len(big(a,b))):
e += plus(a,b)
print(e)
|
s629954732 | p03759 | u451206510 | 1586455904 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 73 | a, b, c = map(int, input().split())
print("YES" if b - a=c - b else "NO") |
s030467731 | p03759 | u145600939 | 1586040999 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 | a,b,c = map(int,input().split())
if a+c = b+b:
print('YES')
else:
print('NO') |
s976540730 | p03759 | u920621778 | 1585533892 | Python | PyPy3 (2.4.0) | py | Runtime Error | 173 | 38384 | 71 | a, b, c = map(int, input().split())
r = 'YES' if b - a == c - b else 'N |
s032611672 | p03759 | u291628833 | 1585372731 | Python | PyPy3 (2.4.0) | py | Runtime Error | 175 | 38256 | 81 | a,b,c = map(int,input().split())
if 2*b = a+c:
print("YES")
else:
print("NO") |
s389189323 | p03759 | u291628833 | 1585367344 | Python | PyPy3 (2.4.0) | py | Runtime Error | 178 | 38640 | 312 | import string
n = int(input())
s = []
for _ in range(n):
s.append(input())
az = string.ascii_lowercase
counts = {}
for v in az:
counts[v] = float("inf")
for i in range(n):
counts[v] = min(counts[v], s[i].count(v))
ans = ""
for k, v in sorted(counts.items()):
ans += k*v
print(ans) |
s803195993 | p03759 | u440129511 | 1585244377 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 74 | a,b,c=list(map(int,input().split()))
if b-a==c-b:print(YES)
else:print(NO) |
s648948712 | p03759 | u286754585 | 1585239517 | Python | PyPy3 (2.4.0) | py | Runtime Error | 174 | 38256 | 66 | a,b,c=map(int,input().split())
print("YES" if (b-a==c-b) else "NO) |
s435959425 | p03759 | u346677493 | 1584891166 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 74 | a=input()
b=input()
c=input()
if b-a==c-b:
print "YES"
else:
print"NO" |
s248668552 | p03759 | u346677493 | 1584890962 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 81 | a,b,c = map(int,raw_input().split())
if b-a==c-b:
print "YES"
else:
ptint"NO" |
s018853163 | p03759 | u346677493 | 1584890837 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 74 | a=input()
b=input()
c=input()
if b-a==c-b:
print "YES"
else:
ptint"NO" |
s229166074 | p03759 | u346677493 | 1584890791 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 79 | a,b,c=map(int,raw_input().split())
if b-a==c-b:
print "YES"
else:
ptint"NO" |
s687263466 | p03759 | u223663729 | 1584762012 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 77 | a, b, c = map(int, input(input().split()))
print('YES' if b-a==c-b else 'NO') |
s955437215 | p03759 | u955251526 | 1584749494 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | a, b, c = map(int, input().split())
if b - a == c - b:
print('YES')
else: prin('NO') |
s699963475 | p03759 | u816631826 | 1584428334 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 162 | import math
h,w = map(int,input().split())
if h==1 or w==1:
print(1)
else:
nos = math.ceil(w/2)*math.ceil(h/2) + math.floor(w/2)*math.floor(h/2)
print(nos)
|
s630804565 | p03759 | u353919145 | 1584427748 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 470 | a=int(input(""))
b=int(input(""))
c=int(input(""))
if(b-a==c-b):
print("Yes")
print('Since'+str(b)+ '-' +str(a)+ '=' +str(c)+ '-' +str(b)+ ',this arrangement of poles is beautiful.')
elif(c-b==b-a):
print("Yes")
print('Since'+str(c)+ '-' +str(b)+ '=' +str(b)+ '-' +str(a)+ ',this arrangement of poles is beautiful.')
else:
print("NO")
print('Since'+str(b)+ '-' +str(a)+ '≠' +str(c)+ '-' +str(b)+ ',this arrangement of poles is not beautiful.')
|
s493647838 | p03759 | u089230684 | 1584426416 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 308 | a=int(input("Enter the height a in meters="))
b=int(input("Enter the height b in meters="))
c=int(input("Enter the height c in meters="))
if(1<=a and 1<=b and 1<=c and a<=100 and b<=100 and c<=100):
if(b-a==c-b):
print("Yes")
elif(c-b==b-a):
print("Yes")
else:
print("NO") |
s293218123 | p03759 | u816631826 | 1584425123 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 654 | a=int(input("Enter the height a in meters="))
b=int(input("Enter the height b in meters="))
c=int(input("Enter the height c in meters="))
if(1<=a and 1<=b and 1<=c and a<=100 and b<=100 and c<=100):
if(b-a==c-b):
print("Yes")
print('Since'+str(b)+ '-' +str(a)+ '=' +str(c)+ '-' +str(b)+ ',this arrangement of poles is beautiful.')
elif(c-b==b-a):
print("Yes")
print('Since'+str(c)+ '-' +str(b)+ '=' +str(b)+ '-' +str(a)+ ',this arrangement of poles is beautiful.')
else:
print("NO")
print('Since'+str(b)+ '-' +str(a)+ '≠' +str(c)+ '-' +str(b)+ ',this arrangement of poles is not beautiful.')
|
s594982469 | p03759 | u863370423 | 1584424447 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2696 | 628 | for i in range(1,100):
a=int(raw_input("Enter the height a in meters="))
b=int(raw_input("Enter the height b in meters="))
c=int(raw_input("Enter the height c in meters="))
if b-a==c-b:
print 'Yes'
print'Since'+str(b)+ '-' +str(a)+ '=' +str(c)+ '-' +str(b)+ ',this arrangement of poles is beautiful.'
elif c-b==b-a:
print 'Yes'
print'Since'+str(c)+ '-' +str(b)+ '=' +str(b)+ '-' +str(a)+ ',this arrangement of poles is beautiful.'
else:
print 'NO'
print'Since'+str(b)+ '-' +str(a)+ '≠' +str(c)+ '-' +str(b)+ ',this arrangement of poles is not beautiful.' |
s289537592 | p03759 | u018679195 | 1584424107 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 139 | a=int(input("Enter a"))
b=int(input("Enter b"))
c=int(input("Enter c"))
if a-b == b-c || b-a == c-b:
print("Beautiful")
else:
print("No") |
s372138886 | p03759 | u089230684 | 1584424075 | Python | Python (2.7.6) | py | Runtime Error | 10 | 2568 | 628 | for i in range(1,100):
a=int(input("Enter the height a in meters="))
b=int(input("Enter the height b in meters="))
c=int(input("Enter the height c in meters="))
if(b-a==c-b):
print("Yes")
print('Since'+str(b)+ '-' +str(a)+ '=' +str(c)+ '-' +str(b)+ ',this arrangement of poles is beautiful.')
elif(c-b==b-a):
print("Yes")
print('Since'+str(c)+ '-' +str(b)+ '=' +str(b)+ '-' +str(a)+ ',this arrangement of poles is beautiful.')
else:
print("NO")
print('Since'+str(b)+ '-' +str(a)+ '≠' +str(c)+ '-' +str(b)+ ',this arrangement of poles is not beautiful.')
|
s695799033 | p03759 | u816631826 | 1584424050 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 138 | a=int(input("Enter a"))
b=int(input("Enter b"))
c=int(input("Enter c"))
if a-b == b-c || b-a == c-b:
print(Beautiful")
else:
print("No") |
s294643191 | p03759 | u863370423 | 1584423787 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3068 | 147 | a=int(input("Enter a number")
b=int(input("Enter b")
c=(int(input("Enter C")
if a-b == b-c || b-a == c-b:
print ("Beautiful")
else :
print("No")
|
s108904995 | p03759 | u863370423 | 1584423760 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 628 | for i in range(1,100):
a=int(input("Enter the height a in meters="))
b=int(input("Enter the height b in meters="))
c=int(input("Enter the height c in meters="))
if(b-a==c-b):
print("Yes")
print('Since'+str(b)+ '-' +str(a)+ '=' +str(c)+ '-' +str(b)+ ',this arrangement of poles is beautiful.')
elif(c-b==b-a):
print("Yes")
print('Since'+str(c)+ '-' +str(b)+ '=' +str(b)+ '-' +str(a)+ ',this arrangement of poles is beautiful.')
else:
print("NO")
print('Since'+str(b)+ '-' +str(a)+ '≠' +str(c)+ '-' +str(b)+ ',this arrangement of poles is not beautiful.')
|
s487330490 | p03759 | u863370423 | 1584423262 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 90 | a=input()
b=input()
c=input()
if b<a and b<c:
print("No")
elif b-a==c-b:
print("Yes")
|
s345762403 | p03759 | u863370423 | 1584423204 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 119 | import math
a, b, c = input().split()
d = math.fabs(b-a)
e = math.fabs(c-b)
if d == e:
print('YES')
else:
print('NO') |
s216127401 | p03759 | u089230684 | 1584423165 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 119 | import math
a, b, c = input().split()
d = math.fabs(b-a)
e = math.fabs(c-a)
if d == e:
print('YES')
else:
print('NO') |
s295737117 | p03759 | u863370423 | 1584423032 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3064 | 197 | import math
def beautiful:
a, b, c = input().split()
d = math.fabs(b-a)
e = math.fabs(c-b)
if d == e:
print('YES')
else:
print('NO')
beautiful() |
s824049356 | p03759 | u353919145 | 1584422855 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 324 | print("1<=a,b,c<=100\n\n")
print("a,b and c are integer\n\n")
a=int(input("Enter 1st pole heights::- "))
b=int(input("Enter 2nd pole heights:- "))
c=int(input("Enter 3rd pole heights:- "))
if(b-a==c-b):
print("This arrangement of pole is beautiful")
else:
print("This arrangement of poles is not beautiful")
|
s519585980 | p03759 | u018679195 | 1584422814 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | def beautiful:
a, b, c = input().split()
if fabs(b-a) == fabs(c-b):
print('YES')
else:
print('NO')
beautiful() |
s733940223 | p03759 | u816631826 | 1584422670 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 150 | def beautiful:
a,b,c = input().split()
if fabs(b-a) == fabs(c-b):
print('YES')
else:
print('NO')
beautiful() |
s839312144 | p03759 | u863370423 | 1584422631 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 163 | import math
def beautiful:
a,b,c = input().split()
if fabs(b-a)) == fabs(c-b):
print('YES')
else:
print('NO')
beautiful() |
s589798007 | p03759 | u089230684 | 1584422432 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 148 | def beautiful:
a,b,c = input().split()
if abs(b-a) == abs(c-b):
print('YES')
else:
print('NO')
beautiful() |
s021451954 | p03759 | u816631826 | 1584422377 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 154 | def beautiful:
a,b,c = input().split()
if ((abs(b-a)) == (abs(c-b))):
print('YES')
else:
print('NO')
beautiful() |
s602131499 | p03759 | u816631826 | 1584422283 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 160 | def beautiful:
a,b,c = int(input()).split()
if ((abs(b-a)) == (abs(c-b))):
print('YES')
else:
print('NO')
beautiful() |
s248080114 | p03759 | u353919145 | 1584421995 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 188 | def beautiful:
a = int(input())
b = int(input())
c = int(input())
if abs(b-a) == abs(c-b):
print('YES')
else:
print('NO')
beautiful() |
s976236238 | p03759 | u816631826 | 1584421909 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | a=int(input())
b=int(input())
c=int(input())
if(abs(a-b)==abs(b-c)):
print("Yes")
else:
print("No")
|
s442694348 | p03759 | u353919145 | 1584421903 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 194 | def beautiful:
a = int(input())
b = int(input())
c = int(input())
if ((abs(b-a)) == (abs(c-b))):
print('YES')
else:
print('NO')
beautiful() |
s521640966 | p03759 | u538175759 | 1583815379 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 62 | if b-a == c-b:
print('YES')
if b-a != c-b:
print('NO') |
s804970419 | p03759 | u538175759 | 1583815241 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | if b-a == c-b:
print('YES')
if b-a =! c-b:
print('NO') |
s915207751 | p03759 | u538175759 | 1583815133 | Python | Python (3.4.3) | py | Runtime Error | 25 | 2940 | 61 | if a-b == b-c:
print('YES')
if a-b =! b-c:
print('NO')
|
s809786889 | p03759 | u538175759 | 1583814965 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 53 | if b-a = c-b:
print('YES')
else:
print('NO')
|
s183628481 | p03759 | u263824932 | 1583624047 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 86 | a,bc=map(int,input().split())
if b-a==c-a:
print('YES')
else:
print('NO')
|
s135600629 | p03759 | u863442865 | 1583243904 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 81 |
a,b,c = map(int, input().split())
if b-a==c-b:
pirnt('YES')
else:print('NO') |
s057294490 | p03759 | u423193302 | 1583221731 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 93 | a,b,c = (int(x) for x in input().split())
if b-a=c-b:
print("YES")
else:
print("NO") |
s490783512 | p03759 | u992910889 | 1582578343 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | A,B,C=map(int,input().split())
#print(sorted(B)[0])
if b-a==c-b:
print('YES')
else:
print('NO') |
s932109604 | p03759 | u992910889 | 1582578309 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | A,B,C=map(str,input().split())
#print(sorted(B)[0])
if b-a==c-b:
print('YES')
else:
print('NO') |
s933906812 | p03759 | u541610817 | 1582271605 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 96 | a, b, c = [int(_) for _ in input().split()]
if a + c = 2 * b:
print('YES')
else:
print('NO') |
s609506137 | p03759 | u016901717 | 1582146589 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 80 | o = list(input())
e = list(input())
for x,y in zip(o,e) :print(x+y,end = "")
|
s559331711 | p03759 | u995004106 | 1581369192 | Python | PyPy3 (2.4.0) | py | Runtime Error | 163 | 38384 | 87 | a,b,c=map(str,input().split())
if (2*b-a-c)==0:
print("YES")
else:
print("NO") |
s237813796 | p03759 | u995004106 | 1581369136 | Python | PyPy3 (2.4.0) | py | Runtime Error | 161 | 38256 | 86 | a,b,c=map(str,input().split())
if (b-a)=(c-b):
print("YES")
else:
print("NO") |
s831635595 | p03759 | u995004106 | 1581369109 | Python | PyPy3 (2.4.0) | py | Runtime Error | 166 | 38640 | 87 | a,b,c=map(str,input().split())
if (b-a)==(c-b):
print("YES")
else:
print("NO") |
s574748939 | p03759 | u488934106 | 1580925608 | Python | PyPy3 (2.4.0) | py | Runtime Error | 171 | 38256 | 201 | def ntukusi(a,b,c):
ans = "YES" if b - a = c - b else "NO"
return ans
def main():
a , b , c = map(int, input().split())
print(ntukusi(a , b , c))
if __name__ == '__main__':
main() |
s998935692 | p03759 | u488934106 | 1580925508 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38256 | 187 | def ntukusi(a,b,c):
return "YES" if b - a = c - b else "NO"
def main():
a , b , c = map(int, input().split())
print(ntukusi(a , b , c))
if __name__ == '__main__':
main() |
s770552987 | p03759 | u127499732 | 1580001469 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38384 | 81 | a = list(input())
b = list(input())+[""]
for c,d in zip(a,b):
print(c+d,end="") |
s660776086 | p03759 | u871596687 | 1579376796 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 93 | a,b,c = map(int,unput().split())
if b-a == c-b:
print("YES")
else:
print("NO")
|
s900374540 | p03759 | u686036872 | 1578901290 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 69 | a, b, c = map(int, input().split())
print("YES" if b-a=c-b else "NO") |
s417029477 | p03759 | u686036872 | 1578901199 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 68 | a, b, c =map(int, input().split())
print("YES" if b-a=c-b else "NO") |
s810274007 | p03759 | u686036872 | 1578901141 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 68 | a, b, c =map(int, input().split())
print("Yes" if b-a=c-b else "No") |
s735769954 | p03759 | u686036872 | 1578901116 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 68 | a, b, c =map(int, input().split())
print("Yes" if b-a=c=b else "No") |
s592244851 | p03759 | u976225138 | 1578874450 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 93 | a, b, c = map(int, input().aplit())
if b - a == c - b:
print("YES")
else:
print("NO") |
s760606678 | p03759 | u178432859 | 1578682407 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 86 | a,b,c = map(int, input().split())
if b-a = c-b:
print("YES")
else:
print("NO") |
s283055842 | p03759 | u609061751 | 1578040527 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 121 | import sys
input = sys.stdin.readline
a, b, c = input().split()
if b - a == c - b:
print("YES")
else:
print("NO") |
s881086514 | p03759 | u609061751 | 1578040494 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 121 | import sys
input = sys.stdin.readline
A, B, C = input().split()
if b - a == c - b:
print("YES")
else:
print("NO") |
s826417849 | p03759 | u515236621 | 1577814338 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 326 | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
int c=sc.nextInt();
int bc=b-c;
int cb=c-b;
if(bc==cb) {
System.out.println("YES");
} else {
System.out.println("NO");
}
}
} |
s456573213 | p03759 | u515236621 | 1577814235 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 127 | i=int(input('entt1: '))
j=int(input('ente2: '))
k=int(input('enter:3 '))
if (j-i==k-j):
print('YES')
else:
print('NO') |
s697773109 | p03759 | u898967808 | 1577679997 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 88 | a,b,c = map(int,input().split())
if b−a == c−b:
print('YES')
else:
print('NO')
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.