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
s007959977
p03501
u657208344
1582930094
Python
Python (3.4.3)
py
Runtime Error
17
2940
72
a,b,c=map(int,input().split()) if a*b < c: print(a*b) else: pirnt(c)
s719538650
p03501
u139112865
1582784122
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
#080_A n,a,b=map(int,input().split()) print(min(a*t,b))
s788770853
p03501
u863442865
1582557945
Python
Python (3.4.3)
py
Runtime Error
21
3316
311
n = int(input()) F = [int(input().replace(' ',''), 2) for _ in range(n)] P = [list(map(int, input().split())) for _ in range(n)] ans=-10**7*n for sp in range(1, 1033): total = 0 for i in range(n): total += P[i][bin(F[i] & sp).count('1')] if total>ans: ans = total else: ans = ans print(ans)
s253526770
p03501
u995004106
1580411653
Python
PyPy3 (2.4.0)
py
Runtime Error
185
38384
40
N,A,B=map(int,input()) print(min(N*A,B))
s217893898
p03501
u890183245
1580016155
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
N, A, B = map(int, input()split()) if B >= A*N: print(A*N) else: print(B)
s713003700
p03501
u445404615
1579112722
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
n = input() wrk = 0 for i in n: wrk += int(i) if int(n) % wrk == 0: print('Yes') else: print('No')
s018233554
p03501
u506287026
1578944190
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
N, A, B = map(int, input().split()) print(min(N * A), B)
s041242089
p03501
u503228842
1578444196
Python
Python (3.4.3)
py
Runtime Error
17
3064
673
# bit全探索 N = int(input()) F = [list(map(int,input().split())) for _ in range(N)] P = [list(map(int,input().split())) for _ in range(N)] ans = -float('inf') for i in range(2**10): if i == 0: # 全く営業しないパターン continue profit = 0 pattern = [0]*10 for j in range(10): if 1 << j & i: ...
s194143344
p03501
u609061751
1578034297
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
import sys input = sys.stdin.readline N, A, B = [int(x) for x in input().split()] print(min(A * T, B))
s426905672
p03501
u087356957
1578031685
Python
Python (3.4.3)
py
Runtime Error
18
3064
1190
def main(): input_string = list(map(int,input().split())) N = input_string[0] C = input_string[1] data = [] max_time = 0 for i in range(N): data.append(list(map(int,input().split()))) max_num = max(data[i]) if max_num>max_time: max_time=max_num #data_np =...
s368348990
p03501
u668352391
1578031364
Python
Python (3.4.3)
py
Runtime Error
17
2940
86
n, a, b = map(lambda x: x, input().split()) if n*a < b: print(n*a) else: print(b)
s134171382
p03501
u087356957
1578030600
Python
Python (3.4.3)
py
Runtime Error
295
18876
881
import numpy as np def main(): input_string = list(map(int,input().split())) N = input_string[0] C = input_string[1] data = [] for i in range(N): data.append(list(map(int,input().split()))) data_np = np.array(data).reshape(N,3) max_time = max(data_np[:,1]) schedule = np.zeros(...
s890976404
p03501
u087356957
1577996014
Python
Python (3.4.3)
py
Runtime Error
17
2940
206
def main(): input_string = list(map(int,input().split())) N = input_string[0] A = input_string[1] B = input_string[2] price1 = A*T price2 = B print(min(price1,price2)) main()
s329674291
p03501
u994521204
1576534155
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
n,a,b=map(int,input()) print(max(a*n,b))
s463991324
p03501
u130900604
1576003505
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
n,a,t=map(int,input().split()) print(min(a*n,b))
s737106344
p03501
u130900604
1576003483
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
n,a,t=map(int,input().split()) print(min(a*t,b))
s106937984
p03501
u616188005
1575313374
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
n,a,b = map(int,input().split()) print(min[a*n,b])
s298722708
p03501
u038815010
1575235825
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38516
173
N,C=map(int,input().split()) f=[[0]*int(1e5) for _ in range(C)] for i in range(N): s,t,c=map(int,input().split()) f[c-1][s-1:t]=[1]*(t-s+1) print(max(map(sum,zip(*f))))
s449284073
p03501
u609814378
1574609733
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
N,A,B = map(int, input().split()) NxA = (N*A) if NxA =< B: print(NxA) else: print(B)
s517176903
p03501
u609814378
1574609703
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
N,A,B = map(int, input().split()) NxA = (N*B) if NxA =< B: print(NxA) else: print(B)
s117928854
p03501
u353797797
1574522955
Python
Python (3.4.3)
py
Runtime Error
17
2940
185
import sys sys.setrecursionlimit(10 ** 6) int1 = lambda x: int(x) - 1 p2D = lambda x: print(*x, sep="\n") def main(): n,a,b=map(int, input().split()) print(min(a*t,b)) main()
s621606159
p03501
u673361376
1572995616
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38384
584
N,C = map(int,input().split()) STC = [] for _ in range(N): s,t,c = map(int,input().split()) STC.append([s,t,c]) STC.sort() rs = [[STC[0][1],STC[0][2]]] for i in range(1,N): len_rs = len(rs) min_idx = None for j in range(len_rs): if rs[j][1] != STC[i][2]: tmp_stc_r = STC[i][0] - 0.5 else: tmp_stc_r...
s168998633
p03501
u727787724
1572711244
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a,b,c=map(int,input().split()) print(min(a*b,c)
s875694032
p03501
u402467563
1572532233
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
N, A, B = map(int(input().split())) if A*N > B: print(B) else: print(A*N)
s160486365
p03501
u348868667
1572022557
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
N,A,B = map(int,input().split()) print(min([A*T,B]))
s239720483
p03501
u671650998
1570425071
Python
Python (3.4.3)
py
Runtime Error
17
2940
75
n = input() print('Yes') if int(n) % sum(map(int, n)) == 0 else print('No')
s716583621
p03501
u488127128
1568556930
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
n,a,b = map(int, input().split()) print(min(a*t,b))
s486006038
p03501
u580362735
1568138092
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
N,A,B = map(int,input().split()) print(min(A*T,B))
s605179246
p03501
u835482198
1567045585
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
n, a, b = map(int, input()) print(min(b, a * n))
s111144728
p03501
u619819312
1566713731
Python
Python (3.4.3)
py
Runtime Error
18
3064
411
from heapq import * from itertools import accumulate as ac n,c=map(int,input().split()) a=sorted([list(map(int,input().split()))for i in range(n)]) b=[[]for i in range(c+1)] for i,j,h in a: if len(b[h])>0: if b[h][-1][1]==i: b[h][-1][1]=j else: b[h].append([i,j]) s=[0]*(2*10**5+2) fo...
s452558484
p03501
u263830634
1565923930
Python
Python (3.4.3)
py
Runtime Error
17
3064
656
import sys input = sys.stdin.readline N, C = map(int, input().split()) # 入力 lst = [[0] * (10 ** 5 + 10) for _ in range(C + 1)] for _ in range(N): s, t, c = map(int, input().split()) lst[c][s] += 1 lst[c][t + 1] -= 1 #番組ごとに毎分必要かどうかを判断する for i in range(1, C + 1): for j in range(1, 10 ** 5 + 10): #いもす法...
s984867287
p03501
u558059388
1565383330
Python
Python (3.4.3)
py
Runtime Error
17
2940
36
t,a,b=int(input()) print(min(t*a,b))
s306215747
p03501
u160659351
1565318250
Python
Python (3.4.3)
py
Runtime Error
18
2940
67
#80 N, A, B = map(int, input().rstrip().split()) print(min(N*A, B)
s942342378
p03501
u136811344
1564737866
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
N,A,B=map(int, input().split()) print(min(N*A, B)
s716009298
p03501
u333190709
1562781181
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
n, a, b = map(int, inpit().split()) print(min(n * a, b))
s413934697
p03501
u314050667
1561406448
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
n,a,b = map(int, input().split()) print(min([a*n,b])
s311897015
p03501
u016622494
1560544461
Python
Python (3.4.3)
py
Runtime Error
17
3064
79
N,A,B=map(int,input().sqlit()) if N * A > B : print(N*A) else: print(B)
s309020922
p03501
u296150111
1560389370
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
n,a,b=map(int,input().split()) print(min(a*t,b))
s727113689
p03501
u193598069
1560385855
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
N, A, B = map(int, input.split()) ans = min(N*A, B) print (ans)
s939812505
p03501
u177756077
1560382503
Python
Python (3.4.3)
py
Runtime Error
17
3064
389
N=int(input()) F=[] P=[] for _ in range(N): F.append(list(map(int,input().split()))) for _ in range(N): P.append(list(map(int,input().split()))) m=2**10 gain=-10**10 for i in range(1,2**10): x=list(map(int,format(i,'b').zfill(10))) sumP=0 for j in range(N): total=sum([a*b for a,b in zip(x,F...
s756393922
p03501
u663014688
1560094230
Python
Python (3.4.3)
py
Runtime Error
17
3060
195
N = int(input()) N_str = str(N) N_keta = [] N_sum = 0 for i in range(len(N_str)): N_keta.append(int(N_str[i])) N_sum = sum(N_keta) if N % N_sum == 0: print('Yes') else: print('No')
s396582544
p03501
u663014688
1560093271
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
N = int(input()) N_str = str(N) N_keta = N_str[0] + N_str[1] N_keta = int(N_keta) if N_keta % N == 0: print('Yes') else: print('No')
s606645475
p03501
u380914158
1559801978
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38512
80
N,A,B = map(int,input().split()) if(A*T > B): print(B) else: print(A*T)
s256239112
p03501
u895515293
1559706581
Python
Python (3.4.3)
py
Runtime Error
18
3064
525
import heapq N,C=map(int, input().split()) inl = [tuple(map(int, input().split())) for i in range(N)] inl.sort(reverse=True) heap = [] res = 0 for i in range(1, 10001): nex = set([]) rem = set([]) con = 0 while inl and inl[-1][0] == i: s,t,c = inl.pop() nex.add((s,c)) heap...
s501566298
p03501
u777394984
1558918074
Python
Python (3.4.3)
py
Runtime Error
19
2940
50
n,a,b = map(int,inpot().split()) print(min(n*a,b))
s404797581
p03501
u266874640
1558808815
Python
Python (3.4.3)
py
Runtime Error
17
2940
112
N = input() sum = 0 for i in N: sum += int(i) if int(N) % sum == 0: print("Yes") else: print("No")
s950106752
p03501
u497596438
1558755936
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38256
119
#include<bits/stdc++.h> using namespace std; int main(){ int N,A,B; cin >> N>>A>>B; cout << min(A*N,B)<<endl; }
s517890526
p03501
u864453204
1558036358
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
l = list(map(int, input())) p1 = l[0] * l[1] p2 = l[2] print(min(p1, p2))
s257772422
p03501
u532966492
1557121492
Python
Python (3.4.3)
py
Runtime Error
18
2940
57
N,A,B = list(map(int,input().split())) print(min([N*A,B])
s416091717
p03501
u059210959
1556173976
Python
Python (3.4.3)
py
Runtime Error
18
3064
836
N,C = map(int,input().split()) tv_times = [[int(j) for j in input().split()] for i in range(N)] channells = {} for i in range(C+1): channells[i] = [] max_end = -1 for i in range(N): s,g,c = tv_times[i] max_end = max(max_end,g) channells[c] += [s,g] tv_times = [] f = [0 for i in range(max_end+1)] for ...
s340985139
p03501
u794603719
1556156260
Python
Python (3.4.3)
py
Runtime Error
18
2940
47
a,b,c=map(int,list(input())) print(min(a*b,c))
s005302993
p03501
u980492406
1555434294
Python
Python (3.4.3)
py
Runtime Error
18
2940
49
n,a,b = map(int,input()split()) print(min(n*a,b))
s422569498
p03501
u427344224
1555004993
Python
PyPy3 (2.4.0)
py
Runtime Error
181
38256
495
N, C = map(int, input().split()) items = [] for i in range(N): items.append(tuple(map(int, input().split()))) times = [0] * 2 * (10 ** 5 + 1) channel = [[0] * 2 * (10 ** 5 + 1) for _ in range(C)] for i in range(N): s, t, c = items[i] c -= 1 channel[c][2 * s - 1] += 1 channel[c][2 * t] -= 1 for c i...
s519931722
p03501
u285443936
1554777663
Python
Python (3.4.3)
py
Runtime Error
17
3064
328
n = int(input()) bits = [] for i in range(n): bit = int(input().replace(" ", ""), 2) bits.append(bit) p = [[int(item) for item in input().split()] for _ in range(n)] ans = - 10**9 for i in range(1,2**10): val = 0 for j,mise in enumerate(p): val += mise[bin(i & bits[j]).count("1")] ans = max(ans, val) pr...
s648209730
p03501
u285443936
1554777615
Python
Python (3.4.3)
py
Runtime Error
17
3064
356
n = int(input()) bits = [] for i in range(n): bit = int(input().replace(" ", ""), 2) bits.append(bit) p = [[int(item) for item in input().split()] for _ in range(n)] ans = - 10**9 for i in range(1,2**10): val = 0 for j,mise in enumerate(p): val += mise[bin(i & bits[j]).count("1")] print(bin(i & bits[j...
s505803554
p03501
u285443936
1554777554
Python
Python (3.4.3)
py
Runtime Error
17
3064
356
n = int(input()) bits = [] for i in range(n): bit = int(input().replace(" ", ""), 2) bits.append(bit) p = [[int(item) for item in input().split()] for _ in range(n)] ans = - 10**9 for i in range(1,2**10): val = 0 for j,mise in enumerate(p): val += mise[bin(i & bits[j]).count("1")] print(bin(i & bits[j...
s255650339
p03501
u107077660
1554687979
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
n,a,b = map(int,input().split()) print(min(n*a,b))
s496478323
p03501
u906428167
1554510652
Python
Python (3.4.3)
py
Runtime Error
18
2940
17
return min(N*A,B)
s659322426
p03501
u001687078
1553955970
Python
Python (3.4.3)
py
Runtime Error
17
2940
136
N = int(input()) temp = N test = 0 while temp > 0: test += temp %10 temp //= 10 if N % test == 0: print('Yes') else: print('No')
s855311366
p03501
u412563426
1553914133
Python
Python (3.4.3)
py
Runtime Error
18
3064
489
import numpy as np n = int(input()) f = np.array([list(map(int, input().split())) for i in range(n)]) p = np.array([list(map(int, input().split())) for i in range(n)]) ans = -99999999 openptn=np.array([[int(s) for s in list('{0:010b}'.format(i))] for i in range(1,2**10)]) for i in range(2**10 - 1): subans = 0 for...
s146909665
p03501
u119345557
1553528274
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
n,a,b=map(int,input().split()) if n*a>b: print(b) else n*a<=b: print(n*a)
s649164391
p03501
u747873993
1553393745
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
N,A,B=int(i) for i in input().split() if A*N<B: print(A*N) else: print(B)
s398028845
p03501
u227082700
1553201901
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
n,a,b=map(int,input().split()),print(min(n*a,b))
s303725512
p03501
u227082700
1553201851
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
print(min(int(input())*int(input()),int(input())))
s555719643
p03501
u143509139
1553121464
Python
Python (3.4.3)
py
Runtime Error
17
3060
44
n,a,b=map(input().split());print(min(n*a,b))
s395349189
p03501
u989326345
1552564473
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
N,A,B=mp(int,input().split()) if N*A<=B: print(N*A) else: print(B)
s090821049
p03501
u989326345
1552529166
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
N,A,B=map(int,input().split()) s=N*A t=B if s>t: print(t) else: prine(s)
s499132853
p03501
u656621547
1552423114
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
N,A,B = map(int,input().split()) print(min(n*a, b))
s274331888
p03501
u994988729
1552176664
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
n,a,b=map(int,input().split()) print(min(n*a,b)
s488596239
p03501
u362560965
1552093251
Python
Python (3.4.3)
py
Runtime Error
18
3064
52
N,A,B = map(int, input().split()) print(min(A*N),B)
s568487288
p03501
u394853232
1551559029
Python
Python (3.4.3)
py
Runtime Error
18
2940
66
a, b, c = map(int, input().split()) res = min(n * a, b) print(res)
s191908237
p03501
u977349332
1551103598
Python
Python (3.4.3)
py
Runtime Error
18
2940
123
X = input() sum = 0 for i in range(len(x)): sum += int(x[i]) if int(x) % sum == 0: print("Yes") else: print("No")
s011277114
p03501
u007550226
1550797598
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
N,A,B = map(int,input().split()) print(min(A*T,B))
s640673813
p03501
u449555432
1550713281
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
a,b,c=map(int,input().split());print(min[a*b,c])
s402231650
p03501
u118211443
1550112680
Python
Python (3.4.3)
py
Runtime Error
19
2940
67
N=(input()) print("Yes"if int(N)%(int(N[0])+int(N[1]))==0 else"No")
s428757120
p03501
u174394352
1549498838
Python
PyPy3 (2.4.0)
py
Runtime Error
175
38256
40
N,A,B=map(int,input()) print(min(N*A,B))
s443228234
p03501
u003018968
1549434063
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
nab = list(int(i) for i in range(input().split())) if nab[0] * nab[1] < nab[2]: print(nab[0] * nab[1]) else: print(nab[2])
s548982395
p03501
u119578112
1544451315
Python
Python (3.4.3)
py
Runtime Error
18
2940
69
s = list(map(int(input()).split())) a = s[0]*s[1] print(min(a,s[2]))
s345265797
p03501
u119578112
1544451286
Python
Python (3.4.3)
py
Runtime Error
18
3064
68
s = list(map(int.input().split())) a = s[0]*s[1] print(min(a,s[2]))
s158877278
p03501
u960513073
1544392014
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
a,b,c = list(map(int, input().split())) print(min(a*b), c)
s135132445
p03501
u928784113
1544303826
Python
Python (3.4.3)
py
Runtime Error
18
2940
101
# -*- coding: utf-8 -*- N,A,B =map(int,input(),split()) if (A * N) > B: print(B) else: print(A*N)
s361345975
p03501
u928784113
1544303799
Python
Python (3.4.3)
py
Runtime Error
18
2940
101
# -*- coding: utf-8 -*- N,A,B =map(int,input(),split()) if (A * N) > B: print(B) else: print(A*N)
s609598742
p03501
u928784113
1544303756
Python
Python (3.4.3)
py
Runtime Error
18
2940
101
# -*- coding: utf-8 -*- N,A,B =map(int,input(),split()) if (A * N) > B: print(B) else: print(A*T)
s730529418
p03501
u563952871
1544203139
Python
Python (3.4.3)
py
Runtime Error
17
2940
90
list = [int(i) for i in input().split()] fee = list[0] * list[1] print(min(fee, list[2])
s618593406
p03501
u748135969
1544045468
Python
Python (3.4.3)
py
Runtime Error
17
2940
70
N, A, B = int(input()) if N * A >= B: print(B) else: print(N * A)
s028798544
p03501
u201234972
1543563075
Python
Python (3.4.3)
py
Runtime Error
18
3064
463
from itertools import accumulate N, C = map( int, input().split()) timetable = [ [0]*(10**5+2) for _ in range(C+1)] for _ in range(N): s, t, c = map( int, input().split()) timetable[c][s-1] += 1 timetable[c][t] -= 1 for c in range(1,C+1): timetable[c] = list( accumulate(timetable[c])) ans = 0 for i in r...
s298302828
p03501
u993642190
1543043710
Python
Python (3.4.3)
py
Runtime Error
19
3192
91
n,a,b = [int(i) for i in input().split()] if (a*n < b) : print(a*n) else : print(b)
s609742387
p03501
u236127431
1542347120
Python
Python (3.4.3)
py
Runtime Error
18
3064
198
N,C=map(int,input().split()) Time=[[0]*(10**5+1) for c in range(C)] for i in range(N): s,t,c=map(int,input().split()) Time[c-1][s-1:t] = [1]*(t-s+1) Times=max(map(sum,zip(*Time))) print(Times)
s513019935
p03501
u143189168
1541078907
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
n,a,b = map(int, input().split()) if a*n >= b: print(b) else: print(
s483429843
p03501
u855985627
1540925094
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
n,a,b=(int(i) for i in input().split(' ')) print(nin(a*n,b))
s603500947
p03501
u897302879
1540865659
Python
Python (3.4.3)
py
Runtime Error
17
3064
58
N, A, B = map(int, input().split()) print(min([A * T, B]))
s536284899
p03501
u328755070
1540337231
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
N, A, B = list(map(int, input().split())) ans = max(A * T, B) print(ans)
s967134684
p03501
u371763408
1540070737
Python
Python (3.4.3)
py
Runtime Error
17
3064
374
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)] ans = -float('inf') for k in range(1,1<<10): tmp = 0 for fs,ps in zip(F,P): cnt = 0 for b in range(10): if (k>>b)&1 and fs[b]: cnt += 1 ...
s839659101
p03501
u601082779
1536029108
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
a,b,c=int(input().split());print(min(a*b,c))
s560262807
p03501
u601082779
1536029075
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
a,b,c=input().split();print(min(a*b,c))
s244681418
p03501
u052347048
1534421125
Python
Python (3.4.3)
py
Runtime Error
19
2940
85
a=input() print("Yes"if int(a)%sum([int(a[i]) for i in range(len(a))])==0 else "No")
s415129077
p03501
u599547273
1534420966
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
s=input();print("No"if int(s)%sum(map(int,s))else"Yes")
s611422710
p03501
u354918239
1533356404
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
N,A,B = map(int,input().split()) print(min(A*T,B))
s861738007
p03501
u690536347
1533053722
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
N,A,B=map(int,input().split()) print(min(N*a,B))
s714784274
p03501
u177398299
1532758943
Python
Python (3.4.3)
py
Runtime Error
17
3060
273
N, C = map(int, input().split()) r = [[0] * C for _ in range(10 * 5)] for _ in range(N): s, t, c = map(int, input().split()) for i in range(s - 1, t): r[i][c - 1] = 1 ans = 0 for t in r: sum_t = sum(t) if sum_t > ans: ans = sum_t print(ans)