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
s715198279
p03671
u616188005
1574896690
Python
Python (3.4.3)
py
Runtime Error
17
2940
78
prices = list(map(int,input().split())) price.sort() return(price[0]+price[1])
s144317953
p03671
u895536055
1572231407
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
a, b, c = map(int. input().split()) ans = min(a + b, b + c) ans = min(ans, c + a) print(ans)
s489593370
p03671
u910756197
1571419662
Python
Python (3.4.3)
py
Runtime Error
18
2940
71
a, b, c = map(int, input().split()) print(sum(a, b, c) - max(a, b, c))
s202996296
p03671
u117193815
1571082678
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
a,b,c=map(int, input().split()) print(sum(a,b,c)-max(a,b,c))
s375997969
p03671
u695079172
1570929026
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
a,b,c = map(int,input().split()) print(a+b+c - max(a,b,c))
s454230487
p03671
u368104473
1570060055
Python
Python (3.4.3)
py
Runtime Error
17
2940
118
a,b,c = map(int, input().split()) sum.ab = a + b sum.bc = b + c sum.ac = a + c print(min(sum.ab, min(sum.bc, sum.ac)))
s496904906
p03671
u071916806
1569795403
Python
Python (3.4.3)
py
Runtime Error
17
2940
147
A,B,C=input().split() a=int(A) b=int(B) c=int(c) if a>b: if a>c: x=b+c else: x=a+b else: if b>c: x=a+c else: x=a+b print(x)
s981116085
p03671
u071916806
1569795277
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
A,B,C=input().split() a=int(A) b=int(B) c=int(c) n=max(a,b,c) x=a+b+c-n print(x)
s096839285
p03671
u819710930
1569427433
Python
Python (3.4.3)
py
Runtime Error
18
3064
52
a=list(map(int,input().split()) print(sum(a)-max(a))
s702815292
p03671
u740047492
1569352295
Python
Python (3.4.3)
py
Runtime Error
17
2940
144
a, b, c = map(int, input().split()) ab = a + b bc = b + c ac = a + c if ab > ac, bc: print(ab) elif bc > ab, ac: print(bc) else: print(ac)
s980530172
p03671
u202570162
1569187958
Python
Python (3.4.3)
py
Runtime Error
18
2940
56
a,b,c = map(int,input().split()) print(a+b+c-max(a+b+c))
s548303201
p03671
u580362735
1568133285
Python
Python (3.4.3)
py
Runtime Error
17
2940
59
abc = sorted(list(map(int,input().split()))) print(sum[:2])
s062573110
p03671
u992759582
1567659448
Python
Python (3.4.3)
py
Runtime Error
18
2940
62
a,b,c = list(map(int,input().split())) print(sum(a) - max(a))
s182515049
p03671
u243572357
1566711118
Python
Python (3.4.3)
py
Runtime Error
18
3064
59
lst = list(map(int, input().split())) print(sum(list[::2]))
s044013262
p03671
u717626627
1566590551
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
a = sorted(list[map(int, input().split())]) print(a[0] + a[1])
s931152882
p03671
u256464928
1565841596
Python
Python (3.4.3)
py
Runtime Error
18
2940
86
list = list(map(int,input().split())) print(min(sum(list)-a,sum(list)-b,sum(list)-c))
s423926774
p03671
u256464928
1565841452
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
a,b,c = map(int,input().split()) print(min(sum(a+b),sum(b+c),sum(c+a)))
s351058392
p03671
u499381410
1565475923
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a, b, c = map(int, input()) print(a+b, a+c, b+c)
s287842778
p03671
u160659351
1565320871
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
#66 a, b, c = map(int, input().rstrip(),split()) print(min(a+b, b+c, c+a))
s163414265
p03671
u408620326
1565109656
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
print(sum([int(x) for x in input().split()].sort()[0:1]))
s210045072
p03671
u740767776
1565003455
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
a, b, c = list(map(int,input().split())) print(sum(a,b,c) - max(a,b,c))
s233318527
p03671
u982594421
1564327195
Python
Python (3.4.3)
py
Runtime Error
17
2940
65
a, b, c = int(input().split()) print(sum((a,b,c)) - max(a, b, c))
s388644352
p03671
u982594421
1564327120
Python
Python (3.4.3)
py
Runtime Error
17
2940
64
a, b, c = int(input().split()) print(sum(a,b,c) - max(a, b, c))
s299223268
p03671
u172873334
1562512440
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
a=gets.split.map &:to_i print(a.sum-a.max)
s933390939
p03671
u172111219
1560805111
Python
PyPy3 (2.4.0)
py
Runtime Error
176
38384
215
ls = list(input()) l = len(ls) from collections import Counter for i in range(l): ls.pop(-1) ls.pop(-1) c = Counter(ls) if all(j%2==0 for j in c.values()): print(len(ls)) break
s218138774
p03671
u245870380
1560476914
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
c = map(int, input().split()) print(sum(c)-max(c))
s651631497
p03671
u123824541
1559403729
Python
Python (3.4.3)
py
Runtime Error
17
2940
178
#include <bits/stdc++.h> using namespace std; int main(){ vector<int> H(3); cin >> H[0] >> H[1] >> H[2]; sort(H.begin(),H.end()); cout << H[0] + H[1] << endl; }
s159731527
p03671
u374103100
1558668309
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38384
74
rings = list(map(int, input().split())) print(sum([rings] - max([rings])))
s963441398
p03671
u816919571
1558576614
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
a,b,c = map(int,input().split()) m = min(a,b,c) n = min([a,b,c].remove(m)) print(m+n)
s327589125
p03671
u239301277
1557717947
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
a,b,c=map(int,input()) print(a+b+c-max(a,b,c))
s965781436
p03671
u315485238
1556851180
Python
Python (3.4.3)
py
Runtime Error
18
3192
1189
n = int(input()) A= list(map(int, input().split())) mod = int(1e9+7) def powermod(a, n, mod): r = 1 while n>=1: if n%2: r = r*a%mod a = a*a%mod n = n//2 return r memo={} for i, a in enumerate(A): if a in memo: L = memo[a] C = i - memo[a] -1 R = len(A) - ...
s897609109
p03671
u739721456
1556463955
Python
Python (3.4.3)
py
Runtime Error
18
3060
135
a,b,c=map(int,input().split()) if a<=b and b<=c: ans=a+b elif a<=b and c<=b: ans=a+c elif b<=a and c<=b: ans=b+c print(ans)
s858715677
p03671
u723180465
1556123620
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
a = gets.split.map(&:to_i).sort! puts a[0] + a[1]
s681910407
p03671
u331464808
1555444782
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
a= map(int,input().split()) l=a.sort() print(l[0]+l[1])
s024884986
p03671
u331464808
1555444713
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a= map(int,input().split()) l=sort(a) print(l[0]+l[1])
s162871576
p03671
u121732701
1554530354
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
list1 = list(map(int, input().split())) list1.sort() print(list[0]+list[1])
s935475847
p03671
u565204025
1554248234
Python
Python (3.4.3)
py
Runtime Error
18
3064
411
n = int(input()) a = list(map(int,input().split())) b = ["A" for i in range(1000001)] for i in range(n): if i % 2 != 0: b.append(a[i]) else: b[1000000-i] = a[i] while b[0] == "A" : del b[0] while "A" in b: b.remove("A") if n % 2 != 0: pass else: b.reverse() for i in range(l...
s236976687
p03671
u565204025
1554248129
Python
Python (3.4.3)
py
Runtime Error
17
3064
402
# -*- coding: utf-8 -*- n = int(input()) a = list(map(int,input().split())) b = ["A" for i in range(1000001)] for i in range(n): if i % 2 != 0: b.append(a[i]) else: b[1000000-i] = a[i] while "A" in b: b.remove("A") if n % 2 != 0: pass else: b.reverse() for i in range(len(b)): ...
s458311794
p03671
u565204025
1554247411
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38512
369
# -*- coding: utf-8 -*- n = int(input()) a = list(map(int,input().split())) b = [] for i in range(n): if i % 2 != 0: b.append(a[i]) else: c = [0] + b[:] c[0] = a[i] b = c if n % 2 != 0: pass else: b.reverse() for i in range(len(b)): if i == len(b) - 1: pri...
s915099839
p03671
u565204025
1554247326
Python
Python (3.4.3)
py
Runtime Error
18
3060
369
# -*- coding: utf-8 -*- n = int(input()) a = list(map(int,input().split())) b = [] for i in range(n): if i % 2 != 0: b.append(a[i]) else: c = [0] + b[:] c[0] = a[i] b = c if n % 2 != 0: pass else: b.reverse() for i in range(len(b)): if i == len(b) - 1: pri...
s970036369
p03671
u798129018
1554240402
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
l =[map(int,input().split())] print(l[0]+l[1])
s449898122
p03671
u798129018
1554240339
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
l =[map(int,input().split())] print(l[0]+l[1])
s590551635
p03671
u782685137
1554182441
Python
Python (3.4.3)
py
Runtime Error
18
2940
48
*a=map(int,input().split());print(sum(a)-max(a))
s720154300
p03671
u393512980
1553218620
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a,b,c=map(int,input().split()) print(a+b+c-max(a,b.c))
s887522548
p03671
u227082700
1553199083
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a=list(map(inti,input().split()));print(sum(a)-max(a))
s250305089
p03671
u694810977
1552668300
Python
Python (3.4.3)
py
Runtime Error
18
2940
117
a,b,c = map(int,input().split()) min = a+b if min >= a+c: min = a+c elif min >= b+c: min = b+c print(str(min)
s477518016
p03671
u732870425
1552620178
Python
Python (3.4.3)
py
Runtime Error
18
2940
61
abc = [map(int, input().split())] print(sum(abc) - max(abc))
s323238493
p03671
u732870425
1552620050
Python
Python (3.4.3)
py
Runtime Error
18
2940
56
abc = [int(input().split())] print(sum(abc) - max(abc))
s707956106
p03671
u732870425
1552619991
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
abc = [int(input())] print(sum(abc) - max(abc))
s151584645
p03671
u544050502
1552109639
Python
Python (3.4.3)
py
Runtime Error
18
2940
56
*a,=map(int,input().split()) print(sum(a.remove(max(a)))
s867681435
p03671
u544050502
1552109543
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
*a,=map(int,input().split()) print(sum(a.remove(max(a))))
s892766192
p03671
u390901416
1551998935
Python
Python (3.4.3)
py
Runtime Error
19
2940
178
n = int(input()) # a = list(map(int, input().split())) a = [int(i) for i in input().split()] b = [] for i in range(len(a)): b.append(a[i]) b = b[::-1] print(b)
s140467975
p03671
u824237520
1551475325
Python
Python (3.4.3)
py
Runtime Error
18
3064
630
n = int(input()) a = list(input().split()) if n == 1: print(1) print(1) exit() MOD = 10 ** 9 + 7 b = sorted(a) for i in range(n): if b[i] == b[i + 1]: d = b[i] break p = [] for i in range(n): if a[i] == d: p.append(i) w = p[0] + n - p[1] c = [0 for _ in range(n + 2)] ...
s032971726
p03671
u952130512
1550453543
Python
Python (3.4.3)
py
Runtime Error
17
3060
107
a,b,c=input().split() s[0]=int(a)+int(b) s[1]=int(b)+int(c) s[2]=int(c)+int(a) print(min([s[0],s[1],s[2]]))
s049655326
p03671
u952130512
1550453463
Python
Python (3.4.3)
py
Runtime Error
18
3060
105
a,b,c=input().split() s[0]=int(a)+int(b) s[1]=int(b)+int(c) s[2]=int(c)+int(a) print(min(s[0],s[1],s[2]))
s542733712
p03671
u952130512
1550453315
Python
Python (3.4.3)
py
Runtime Error
17
3064
92
a,b,c=input().split() s[0]=int(a)+int(b) s[1]=int(b)+int(c) s[2]=int(c)+int(a) print(min(s))
s277071241
p03671
u518064858
1550271284
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
a,b,c=map(int,nput().split()) print(min(a+b,a+c,b+c))
s282102911
p03671
u186838327
1547163498
Python
Python (3.4.3)
py
Runtime Error
18
2940
62
a, b, c = map(int, input().split()) print(min([a+b, b+c, c+a])
s359099041
p03671
u071061942
1546290011
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
a = list(map(int,input()split()) a.sort() print(a[0] + a[1])
s661142448
p03671
u241231786
1546059200
Python
Python (3.4.3)
py
Runtime Error
18
2940
127
lines = list(str.split()) a = int(lines[0]) b = int(lines[1]) c = int(lines[2]) sum_list = [a+b, a+c, b+c] print(min(sum_list))
s717103965
p03671
u434208140
1544906419
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
s=map(int,input().split()) print(sum(s)-max(s))
s827087740
p03671
u750720560
1544136558
Python
Python (3.4.3)
py
Runtime Error
18
3060
144
a=int(input()) b=int(input()) c=int(input()) if(a>=b)and(a>=c): d=b+c elif(b>=a)and(b>=c): d=a+c elif(c>=b)and(c>=a): d=b+a print(d)
s230800815
p03671
u750720560
1544136393
Python
Python (3.4.3)
py
Runtime Error
18
3060
171
a=int(input()) b=int(input()) c=int(input()) if(a>=b)and(a>=c)and(b>=c): d=b+c elif(b>=a)and(b>=c)and(a>=c): d=a+c elif(c>=b)and(c>=a)and(a>=b): d=b+a print(d)
s852445748
p03671
u750720560
1544136309
Python
Python (3.4.3)
py
Runtime Error
17
3060
172
a=int(input()) b=int(input()) c=int(input()) if(a>=b)and(a>=c)and(b>=c): d=b+c elif(b>=a)and(b>=c)and(a>=c): d=a+c elif(c>=b)and(c>=a)and(a>=b): d=b+a print(d)
s727792114
p03671
u108534906
1544136261
Python
Python (3.4.3)
py
Runtime Error
18
3060
119
a=[0,0,0] a[0]=int(input()) a[1]=int(input()) a[2]=int(input()) b=[a[0]+a[1],a[0]+a[2],a[1]+a[2]] b.sort() print(b[0])
s376643407
p03671
u108534906
1544135416
Python
Python (3.4.3)
py
Runtime Error
18
2940
80
a=[0,0,0] for i in range(3): a[i]=int(input()) a.sort() b=a[0]+a[1] print(b)
s067430755
p03671
u108534906
1544135316
Python
Python (3.4.3)
py
Runtime Error
18
2940
80
a=[0,0,0] for i in range(3): a[i]=int(input()) a.sort() b=a[0]+a[1] print(b)
s019851703
p03671
u108534906
1544134407
Python
Python (3.4.3)
py
Runtime Error
18
3064
264
a=int(input()) b=int(input()) c=int(input()) d=a+b e=a+c f=b+c if(d>e): if(f>e): print(e) else: print(f) elif(e>d): if(d>f): print(f) else: print(d) elif(f>d): if(d>e): print(e) else: print(d)
s050678231
p03671
u240793404
1540998850
Python
Python (3.4.3)
py
Runtime Error
17
2940
76
a = list(map(int,input(),split())) a.sort(reverse = True) print(sum(a[0:2]))
s541538569
p03671
u637824361
1540954408
Python
Python (3.4.3)
py
Runtime Error
17
2940
67
L = [int(i) for i in input().split()] L.sorted() print(L[0] + L[1])
s003241075
p03671
u853900545
1539694621
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
a = sorted(list(map(int,input().split())) print(a[0]+a[1])
s933165185
p03671
u826263061
1537570759
Python
Python (3.4.3)
py
Runtime Error
16
2940
55
a = list(map(int, input())) a.sort() print(sum(a[:-1]))
s663699706
p03671
u333945892
1532995892
Python
Python (3.4.3)
py
Runtime Error
18
2940
43
a,b,c = inpl_int() print(a+b+c-max(a,b,c))
s762569374
p03671
u467736898
1529337607
Python
Python (3.4.3)
py
Runtime Error
18
3064
906
# 拡張ユークリッド互除法 # ax + by = gcd(a,b)の最小整数解を返す def egcd(a, b): if a == 0: return b, 0, 1 else: g, y, x = egcd(b % a, a) return g, x - (b // a) * y, y # mを法とするaの乗法的逆元 def modinv(a, m): g, x, y = egcd(a, m) if g != 1: raise Exception('modular inverse does not exist') els...
s355833983
p03671
u722555249
1529086282
Python
Python (2.7.6)
py
Runtime Error
11
2568
79
a=int(raw_input()) b=int(raw_input()) c=int(raw_input()) print a+b+c-max(a,b,c)
s219934551
p03671
u591295155
1524082984
Python
Python (3.4.3)
py
Runtime Error
18
2940
61
A, B, C = map(int, input().split()) print(min(A+B, B+C, C+D))
s604430656
p03671
u403355272
1522438172
Python
Python (3.4.3)
py
Runtime Error
17
2940
130
S = input() for i in range(len(S) -1,1,-1): if i % 2 != 0: continue if s[:i // 2] == s[i // 2:i]: print(i) break
s184141107
p03671
u043877190
1521248249
Python
Python (3.4.3)
py
Runtime Error
17
3060
169
a,b,c=map(input().split()) A=[a,b,c] if a<=max(A) and b<=max(A): print(a+b) elif b<=max(A) and c<=max(A): print(b+c) elif c<=max(A) and a<=max(A): print(a+c)
s312036396
p03671
u019584841
1518903091
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
l=(int(input().split())) b=sorted(l) print(b[0]+b[1])
s072880842
p03671
u232429509
1516745617
Python
Python (3.4.3)
py
Runtime Error
18
3060
168
a=int(input()) b=int(input()) c=int(input()) ans=[0]*3 ans[0]=a+b ans[1]=b+c ans[2]=a+c min=ans[0] for i in range(2): if(ans[i]<ans[i]): min=ans print(min)
s663466681
p03671
u586577600
1514840801
Python
Python (3.4.3)
py
Runtime Error
17
2940
96
cos = map(int, intput().split()) res = min(cos) cos.remove(min(cos)) res += min(cos) print(res)
s126511758
p03671
u425351967
1506637007
Python
Python (3.4.3)
py
Runtime Error
18
2940
62
l = [int(n) for n in input().split()] print(sum(l.sort()[:2]))
s925694289
p03671
u425351967
1506637001
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
l = [int(n) for n in input().split()] print(sum(l.sort()[:2])
s586431520
p03671
u596276291
1504904904
Python
Python (3.4.3)
py
Runtime Error
20
3316
578
from collections import defaultdict from itertools import product, groupby from math import pi from collections import deque from bisect import bisect, bisect_left, bisect_right INF = 10 ** 10 def main(): n = int(input()) a_list = list(map(int, input().split())) a_list = [1] * (2 * 10 ** 5) ans = [] ...
s284327405
p03671
u612721349
1504893614
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38768
55
a,b,c=map(int,input().split()) print(min(a+b, b+c, c+a)
s342421731
p03671
u762008592
1503409308
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
a,b,c = map(int,input().split()) print(min[a+b,a+c,b+c])
s357096642
p03671
u762008592
1503409125
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
a,b,c = map(int,input().split()) print(min[a+b,a+c,b+c])
s552877435
p03671
u304146411
1500137568
Python
Python (2.7.6)
py
Runtime Error
10
2568
256
n = int(raw_input()) a = map(int,raw_input().split(' ')) b = [] for i in range(n): if i%2 == 0: b.append(a[i]) else: b.insert(0,a[i]) if n%2 != 0: b.reverse() s = str(b[0]) for i in range(n-1): s += ' ' + str(b[i+1]) print s
s379436140
p03671
u080990738
1500133357
Python
Python (3.4.3)
py
Runtime Error
17
2940
182
a, b, c = map(int, raw_input().split()) sum1=a+b sum2=b+c sum3=a+c if min(sum1,sum2,sum3)==sum1: print sum1 elif min(sum1,sum2,sum3)==sum2: print sum2 else: print sum3
s186372622
p03671
u143221266
1500000551
Python
Python (2.7.6)
py
Runtime Error
10
2696
572
import re n = int(raw_input()) a = map(int, re.split("\s", raw_input())) left = 0 right = 0 mask = 10**9 + 7 pow = [0]*n+2 tmp = 1 for i in range(1, n+2): tmp *= i pow[i] = tmp for i in range(0, n + 1): x = a.index(a[i]) if a[i] in a[x+1:]: left = i ri...
s008673976
p03671
u759590494
1499732003
Python
Python (3.4.3)
py
Runtime Error
17
2940
212
a = int(input()) b = int(input()) c = int(input()) s = 0 if a <= b: s = a if b <= c: s += b else: s += c else: s = b if a <= c: s += a else: s += b print(s)
s156559866
p03671
u759590494
1499731910
Python
Python (3.4.3)
py
Runtime Error
17
3060
331
def main(): a = int(input()) b = int(input()) c = int(input()) s = 0 if a <= b: s = a if b <= c: s += b else: s += c else: s = b if a <= c: s += a else: s += b print(s) if __name__ == "__main__":...
s231587109
p03671
u981890679
1499452524
Python
Python (2.7.6)
py
Runtime Error
11
2568
225
# !/usr/bin/env python # -*- coding utf-8 -*- import sys n = input() a = raw_input().split() #a[0], a[1], .., a[n] n = int(n) b = [] for i in range(n): b.append(a[i]) b.reverse() for i in range(n): print b[i],
s877687723
p03671
u653807637
1499403954
Python
Python (3.4.3)
py
Runtime Error
17
3064
351
# encoding:utf-8 n = int(input()) ary = list(map(int, input().split())) if n % 2 == 0: out = [i for i in range(2, n, 2)] out.reverse() out.extend([i for i in range(1, n, 2)]) out = list(map(str, out)) else: out = [i for i in range(1, n, 2)] out.reverse() out.extend([i for i in range(2, n, 2)]) out = list(map(s...
s099503633
p03671
u166538981
1499277876
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
input() a=map(int,input().split()) a.sort() print(a[0]+a[1])
s345073032
p03671
u166538981
1499277838
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a=map(int,input().split()) a.sort() print(a[0]+a[1])
s225356691
p03671
u535555850
1499210923
Python
Python (2.7.6)
py
Runtime Error
10
2568
52
a=input() b=input() c=input() print min(a+b,b+c,c+a)
s383526801
p03671
u965786740
1499201966
Python
Python (3.4.3)
py
Runtime Error
17
3064
585
b=10**9+7 num = [-1]*(n+1) temp=1 temp2=1 for i in range(len(a)): if num[a[i]] != -1: p1,p2=num[a[i]],i num[a[i]]=i for k in range(1,len(a)+1): if k == 1: print(n) elif k == len(a): print(1) else: for l in r...
s836812793
p03671
u166636976
1499132425
Python
Python (3.4.3)
py
Runtime Error
17
3060
234
n = int(input()) s = input().split() s1 = s[::2] s2 = s[1::2] if s2: if len(s) % 2: print(" ".join(s1[::-1]) +" "+ " ".join(s2)) else: print(" ".join(s2[::-1]) +" "+ " ".join(s1)) else: print(" ".join(s1))
s732315142
p03671
u318073603
1499108917
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
a,b,c = map(int,raw_input().split()) print(a+b+c-max(a,b,c))