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
s262894774
p03501
u883792993
1532129869
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
N,A,B=list(map(int,input().split())) print(min(A*T, B))
s945099892
p03501
u883792993
1532129790
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
N,A,B=list(map(int,inout().split())) print(min(A*T, B))
s294856231
p03501
u446687234
1531786223
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
n,a,b = split(input()) print (min(n*a,b))
s082293264
p03501
u533679935
1529345981
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
a,b,c=map(int,input().split()) print(a+b if a+B<=c else c)
s758056286
p03501
u533679935
1529345955
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
a,b,c=map(int,input.split()) print(a+b if a+B<=c else c)
s539241817
p03501
u964998676
1526590078
Python
Python (3.4.3)
py
Runtime Error
17
2940
176
def cal(num): t = 0 while num > 0: t += (num % 10) num //= 10 return t N = int(input('')) total = cal(N) if N % total == 0: print('Yes') else: print('No')
s019858679
p03501
u964998676
1526589952
Python
Python (3.4.3)
py
Runtime Error
17
2940
175
def cal(num): t = 0 while num > 0: t += (num % 10) num //= 10 return t N = int(input('')) total = cal(N) if N % total == 0: print('Yes') else: print('No')
s013727643
p03501
u480847874
1523385209
Python
Python (3.4.3)
py
Runtime Error
18
3064
608
def ans(): tmp = -9999999999999 N = int(input()) F = [list(map(int, input().split())) for i in range(N)] P = [list(map(int, input().split())) for i in range(N)] def calculate(B): v = [] for n in range(N): mcnt = 0 for k in range(10): if B[k] =...
s456624135
p03501
u257449466
1523057232
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
N, A, B = input().split if int(A) * int(N) > int(B): print(B) else: print(int(A) * int(N))
s560464925
p03501
u040380068
1522956584
Python
Python (2.7.6)
py
Runtime Error
10
2568
151
def smaller(int x, int y): if x < y: return x else: return y inpt = map(int, raw_input()) n = inpt[0] a = inpt[1] b = inpt[2] print smaller(n*a, b)
s411349275
p03501
u192903163
1522633957
Python
Python (3.4.3)
py
Runtime Error
19
2940
73
x,y,z=map(int,input().split()) print(x,y,z) a[0]=z a[1]=x*y print(min(a))
s079066510
p03501
u915214301
1522443916
Python
Python (3.4.3)
py
Runtime Error
17
3064
626
n = int(input()) f = [] for _ in range(n): f.append(list(map(int, input().split()))) p = [] for _ in range(n): p.append(list(map(int, input().split()))) result = -100000000 # opening schedule for my shop. # start from 1(only open Mon.AM) to 1023(open all day) for b in range(1, 1<<10): profit = 0 # c...
s871136177
p03501
u127856129
1521403252
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a,b,c=map(int,input(),split()) d=a*b if d<c: print(d) else: print(c)
s565127332
p03501
u058240079
1520950552
Python
Python (3.4.3)
py
Runtime Error
18
2940
57
n,a,b = map(int, raw_input().split()) print(min(n*a, b))
s720608029
p03501
u573902569
1520411674
Python
Python (3.4.3)
py
Runtime Error
17
2940
62
n, a, b = (int(i) for i in input().split()) print(min(n*a, b)
s973894587
p03501
u403355272
1520020344
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
price = int(input()).split() if price > B: print(B) else: print(N * A)
s833488563
p03501
u403355272
1520020045
Python
Python (3.4.3)
py
Runtime Error
17
2940
98
N = int(input()) A = int(input()) B = int(input()) if price > B: print(B) else: print(N * A)
s170077796
p03501
u916743460
1520019994
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
N = int(input()) A = int(input()) B = int(input()) price =N * A if price > B: print(B) else: print(price)
s684688410
p03501
u403355272
1520019929
Python
Python (3.4.3)
py
Runtime Error
18
2940
111
N = int(input()) A = int(input()) B = int(input()) price = N * A if price > B: print(B) else: print(price)
s703500955
p03501
u403355272
1520019778
Python
Python (3.4.3)
py
Runtime Error
17
2940
111
N = int(input()) A = int(input()) B = int(input()) price = N * A if price > B: print(B) else: print(price)
s118768542
p03501
u403355272
1520019549
Python
Python (3.4.3)
py
Runtime Error
17
2940
110
N = int(input()) A = int(input()) B = int(input()) price =N * A if price > B: print(B) else: print(price)
s172953784
p03501
u559823804
1519746331
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
N,A,B=map(int,input()) print(min(N*A,B))
s534101811
p03501
u559823804
1519746320
Python
Python (3.4.3)
py
Runtime Error
20
3060
41
N,A,B=map(int,input()) print(min(N*A,B))
s391155601
p03501
u030726788
1518897551
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
N,A,B=map(int,input().split()) if ((N*A)>B): print(B) elif: print(N*A)
s103872181
p03501
u227254381
1518150958
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
A, B, C = map(int, raw_input().split()) if A * B < C: print(A*B) else: print(C)
s439187171
p03501
u812028791
1517941509
Python
Python (2.7.6)
py
Runtime Error
10
2568
193
# -*- coding: utf-8 -*- import sys a, b = [int(e) for e in raw_input().split()] ans = 'Even' if (a & 1) and (b & 1): ans = 'Odd' sys.stdout.write('%s\n' % (ans)) sys.stdout.flush()
s512718014
p03501
u417914064
1517929691
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
import sys args = sys.argv Time = int(args[1]) A = int(args[2]) B = int(args[3]) if A*Time < B: print(A*Time) else: print(B)
s163654272
p03501
u417914064
1517929491
Python
Python (3.4.3)
py
Runtime Error
17
2940
103
Time = int(input()) A = int(input()) B = int(input()) if A*Time < B: print(A*Time) else: print(B)
s281055096
p03501
u722670579
1517780884
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
n,a,b=map(int,input().split()) if n*a>b: print(b) else print(a)
s061278487
p03501
u598016178
1515942005
Python
PyPy3 (2.4.0)
py
Runtime Error
179
38768
524
import numpy as np n = int(input()) f = np.zeros((n, 10), dtype=np.int64) p = np.zeros((n, 11), dtype=np.int64) for i in range(n): tmp = list(map(int, input().split())) for j in range(10): f[i][j] = tmp[j] for i in range(n): tmp = list(map(int, input().split())) for j in range(11): p[i][j] = tmp[j] ...
s982574345
p03501
u569906225
1515398042
Python
Python (2.7.6)
py
Runtime Error
11
2568
71
# A - Parking N, A, B = map(int, raw_input().split) print min(N*A, B)
s615605785
p03501
u569906225
1515398031
Python
Python (2.7.6)
py
Runtime Error
10
2568
72
# A - Parking N, A, B = map(int, raw_input().split) print mint(N*A, B)
s040845847
p03501
u010437136
1514325655
Python
Python (3.4.3)
py
Runtime Error
17
3060
255
import sys t = sys.stdin.readline() a = sys.stdin.readline() b = sys.stdin.readline() t1 = t.rstrip() a1 = a.rstrip() b1 = b.rstrip() T = int(t1) A = int(a1) B = int(b1) p1 = A*T if B < p1: print(B) elif B > p1: print(p1) else: print(B)
s948566276
p03501
u010437136
1514325539
Python
Python (3.4.3)
py
Runtime Error
17
3060
254
import sys a = sys.stdin.readline() b = sys.stdin.readline() t = sys.stdin.readline() a1 = a.rstrip() b1 = b.rstrip() t1 = t.rstrip() A = int(a1) B = int(b1) T = int(t1) p1 = A*T if B < p1: print(B) elif B > p1: print(p1) else: print(B)
s024090117
p03501
u401093859
1513651345
Python
Python (3.4.3)
py
Runtime Error
17
3064
1159
# -*- coding: utf-8 -*- n_shop = int(input()) i_schedule = [] i_benefit = [] max_profit = 0 #開店スケジュールを2進数→10進数に変換 for i in range(n_shop): i_schedule.append(int(input().replace(" ",""),2)) for i in range(n_shop): i_benefit.append(list(map(int,input().split()))) max_profit += min(i_benefit[i]) #全パ...
s437351870
p03501
u744021017
1513317672
Python
Python (3.4.3)
py
Runtime Error
17
3064
723
def binarize(txt): xs = txt.split(' ') xs = [int(x) for x in xs] b = 0 for i in range(10): b += xs[i] * (2 ** i) return b def count1(b): b = b[2:] count = 0 for i in range(len(b)): if b[i] == '1': count += 1 return count N = input() N = int(N) F = [0...
s007183763
p03501
u579875569
1513117592
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
A, B, C = list(map(int, input().split())) print(B if A*N < B else A*N)
s672097906
p03501
u401093859
1513104631
Python
Python (3.4.3)
py
Runtime Error
17
3060
237
#標準入力はN,A,Bで与えられる numbers = int(input()).split() for i in range(len(numbers)): numbers[i] = int(numbers[i]) if numbers[0]*numbers[1] <= numbers[2]: print(numbers[0]*numbers[1]) else: print(numbers[2])
s290630732
p03501
u401093859
1513104446
Python
Python (3.4.3)
py
Runtime Error
17
2940
236
#標準入力はN,A,Bで与えられる numbers = raw_input().split() for i in range(len(numbers)): numbers[i] = int(numbers[i]) if numbers[0]*numbers[1] <= numbers[2]: print(numbers[0]*numbers[1]) else: print(numbers[2])
s636736541
p03501
u870092796
1512916961
Python
Python (3.4.3)
py
Runtime Error
17
2940
97
x = input() fxsum = sum(map(int, list(x))) if int(x)%fxsum==0: print("Yes") else: print("No")
s954847691
p03501
u020292898
1512889143
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
N, A, B = map(int, raw_input().split()) print(min(A*N, B))
s921318702
p03501
u323626540
1512873419
Python
Python (3.4.3)
py
Runtime Error
17
3060
375
def calcurate_digit_sum(num): num_str = str(num) digit_sum = 0 for i, digit in enumerate(num_str): digit_sum += int(digit) return digit_sum def check_harshad(num): digit_sum = calcurate_digit_sum(num) if num % digit_sum == 0: return("yes") return("no") if __name__ == "__ma...
s241487865
p03501
u323626540
1512873280
Python
Python (3.4.3)
py
Runtime Error
17
2940
353
def calcurate_digit_sum(num): num_str = str(num) digit_sum = 0 for i in num_str: digit_sum += int(i) return digit_sum def check_harshad(num): digit_sum = calcurate_digit_sum(num) if num % digit_sum == 0: return("yes") return("no") if __name__ == "__main__": N = int(inp...
s450562141
p03501
u776781549
1512852030
Python
Python (3.4.3)
py
Runtime Error
18
2940
85
n = input() if int(n) % sum(list(map(int, n))) == 0: print("Yes") else: print("No")
s826846092
p03501
u776781549
1512851580
Python
Python (3.4.3)
py
Runtime Error
20
2940
57
n, a, b = map(int, input().split()) priunt(min(a * n, b))
s335499898
p03501
u667084803
1512789174
Python
Python (3.4.3)
py
Runtime Error
18
3064
238
N,C=map(int,input().split()) imos=[0]*(10**5+1) for i in range(N): s,t,c=map(int,input().split()) imos[s-1]+=1 imos[t]-=1 channels=[imos[0]]*(10**5+1) for i in range(10**5): channels[i+1]=channels[i]+imos[i+1] print(max(channels))
s673736448
p03501
u123896133
1512749943
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
N = int(input()) A = int(input()) B = int(input()) print (min(N*A,B))
s355863243
p03501
u129354464
1512712523
Python
Python (3.4.3)
py
Runtime Error
17
3060
125
X = int(input()) a = X b = 0 while (a>10): b += (a % 10) + (X / 10) if X % b == 0: print("Yes") else: print("No")
s357008381
p03501
u504715104
1512599777
Python
Python (3.4.3)
py
Runtime Error
17
2940
237
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Oct 18 17:04:29 2017 @author: goto """ moji=map(int, input().split()) t=moji[0]*moji[1] if t<moji[2]: minmoji=t else: minmoji=moji[2] print(minmoji)
s922463348
p03501
u562016607
1512502539
Python
Python (3.4.3)
py
Runtime Error
18
2940
76
st=input().split() N=int(st[0]);A=int(st[1]);B=int(st[2]) print min([N*A,B])
s861416956
p03501
u562016607
1512502445
Python
Python (3.4.3)
py
Runtime Error
18
2940
74
st=input().split() N=int(st[0]);A=int(st[1]);B=int(st[2]) print min(N*A,B)
s570592055
p03501
u562016607
1512502238
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
st=input().split() N=int(st[0]);A=int(st[1]);B=int(st[2]) print("{0}".format(min(A*N,B))
s091951112
p03501
u562016607
1512502197
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
st=input().split() N=int(st[0]);A=int(st[1]);B=int(st[2]); print("{0}".format(min(A*N,B))
s783319567
p03501
u853586331
1512412633
Python
Python (3.4.3)
py
Runtime Error
17
2940
89
N=input() T=0 for i in (N): T+=int(i) if int(N)%T==0: print('Yes') else: print('No')
s414564531
p03501
u209951743
1512358872
Python
Python (3.4.3)
py
Runtime Error
18
2940
171
N = input() S = len(N) f = 0 if int(N)==0: print("No") else: for i in range(S) : f = f + int(N[i]) if int(N)%f==0: print("Yes") else: print("No")
s545833281
p03501
u973055892
1512357636
Python
Python (3.4.3)
py
Runtime Error
17
3064
290
# -*- coding: utf-8 -*- import math N = int(input()) _N = N size = int (math.log10(N) + 1) f = 0 while(size > 0): if(size > 1): f += int(N/(10**(size-1))) N %= 10**(size-1) else: f += N size -= 1 if(_N%f == 0): print('Yes') else: print('No')
s386149903
p03501
u973055892
1512357544
Python
Python (3.4.3)
py
Runtime Error
18
3064
370
# -*- coding: utf-8 -*- import math N = int(input()) _N = N size = int (math.log10(N) + 1) f = 0 while(size > 0): if(size > 1): f += int(N/(10**(size-1))) # print(int(N/(10**(size-1)))) N %= 10**(size-1) else: f += N # print(N) size -= 1 # print(_N, f, _N%f) if(...
s289328586
p03501
u209951743
1512355244
Python
Python (3.4.3)
py
Runtime Error
17
3060
251
N = input() S = len(N) sen = int(N) / 1000 hyaku =( int(N) - sen*1000 ) / 100 zyuu = (int(N) - sen*1000- hyaku*100) / 10 iti = int(N) - sen*1000- hyaku*100- zyuu*10 f = sen + hyaku + zyuu + iti if int(N)%f==0: print("Yes") else: print("No")
s702772779
p03501
u319612498
1512353933
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
N=int(input()) A=int(input()) B=int(input()) v_fee=N*A f_fee=B data=[v_fee, f_fee] dmin=min(data) print(dmin)
s987941794
p03501
u141844407
1512353497
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
import sys n = int(sys.argv[1]) a = int(sys.argv[2]) b = int(sys.argv[3]) print(min(a*n, b))
s404711103
p03501
u234044945
1512353431
Python
Python (3.4.3)
py
Runtime Error
18
2940
121
N, A, B = input() N = int(N) A = int(A) B = int(B) priceA = A * N if priceA <= B: print(priceA) else: print(B)
s221307431
p03501
u141844407
1512353338
Python
Python (3.4.3)
py
Runtime Error
17
2940
92
import sys n = int(sys.argv[1]) a = int(sys.argv[2]) b = int(sys.argv[3]) print(min(a*n, b))
s294323557
p03501
u865646085
1512353327
Python
Python (3.4.3)
py
Runtime Error
18
2940
97
N = int(input()) A = int(input()) B = int(input()) if N*A <B: print(N*A) else: print(B)
s678723203
p03501
u274907892
1512353271
Python
Python (2.7.6)
py
Runtime Error
10
2568
65
N, A, B = map(int, input().split()) print(N*A if N*A < B else B)
s275560937
p03501
u274907892
1512353177
Python
Python (2.7.6)
py
Runtime Error
11
2568
63
N, A, B = map(int, input().split()) print N*A if N*A < B else B
s089994394
p03501
u274907892
1512353131
Python
Python (2.7.6)
py
Runtime Error
11
2568
62
N, A, B = map(raw_input().split()) print N*A if N*A < B else B
s004444271
p03501
u274907892
1512353109
Python
Python (2.7.6)
py
Runtime Error
10
2568
59
N, A, B = map(input().split()) print(N*A if N*A < B else B)
s563595792
p03501
u274907892
1512353069
Python
Python (2.7.6)
py
Runtime Error
10
2568
58
N, A, B = map(input().split()) print N*A if N*A < B else B
s300594084
p03501
u696272993
1512352858
Python
Python (3.4.3)
py
Runtime Error
17
2940
69
a = int(input()) b = int(input()) c = int(input()) print(min(a*b, c))
s746209002
p03502
u889405092
1601274090
Python
Python (3.8.2)
py
Runtime Error
25
9160
78
N=input() a=sum(map(int,str(N))) if N%a==0: print("Yes") else: print("No")
s805691711
p03502
u889405092
1601273906
Python
Python (3.8.2)
py
Runtime Error
31
9108
78
N=input() a=sum(map(int,str(N))) if N%a==0: print("Yes") else: print("No")
s931447216
p03502
u889405092
1601273873
Python
Python (3.8.2)
py
Runtime Error
24
9060
78
N=input() n=sum(map(int,str(N))) if N%n==0: print("Yes") else: print("No")
s086813533
p03502
u889405092
1601273754
Python
Python (3.8.2)
py
Runtime Error
26
9148
74
N=input() n=sum(map(int,N)) if N%n==0: print("Yes") else : print("No")
s684819063
p03502
u899645116
1600996179
Python
Python (3.8.2)
py
Runtime Error
27
9076
89
n = int(inpit()) h = (n - 1)% 9 h += 1 if n % h == 0: print("Yes") else: print("No")
s178975913
p03502
u899645116
1600996100
Python
Python (3.8.2)
py
Runtime Error
31
9092
77
n = int(input()) h = n % 9 if n % h == 0: print("Yes") else: print("No")
s437763194
p03502
u899645116
1600996069
Python
Python (3.8.2)
py
Runtime Error
25
8836
76
n = int(inpit()) h = n % 9 if n % h == 0: print("Yes") else: print("No")
s365456362
p03502
u620846115
1600456506
Python
Python (3.8.2)
py
Runtime Error
22
9164
81
n = input() m = list(n) if int(n) % sum(m)==0: print("Yes") else: print("No")
s290688340
p03502
u620846115
1600456441
Python
Python (3.8.2)
py
Runtime Error
24
9108
88
n = int(input()) m = list(input(n)) if n % sum(m)==0: print("Yes") else: print("No")
s326440580
p03502
u904995051
1599963988
Python
Python (3.8.2)
py
Runtime Error
22
9072
69
#ABC080B n = input() print("Yes" if sum(map(int,n))%n == 0 else "No")
s800744958
p03502
u698868214
1599840950
Python
Python (3.8.2)
py
Runtime Error
28
9128
103
N = input() fn = 0 for i in range(len(N)): fn += int(i) print("Yes" if int(N) % fn == 0 else "No")
s093552586
p03502
u698868214
1599840896
Python
Python (3.8.2)
py
Runtime Error
22
8944
98
N = input() fn = 0 for i in range(len(N)): fn += int(i) print("Yes" if N % fn == 0 else "No")
s991125023
p03502
u034855798
1599682703
Python
PyPy3 (7.3.0)
py
Runtime Error
98
74612
102
n = input() m = list(n) print(m) if int(n) % sum(m) == 0: print('Yes') else: print('No')
s350278063
p03502
u546853743
1599404968
Python
Python (3.8.2)
py
Runtime Error
22
9040
110
n=input() f=0 for i in range(len(n)): f += n[i] if int(n) % f == 0: print('Yes') else: print('No')
s990600628
p03502
u546853743
1599229578
Python
Python (3.8.2)
py
Runtime Error
22
9176
157
n=int(input()) s=len(n) N='' for i in range(s[:s+1:-1]): a = n % (10**i) N.append(a) al = sum(N) if n%al == 0: print('Yes') else: print('No')
s205353665
p03502
u546853743
1599229257
Python
Python (3.8.2)
py
Runtime Error
27
9176
157
n=int(input()) s=len(n) N='' for i in range(s[:s+1:-1]): a = n % (10**i) N.append(a) al = sum(N) if al%n == 0: print('Yes') else: print('No')
s104201616
p03502
u546853743
1599229237
Python
Python (3.8.2)
py
Runtime Error
30
9024
157
n=int(input()) s=len(n) N='' for i in range(s[:s+1:-1]): a = n % (10**i) N.append(a) al = sum(N) if al%n == 0: print('Yes') else: print('No')
s606609605
p03502
u642012866
1598920830
Python
Python (3.8.2)
py
Runtime Error
24
9068
75
N = input() if N % sum(map(int, N)): print("No") else: print("Yes")
s563682073
p03502
u749802128
1597956689
Python
Python (3.8.2)
py
Runtime Error
26
8916
132
n = str(input()) sum = 0 for i in range(0, len(str(input()))): sum += int(n[i]) if int(n) % sum == 0: print("Yes") else: print("No")
s574521107
p03502
u190866453
1597458355
Python
Python (3.8.2)
py
Runtime Error
19
9164
124
n = input() f = False x = sum(map(int,list(n))) if n % x == 0: f = True if f: print("Yes") else: print("No")
s739530784
p03502
u589969467
1597372734
Python
Python (3.8.2)
py
Runtime Error
25
9164
141
n = int(input()) str_n = str(n) wa = 0 for i in range(len(str_n)): wa += int(str_n[i]) if x%wa==0: print('Yes') else: print('No')
s133628302
p03502
u344030307
1597068092
Python
Python (3.8.2)
py
Runtime Error
24
9060
95
x = input() a = int(x) b = list(x) b = sum(b) if a%b==0: print('Yes') else: print('No')
s154525672
p03502
u875769753
1597020754
Python
Python (3.8.2)
py
Runtime Error
29
9160
105
N = input() Nnum = int(N) Nls = list(N) FN = sum(Nls) if Nnum%FN == 0: print('Yes') else: print('No')
s696880802
p03502
u800058906
1595609187
Python
Python (3.8.2)
py
Runtime Error
27
9172
106
N=input() a=int(N) b=list(N) sum=0 for i in b: sum+=i if a%sum==0: print('Yes') else: print('No')
s064636306
p03502
u800058906
1595609143
Python
Python (3.8.2)
py
Runtime Error
24
9112
105
N=input() a=int(N) b=list(N) sum=0 for i in N: sum+=i if a%sum==0: print('Yes') else: print('No')
s625114427
p03502
u800058906
1595609060
Python
Python (3.8.2)
py
Runtime Error
23
9144
105
N=input() a=int(N) b=list(N) sum=0 for i in N: sum+=i if N%sum==0: print('Yes') else: print('No')
s315448027
p03502
u492910842
1595190229
Python
PyPy3 (7.3.0)
py
Runtime Error
103
74688
104
n=input() a=[] for i in range(len(n)): a.append(int(s[i])) print("Yes" if int(n)%sum(a)==0 else "No")
s060782523
p03502
u492910842
1595190205
Python
PyPy3 (7.3.0)
py
Runtime Error
88
74640
99
n=input() a=[] for i in range(len(n)): a.append(s[i]) print("Yes" if int(n)%sum(a)==0 else "No")
s632352295
p03502
u539123425
1594529610
Python
Python (3.8.2)
py
Runtime Error
28
9164
112
n = int(input()) sum = 0 for i in str(n): sum += int(i) if(N%sum==0): print("Yes") else: print("No")
s418488179
p03502
u539123425
1594529559
Python
Python (3.8.2)
py
Runtime Error
23
9120
112
n = int(input()) sum = 0 for i in str(n): sum += int(i) if(N%sum==0): print("Yes") else: print("No")
s126478005
p03502
u629276590
1594317675
Python
Python (3.8.2)
py
Runtime Error
25
9160
114
n=int(input()) a=0 m=n while n>0: n=n//10 a=a+n%10 if m%a==0: print("Yes") else: print("No")