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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s579365572 | p03502 | u870518235 | 1594269557 | Python | Python (3.8.2) | py | Runtime Error | 25 | 9036 | 137 | n = list(input())
N = int(sum(n))
M = 0
for i in range(len(n)):
M += int(n[i])
if N % M == 0:
print("Yes")
else:
print("No") |
s096267895 | p03502 | u403436880 | 1593301065 | Python | Python (3.8.2) | py | Runtime Error | 22 | 9076 | 59 | N = input()
print("Yes" if N%sum(map(int,N))==0 else "No") |
s574171095 | p03502 | u403436880 | 1593300834 | Python | Python (3.8.2) | py | Runtime Error | 19 | 9172 | 58 | N = int(input())
print("Yes" if N%sum(N) == 0 else "No") |
s082349800 | p03502 | u403436880 | 1593300809 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9020 | 54 | N = int(input())
if("Yes" if N%sum(N) == 0 else "No") |
s941678264 | p03502 | u459023872 | 1592723509 | Python | Python (3.8.2) | py | Runtime Error | 23 | 9164 | 177 | N=int(input())
input_list=map(int,input().split(" "))
max_input=max(input_list)
Sum_input=sum(input_list)-max_input
if max_input<Sum_input:
print("Yes")
else:
print("No") |
s782894459 | p03502 | u005569385 | 1592629023 | Python | Python (3.8.2) | py | Runtime Error | 26 | 9012 | 134 | N = int(input())
s = 0
while N//10 > 0
a = N % 10
s += a
N = N // 10
if N % s == 0:
print("Yes")
else:
print("No") |
s517644560 | p03502 | u419963262 | 1592370631 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 116 | s=input()
ss=int(s)
keep=0
for i in range(len(s)):
keep+=int(i)
if ss%keep==0:
print("Yes")
else:
print("No")
|
s360135685 | p03502 | u185806788 | 1592115563 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38256 | 94 | N=str(input())
A=sum(list(map(int, list(N))))
if N % A ==0:
print("Yes")
else:
print("No") |
s105877950 | p03502 | u185806788 | 1592115528 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38384 | 94 | N=int(input())
A=sum(list(map(int, list(N))))
if N % A ==0:
print("Yes")
else:
print("No") |
s446808625 | p03502 | u350093546 | 1591498978 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 93 | n=int(input())
m=str(n)
x=0
for i in m:
x+=i
if n%x==0:
print('Yes')
else:
print('No')
|
s863946719 | p03502 | u350093546 | 1591498883 | Python | PyPy3 (2.4.0) | py | Runtime Error | 168 | 38256 | 83 | n=input()
x=0
for i in n:
x+=i
if int(n)%x==0:
print('Yes')
else:
print('No') |
s385471307 | p03502 | u594956556 | 1591342617 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | S = input()
N = int(input())
fN = sum([int(S[i]) for i in range(len(S))])
if N%fN == 0:
print('Yes')
else:
print('No') |
s087382488 | p03502 | u730769327 | 1591263289 | Python | PyPy3 (2.4.0) | py | Runtime Error | 167 | 38256 | 102 | n=int(input())
f=0
frag='No'
for i in 8:
f+=n%(10**(i+1))//10**i
if n%f==0:
frag='Yes'
print(frag) |
s919003939 | p03502 | u706433263 | 1591124006 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 96 | x=input()
f=0
for i in range(len(x)):
f+=int(x[i])
if x%f==0:
print('Yes')
else:
('No') |
s026297267 | p03502 | u600261652 | 1590795986 | Python | Python (3.4.3) | py | Runtime Error | 22 | 3060 | 63 | N = input()
print("Yes" if N%(sum(map(int, N))) == 0 else "No") |
s945122725 | p03502 | u498575211 | 1590629520 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 91 | N = int(input())
for i in N:
sum += i
if sum % N == 0:
print('Yes')
else:
print('No') |
s957294144 | p03502 | u922449550 | 1590599881 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 89 | N = input()
f = sum(map(int, list(N)))
if N // f == 0:
print('Yes')
else:
print('No') |
s605678841 | p03502 | u247211039 | 1590378602 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 72 | N = input()
f = sum(map(int, N))
print("Yes" int(N) % f == 0 else "No")
|
s505211876 | p03502 | u294385082 | 1590368576 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | n = list(input())
sum = 0
for i in n:
sum += int(i)
if sum%int(n) == 0:
print('Yes')
else:
print('No')
|
s715500645 | p03502 | u551109821 | 1590207607 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 146 | N = input()
n = int(N)
sum = 0
a = list(input())
for i in range(len(a)):
sum += int(a[i])
if n%sum==0:
print('Yes')
else:
print('No') |
s210955764 | p03502 | u629350026 | 1590020004 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 81 | n=int(input())
temp=list(n)
if n%sum(temp)==0:
print("Yes")
else:
print("No") |
s585919604 | p03502 | u027403702 | 1589234047 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 62 | N = input()
print("Yes" if N % sum(map(int,N)) == 0 else "No") |
s302698245 | p03502 | u366996583 | 1589064728 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | N=int(input())
def f(N):
i=0#桁数
while N>1:
N=N/10
i+=1
return i
x=f(N)
if N%x==0:
print("Yes")
else: print("No") |
s251068970 | p03502 | u366996583 | 1589064623 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 133 | N=int(input())
def f(N):
i=0#桁数
while N>1:
N=N/10
i+=1
return i
x=f(N)
if N%x==0:
print("yes")
else: print("no") |
s409475975 | p03502 | u973108807 | 1588960804 | Python | Python (3.4.3) | py | Runtime Error | 24 | 2940 | 117 | N = int(input())
n = N
fN = 0
while n > 9:
fN += n%10
n //= 10
if N % fN == 0:
print('Yes')
else:
print('No') |
s982492102 | p03502 | u857673087 | 1588905197 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 65 | N = int(input())
print('Yes' if sum(map(N)) % N == 0 else 'No')
|
s268766439 | p03502 | u857673087 | 1588905133 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 63 | N = input()
print('Yes' if sum(map(int,N)) % N == 0 else 'No') |
s618463954 | p03502 | u165268875 | 1588881248 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 68 |
N = input()
print("Yes" sum(map(int, N)) % int(N) == 0 else "No")
|
s638382352 | p03502 | u737508101 | 1588820145 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | n = int(input())
kakuketanowa = sum(map(int, list(str(n))))
if x % kakuketanowa == 0:
print("Yes")
else:
print("No")
|
s995543418 | p03502 | u970809473 | 1588736711 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 124 | n = int(input())
tmp = 0
for i in range(len(str(n))):
tmp += str(n)[i]
if n % tmp == 0:
print('Yes')
else:
print('No') |
s753453990 | p03502 | u945839160 | 1588626200 | Python | PyPy3 (2.4.0) | py | Runtime Error | 176 | 38384 | 555 | def resolve():
# 整数 1 つ
n = int(input())
# 整数複数個
# a, b, c = list(map(int, input().split()))
# 整数 N 個 (改行区切り)
# N = [int(input()) for i in range(N)]
# 整数 N 個 (スペース区切り)
# N = list(map(int, input().split()))
# 整数 (縦 H 横 W の行列)
# A = [list(map(int, input().split())) for i in range(H... |
s653569244 | p03502 | u006880673 | 1588478137 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 161 | n = int(input())
num = n
f = 0
while True:
if num == 0:
break
f += num%10
num = num//10
if n%num==0:
print("Yes")
else:
print("No")
|
s256248243 | p03502 | u006880673 | 1588478107 | Python | PyPy3 (2.4.0) | py | Runtime Error | 164 | 38384 | 161 | n = int(input())
num = n
f = 0
while True:
if num == 0:
break
f += num%10
num = num//10
if n%num==0:
print("Yes")
else:
print("No")
|
s386421139 | p03502 | u193565131 | 1588394665 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 88 | n=int(input())
l=[int(i) for i in str(n)]
if n%sum(l)==0:
print(yes)
else:
print(no) |
s840270796 | p03502 | u129898499 | 1588391823 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 105 | N= input()
F = 0
for i in range(8):
F += int(N[i])
if int(N)%F== 0:
print("Yes")
else:
print("No")
|
s441496499 | p03502 | u129898499 | 1588391760 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 100 | N= input()
F = 0
for i in range(8):
F += int(N[i])
if N%F== 0:
print("Yes")
else:
print("No")
|
s759441774 | p03502 | u605327527 | 1588382599 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 164 | import math
par = input()
val = int(par)
valA = int(list(par)[0])
valB = int(list(par)[1])
if val % (valA+valB) == 0:
print("Yes")
else:
print("No")
|
s571220668 | p03502 | u172780602 | 1587921186 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | N=str(input())
f=int(N[0])+int(N[1])
if int(N)%f==0:
print("Yes")
else:
print("No") |
s242575107 | p03502 | u852790844 | 1587612737 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 166 | def sum_digits(n):
s = 0
while n:
s += n%10
n //= 10
retun s
n = int(input())
ans = "Yes" if n % sum_digits(n) == 0 else "No"
print(ans) |
s603841088 | p03502 | u045953894 | 1587524298 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 150 | def s(n):
s = 0
for i in range(len(n)):
s += int(s[i])
return s
n = input()
if int(n) % s(n) == 0:
print('Yes')
else:
print('No') |
s754853414 | p03502 | u642418876 | 1587493717 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 106 | n=str(input())
f=0
for i in range(len(l)):
f+=n[i]
if int(n)%f==0:
print('Yes')
else:
print('No')
|
s273708846 | p03502 | u642418876 | 1587493522 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 101 | n=str(input())
f=0
for i in range(len(n)):
f+=n[i]
if n%f==0:
print('Yes')
else:
print('No')
|
s557306630 | p03502 | u642418876 | 1587493415 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | n=int(input())
f=0
for i in range(len(n)):
f+=i
if n%f==0:
print('Yes')
else:
print('No')
|
s023403273 | p03502 | u945157177 | 1587263781 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38640 | 165 | n = int(input())
sum = 0
m = n
while n > 0:
n = int(n / 10)
# print(n)
sum = sum + (n % 10)
if m % sum == 0:
print("Yes")
else:
print("No") |
s180309061 | p03502 | u106181248 | 1587237329 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 98 | s = int(input())
x = 0
for i in s:
x += int(i)
if s%x == 0:
print("Yes")
else:
print("No") |
s131389430 | p03502 | u652656291 | 1587136182 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 157 | n = str(input())
l = len(n)
L = []
for i in range(l):
a = n[i]
l.append(a)
sum_L = sum(L)
if int(n) % int(sum_l) == 0:
print('Yes')
else:
print('No') |
s773471967 | p03502 | u652656291 | 1587136132 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | n = str(input())
l = len(n)
L = []
for i in range(l):
a = n[i]
l.append(a)
sum_L = sum(L)
if int(n) % sum_l == 0:
print('Yes')
else:
print('No') |
s957419564 | p03502 | u652656291 | 1587136113 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 147 | n = str(input())
l = len(n)
L = []
for i in range(l):
a = n[i]
l.append(a)
sum_L = sum(L)
if n % sum_l == 0:
print('Yes')
else:
print('No') |
s854783374 | p03502 | u799428010 | 1586996425 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 85 | N=int(input())
f=map(int,list(N))
if N%sum(f)==0:
print('Yes')
else:
print('No')
|
s747609116 | p03502 | u799428010 | 1586996266 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 84 | N=input()
f=map(int,list(str(N)))
if N%sum(f)==0:
print('Yes')
else:
print('No') |
s955309035 | p03502 | u799428010 | 1586995189 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 85 | N=input()
f=sum(list(map(int, str(N))))
if N%f==0:
print('Yes')
else:
print('No') |
s849039732 | p03502 | u870297120 | 1586824954 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 84 | n = int(input())
a, b = map(int, list(str(n)))
print('Yes' if n%(a+b)==0 else 'No') |
s066560616 | p03502 | u363836311 | 1586683025 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | n=int(input())
s=list(str(n))
t=0
for i in range(len(s)):
t+=int(s[i])
if n%s==0:
print('Yes')
else:
print('No') |
s892714415 | p03502 | u363836311 | 1586683002 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3060 | 113 | n=int(input())
s=list(str(n))
t=0
for i in range(len(s)):
t+=s[i]
if n%s==0:
print('Yes')
else:
print('No') |
s716241386 | p03502 | u053744958 | 1586652294 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3064 | 232 | def calc_sum_digits(n):
sumd = 0
while(n > 1):
sumd += int(n%10)
n /= 10
return sumd
N = int(input())
sumd = 0
sumd = calc_sum_digits(N)
if(N%sumd == 0):
print('yes')
else:
print('No') |
s421382882 | p03502 | u053744958 | 1586651767 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 227 | def calc_sum_digits(n):
sumd = 0
while(n > 1):
sumd += int(n%10)
n /= 10
return sumd
N = int(input())
sumd = 0
sumd = calc_sum_digits(N)
if(N%sumd == 0): print('yes')
else: print('No') |
s697217175 | p03502 | u053744958 | 1586651627 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 223 | def calc_sum_digits(n):
sumd = 0
while(n > 1):
sumd += int(n%10)
n /= 10
return sumd
N = int(input())
sumd = 0
sumd = calc_sum_digits(N)
if(N%sumd == 0): print('yes')
else: print('No') |
s542086240 | p03502 | u702786238 | 1586367185 | Python | PyPy3 (2.4.0) | py | Runtime Error | 174 | 38384 | 91 | x = input()
xi = int(x)
xs = sum(list(x))
if xi%xs==0:
print("Yes")
else:
print("No") |
s341127385 | p03502 | u519939795 | 1586016425 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 80 | s = list(int(input()))
b = 0
for i in range(len(s)):
b += int(s[i])
print(s) |
s263567724 | p03502 | u358254559 | 1585931070 | Python | PyPy3 (2.4.0) | py | Runtime Error | 160 | 38256 | 104 | n=int(input())
st=str(n)
sm = 0
for i in st:
sm+=int(i)
if n%sm==0:
print("Yes")
else
print("No") |
s618523376 | p03502 | u586639900 | 1585912158 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 152 | input(N)
def digitsum(a):
x = 0
while a > 0:
x += a % 10
a /= 10
return x
if N % digitsum(N) == 0:
print('Yes')
else:
print('No') |
s006397433 | p03502 | u586212264 | 1585616381 | Python | PyPy3 (2.4.0) | py | Runtime Error | 170 | 38640 | 166 | n=int(input())
total=0
leave=0
for i in range(len(str(n))-1,0,-1):
total+=int(n/(10**i))
leave=n%(10**i)
if n%total==0:
print("Yes")
else:
print("No") |
s659997208 | p03502 | u813098295 | 1585535931 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 149 | def f(x):
ret = 0
while x != 0:
ret += x%10
x //= 10
return ret
n = int(input())
print("Yes" if x % f(x) == 0 else "No") |
s926384021 | p03502 | u813098295 | 1585535906 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 134 | def f(x):
ret = 0
while x != 0:
ret += x%10
x //= 10
n = int(input())
print("Yes" if x % f(x) == 0 else "No") |
s974978480 | p03502 | u288430479 | 1584302927 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 111 | x = input()
l = len(x)
a = 0
for i in range(l):
a += int(x[i])
if a%x ==0:
print('Yes')
else:
print('No') |
s404326814 | p03502 | u137808818 | 1583894511 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 67 | n = input()
x = sum(map(int,n))
print('Yes' if n%x == 0 else 'No')
|
s355889531 | p03502 | u326626914 | 1583472443 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | def f(n):
return sum(map(int, str(n)))
X = int(input())
if X % f(X) == 0:
print('Yes')
else:
print('No') |
s982404413 | p03502 | u326626914 | 1583472379 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 118 | def f(n):
return sum(map(int,str(n)))
X = int8(input())
if X % f(X) == 0:
print('Yes')
else:
print('No') |
s327377647 | p03502 | u326626914 | 1583472049 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 144 | N = int(input())
total = 0
for i in range(1,n+1):
total += N[i]
if N % total == 0:
print('Yes')
else:
print('No')
|
s346896609 | p03502 | u326626914 | 1583471932 | Python | Python (3.4.3) | py | Runtime Error | 18 | 2940 | 141 | N = int(input())
total = 0
for i in range(1,n+1):
total += N
if N % total == 0:
print('Yes')
else:
print('No')
|
s957345770 | p03502 | u326626914 | 1583471772 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 157 | N = int(input())
total = 0
for i in range(len(N)):
total += N
if N % sum(int(input())) == 0:
print('Yes')
else:
print('No') |
s601375968 | p03502 | u326626914 | 1583471477 | Python | Python (3.4.3) | py | Runtime Error | 16 | 2940 | 115 | N = int(input())
def if_test:
if N % sum(int(input())) == 0:
print('Yes')
else:
print('No') |
s366665720 | p03502 | u326626914 | 1583471348 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 103 | N = int(input())
if N / sum(int(input())) == 0:
print('Yes')
else:
print('No') |
s113830028 | p03502 | u326626914 | 1583471076 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 131 | N = int(input())
s = 0
for i in range(1,n+1):
if N / sum(int(input())) == 0:
print('Yes')
else:
print('No') |
s544768189 | p03502 | u768559443 | 1583189266 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 61 | n=str(input())
print("Yes" if n%sum(map(int,n))==0 else "No") |
s112916996 | p03502 | u004423772 | 1583114352 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 122 | N = int(input())
fn = 0
for i in range(1, 9):
fn += N // (10*i)
if N % fn == 0:
print('Yes')
else:
print('No') |
s697064610 | p03502 | u953794676 | 1582818646 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 268 | import sys
def extract_digits(n):
digits = []
while n>0:
digits.append(n%10)
n = int(n/10)
return digits
n = int(input())
digits = extract_digits(n)
for i in digits:
if n % i == 0:
print('Yes')
sys.exit()
print('No') |
s408309267 | p03502 | u291628833 | 1582577185 | Python | PyPy3 (2.4.0) | py | Runtime Error | 165 | 38384 | 159 | n = list(input())
#a,b = map(int,input().split())
#a_L = list(map(int,input().split()))
fx = sum(n)
if int(n)%fx == 0:
print("Yes")
else:
print("No") |
s572363764 | p03502 | u757030836 | 1582297128 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 110 | N = map(int,input().split())
f = sum(list(map(int,str(N))))
if N % f == 0:
print("Yes")
else:
print("No")
|
s415211295 | p03502 | u757030836 | 1582297104 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 108 | N = map(int,input().split())
f = sum(list(map(int,str(N))))
if N % f == 0:
print("Yes")
else:
print("No")
|
s651575457 | p03502 | u757030836 | 1582297052 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | N = map(int,input().split())
fx = sum(list(map(int,str(N))))
if N % fx == 0:
print("Yes")
else:
print("No") |
s591035709 | p03502 | u708255304 | 1581958553 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 120 | X = str(input())
tmp = 0
for i in range(len(X)):
tmp += int(X[i])
if X % tmp == 0:
print('Yes')
else:
print('No') |
s954484545 | p03502 | u243535639 | 1581879311 | Python | Python (3.4.3) | py | Runtime Error | 18 | 3052 | 216 | import sys
input = sys.stdin.readline
def main():
n = input()
n_sum = sum([int(c) for c in n])
if n % n_sum == 0:
print("Yes")
else:
print("No")
if __name__ == '__main__':
main() |
s301846732 | p03502 | u150985282 | 1581867380 | Python | Python (3.4.3) | py | Runtime Error | 20 | 3060 | 175 | X = int(input())
def Sum_Digit(X):
SUM = 0
while X >= 1:
SUM += X%10
X = int((X - X%10)/10)
return SUM
print(S)
if X%S == 0:
print("Yes")
else:
print("No") |
s399999482 | p03502 | u150985282 | 1581866845 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 182 | X = int(input())
def Sum_Digit(X):
SUM = 0
while X > 1:
SUM += X%10
X = int((X - X%10)/10)
return SUM
S = Sum_Digit(X)
if X%S == 0:
print("Yes")
else:
print("No") |
s125068982 | p03502 | u816070625 | 1581555527 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 215 | N=int(input())
i=0
summ=0
def kakuwa(N):
while N>10**i:
i+=1
for k in range(i+1)[::-1]:
summ+=N//(10**k)
N-=(10**k)*(N//(10**k))
return(summ)
if N%kakuwa(N)==0:
print("Yes")
else:
print("No") |
s090821220 | p03502 | u751843916 | 1581122171 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 98 | n=int(input())
i=int(list(str(n))[0])+int(list(str(n))[1])
if n%i==0:print("Yes")
else:print("No") |
s728798500 | p03502 | u268792407 | 1580934519 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3056 | 144 | n=int(input())
def f(k):
m=len(str(k))
a=0
for i in range(m):
a+=str(k)[i]
return a
if n%f(n)==0:
print("Yes")
else:
print("No") |
s539469058 | p03502 | u368796742 | 1580873570 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 92 | x = int(input())
if x % (sum(map(str(x)))) == 0:
print("Yes")
else:
print("No")
|
s224005215 | p03502 | u127499732 | 1580871102 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 63 | x=int(input())
print("Yes" if x%sum(list(str(x)))==0 else "No") |
s380688226 | p03502 | u840958781 | 1580618376 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 109 | n=int(input())
a=0
for i in range(len(str(n))):
a+=n[i]
if n%a==0:
print("Yes")
else:
print("No") |
s269313438 | p03502 | u143903328 | 1580532487 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 151 |
N = intinput()
tmp = N
divs = 0
while tmp:
divs += tmp % 10
tmp = int(tmp/10)
if N % divs == 0:
print('Yes')
else:
print('No')
|
s737865393 | p03502 | u745561510 | 1580495586 | Python | PyPy3 (2.4.0) | py | Runtime Error | 208 | 38512 | 163 | N = int(input())
def fx(N):
ans = 0
while N // 10 != 0:
ans += N % 10
N = N //10
return ans
if N % fx(N) == 0:
print("Yes")
else:
print("No") |
s889797389 | p03502 | u079022116 | 1578348853 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 114 | n=input()
a = []
for i in range(len(n)):
a.append(int(n[i]))
if n % sum(a)== 0:
print('Yes')
else:print('No')
|
s055810216 | p03502 | u677121387 | 1577902018 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 87 | n = int(input())
ans = "Yes" if x%sum(map(int,list(str(n)))) == 0 else "No"
print(ans) |
s688450890 | p03502 | u311669106 | 1577315407 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | n=int(input())
m=n
while n//10>0:
sum+=n%10
n//=10
if n%sum==10:
print("Yes")
else:
print("No") |
s317459462 | p03502 | u311669106 | 1576705656 | Python | Python (3.4.3) | py | Runtime Error | 17 | 3060 | 105 | n=input()
i=len(n)
n=int(n)
m=0
while x>10:
m+=x%10
if n%m==0:
print("Yes")
else:
print("No") |
s606455718 | p03502 | u311669106 | 1576705650 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 104 | n=input()
i=len(n)
n=int(n)
m=0
while x>10:
m+=x%10
if n%m==0
print("Yes")
else:
print("No") |
s167417162 | p03502 | u477343425 | 1576631438 | Python | Python (3.4.3) | py | Runtime Error | 20 | 2940 | 110 | s = input()
sum_of_digits = sum(map(int, s))
if int(s) % sum_of_digts == 0:
print('Yes')
else:
print('No') |
s077793546 | p03502 | u477343425 | 1576631268 | Python | Python (3.4.3) | py | Runtime Error | 17 | 2940 | 111 | s = input()
sum_of_digits = sum(map(int, s))
if (int)s % sum_of_digits == 0:
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.