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
s199041027
p03773
u638745327
1579033659
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
A,B = int(input()).split() print((A+B)%24)
s961631960
p03773
u638745327
1579033515
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
A = int(input()) B = int(input()) print((A+B)%24)
s891531983
p03773
u696444274
1578354883
Python
Python (3.4.3)
py
Runtime Error
18
3188
122
x, y= list(map(int, input().split())) #a,b,c = list(input().split()) if x+y < 24: print(x+y) else: print(x+y-24)
s348565716
p03773
u185037583
1577886957
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
a,b=input().split() sum=a+b print(sum if sum<24 else sum-24)
s175993746
p03773
u148551245
1577869401
Python
Python (3.4.3)
py
Runtime Error
17
2940
1328
fn main() { let a: i32 = read(); let b: i32 = read(); let ans = (a+b) % 24; println!("{}", ans); } // 以下関数 use std::io::*; use std::str::FromStr; pub fn read<T: FromStr>() -> T { let stdin = stdin(); let stdin = stdin.lock(); let token: String = stdin .bytes() .map(|c| c.ex...
s894895509
p03773
u503283842
1576881655
Python
Python (3.4.3)
py
Runtime Error
18
3188
799
def ncr(x,y): ans=1 q=x-y while x>y: ans*=x x=x-1 while q>1: ans=ans/q q=q-1 return ans x=input().split() n=int(x[0]) a=int(x[1]) b=int(x[2]) v=[0]*n x = input().split() ind=0 M={1:0} M2={1:0} for i in x: v[ind]=int(i) if int(i) in M: M[v[ind]]+=1 else: M[v[ind]]=1 ind+=1 v.sort(reverse=True) ...
s642542307
p03773
u112567325
1576869145
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
a,b = list(map(int,input().split())) print(a+b) if 24 > a+b else prin(a+b-24)
s709456386
p03773
u504165508
1576720355
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
a,b=input() a=a+b if a-24>=0: print(a-24) else: print(a)
s084115174
p03773
u007263493
1575119356
Python
Python (3.4.3)
py
Runtime Error
17
2940
93
a,b = map(int,input().split()) if a + b < 24: print(a + b) else: print(a + b -24)
s272778105
p03773
u383828019
1575074199
Python
Python (3.4.3)
py
Runtime Error
17
3060
250
import math n = int(input()) i = int(math.sqrt(n)) prime = False x = 2 while x<=i: if n%x==0: prime = True break x+=1 if prime==True: print(len(str(n))) else: while i<=n: if n%i==0: print(len(str(i))) break i+=1
s859210470
p03773
u383828019
1575071660
Python
Python (3.4.3)
py
Runtime Error
18
3064
409
nm = [int(x) for x in input().split()] n = nm[0] m = nm[1] students = [] checkpoints = [] distances = [] for i in range(n): students.append([int(x) for x in input().split()]) for i in range(m): checkpoints.append([int(x) for x in input().split()]) for i in students: for j in checkpoints: distances.append(a...
s770164691
p03773
u712768978
1575070429
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
print((int(input())+int(input()))%24)
s663868542
p03773
u609814378
1574735564
Python
Python (3.4.3)
py
Runtime Error
17
2940
160
A,B = map(int, input().split()) if A < B: print(A+B) elif A == 0 and B == 0: print(0) elif A != 0 and B==0: print(0) elif A > B: print((A+B-24)
s499984706
p03773
u088974156
1574648597
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
a,b=map(int,input().split()) print(sum(a+b)%24)
s543135288
p03773
u840310460
1573772070
Python
Python (3.4.3)
py
Runtime Error
17
3064
267
N = int(input()) a = [] b = [] for i in range(1, N//2): if N % i ==0: a.append(i) b.append(N/i) aa = list(map(str, a)) bb = list(map(str, b)) ans = [] for i in range(len(aa)): ans.append(max(len(aa[i]), len(bb[i]))) print(min(ans))
s148538729
p03773
u923659712
1573753818
Python
Python (3.4.3)
py
Runtime Error
18
2940
44
a.b=map(int,input().split()) print((a+b)%24)
s773265932
p03773
u923659712
1572906102
Python
Python (3.4.3)
py
Runtime Error
18
3064
301
n,a,b=map(int,input().split()) v=list(map(int,input().split())) v.sort() v.reverse() ave=0 for i in range(a): ave+=v[i] print(ave/a) l=0 for j in range(a,b): if v[a-1]==v[j]: l+=1 p=v.count(v[a-1]) from math import factorial a=factorial(p) / factorial(p-l) / factorial(l) print(a)
s689454153
p03773
u677400065
1571161756
Python
Python (3.4.3)
py
Runtime Error
22
2940
79
a,b = map(int, input(),split()) if a+b > 23: print(24-a+b) else: print(a+b)
s142805859
p03773
u448655578
1570162083
Python
Python (3.4.3)
py
Runtime Error
17
2940
50
A,B = map(int, input().split()) print(sum(A,B)%24)
s366042805
p03773
u223904637
1569544597
Python
Python (3.4.3)
py
Runtime Error
18
2940
71
a,b=map(int,input()) if a+b>=24: print(a+b-24) else: print(a+b)
s403159489
p03773
u089376182
1569539154
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
print((int(input())+int(input()))%24)
s990017903
p03773
u661980786
1569116458
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
a,b = map(int,input()) print((a+b)//24)
s270739387
p03773
u871841829
1569038376
Python
Python (3.4.3)
py
Runtime Error
17
2940
6
A B
s853510837
p03773
u297801580
1568440494
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38512
40
A,B=int(input().split()) print((A+B)%24)
s693015024
p03773
u297801580
1568440423
Python
PyPy3 (2.4.0)
py
Runtime Error
166
38512
32
A,B=int(input()) print((A+B)%24)
s708974857
p03773
u597455618
1568260605
Python
Python (3.4.3)
py
Runtime Error
18
3060
149
n = int(input()) ans = len(str(n)) for i in range(1, int(n**(1/2))+1): if n%i == 0: ans = min(ans, max(len(str(i)), len(str(n//i)))) print(ans)
s024511473
p03773
u396391104
1567616339
Python
Python (3.4.3)
py
Runtime Error
18
2940
34
a,b = int(input()) print((a+b)%24)
s644934899
p03773
u518987899
1566534052
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
A,B = map(int, input().strip()) print((A+B)%24)
s058863408
p03773
u703890795
1566459340
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
A B = map(int, input().split()) print((A+B)%24)
s092626980
p03773
u703890795
1566459071
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
A B = map(int, input().split()) print((A+B)%24)
s253515597
p03773
u740047492
1566335798
Python
Python (3.4.3)
py
Runtime Error
17
2940
91
A. B = map(int, input().split()) if A + B >= 24: print((A + B) - 24) else: print(A + B)
s050756683
p03773
u318165580
1566164788
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
a,b=map(int,input().split()) if a+b<24: print(a+b) else: print((a+b)%24)
s977989525
p03773
u729535891
1565824687
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
A, B = map(int, input()) print((A + B) % 24)
s401963861
p03773
u598229387
1565819274
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
a,b = map(int, input()) print((a+b)%24)
s440477396
p03773
u558764629
1565487479
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
A,B = map(int,input()) print((A+B)%24)
s191053638
p03773
u740767776
1565087917
Python
Python (3.4.3)
py
Runtime Error
18
2940
82
A, B = int(input().split()) if A + B > 24: print(A + B -24) else: print(A + B)
s016225519
p03773
u904804404
1564873585
Python
Python (3.4.3)
py
Runtime Error
17
3064
64
print((lambda a,b : (a+b)//24)(list(map(int,input().split())) ))
s220296756
p03773
u333190709
1563572222
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38256
53
A, B = map(int. input().split()) print((A + B) % 24)
s156915836
p03773
u243699903
1562328217
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
a,m=map(int,input().split()) print((a+b)%24)
s014339898
p03773
u296150111
1560874840
Python
Python (3.4.3)
py
Runtime Error
17
2940
71
a,b=mp(int,input().split()) if a+b>24: print(a+b-24) else: print(a+b)
s328315699
p03773
u204236873
1560572362
Python
Python (3.4.3)
py
Runtime Error
151
12408
1413
from sys import stdin import operator as op import numpy import math def combination_table(N): C = [] for i in range(N+1): C.append([0] * (N+1)) for i in range(N+1): for j in range(i+1): if (j==0 or j==i): C[i][j] = 1 else: C[i][j] = C[i-1][j-1]+C[i-1][j] return C if __name__ == "__main__": N, ...
s215895087
p03773
u371409687
1560274671
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
a,b=map(int,input().split()) if a+b < 24: print(a+b) else : print(24-a-b)
s498780135
p03773
u785989355
1559464596
Python
Python (3.4.3)
py
Runtime Error
18
3064
624
N,A,B = list(map(int,input().split())) v = list(map(int,input().split())) v.sort() v=v[::-1] a=v[A-1] is_first = True end=-1 for i in range(N): if v[i]==a: if is_first: first=i is_first=False else: if not is_first: end=i break def comb(n,k)...
s579307270
p03773
u399721252
1559327752
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
print((int(input())+int(input()))%24)
s633691900
p03773
u377036395
1557586311
Python
Python (3.4.3)
py
Runtime Error
17
2940
95
a,b = map(int, input().split()) ans = a + b if ans < 24: print(s) else: print(s - 24)
s841794164
p03773
u377036395
1557585995
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
a,b = int(input().split()) ans = a + b if ans > 24: print(ans - 24) else: print(ans)
s954000881
p03773
u221345507
1556661487
Python
Python (3.4.3)
py
Runtime Error
18
3064
389
N = int(input()) ans = 10**10 #適当に初期化 ans_ = 10**10 divisors = [] for i in range(1, int(N**0.5)+1): if N % i == 0: divisors.append(i) if i != N // i: divisors.append(N//i) if len(str(N//i))<=ans: ans =N//i ans_=i if N ==1: ans...
s241833092
p03773
u102461423
1556567379
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b = map(int,input()) ans = (a+b)%24 print(ans)
s062078094
p03773
u475675023
1556328372
Python
Python (3.4.3)
py
Runtime Error
18
2940
44
a,b=map(int,inpuy().split()) print((a+b)%24)
s083163526
p03773
u475675023
1556328276
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
print((int(input())+int(input()))%24)
s084302163
p03773
u025136560
1554615298
Python
Python (2.7.6)
py
Runtime Error
11
2692
618
def prime_factors(n): i = 2 factors = [] while i * i <= n: if n % i: i += 1 else: n //= i factors.append(i) if n > 1: factors.append(n) return factors N = int(input()) prime_list = prime_factors(N) X = 0 Y = 0 if len(prime_list) <= 2: ...
s300611893
p03773
u121732701
1554506684
Python
Python (3.4.3)
py
Runtime Error
18
2940
86
a, b = map(int, input().split()) if A+B>=24: print(A+B-24) else: print(A+B)
s567528935
p03773
u121732701
1554503591
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
a, b = map(int, input().split()) if A+B=>24: print(A+B-24) else: print(A+B)
s658713241
p03773
u305965165
1553259938
Python
Python (3.4.3)
py
Runtime Error
17
2940
102
a, b = (int(i) for i in input().split()) res = a+b if res > 23 print(res-24) else: print(res)
s516786371
p03773
u074445770
1552438221
Python
Python (3.4.3)
py
Runtime Error
18
3188
82
a,b=map(int,input().split()) if (a+b≧24): print(a+b-24) else: print(a+b)
s151398230
p03773
u074445770
1552438134
Python
Python (3.4.3)
py
Runtime Error
18
2940
80
a,b=map(int,input().split()) if a+b≧24: print(a+b-24) else: print(a+b)
s967881312
p03773
u367130284
1551803397
Python
PyPy3 (2.4.0)
py
Runtime Error
177
38256
144
import math n=int(input()) l=[] for i in range(1,int(math.sqrt(n))+2): if n%i==0: l+=[max(len(str(i)),len(str(n//i)))] print(min(l))
s102182054
p03773
u166696759
1550809072
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a, b = map(int, input().split()) print((a+b) % 24 )
s299756443
p03773
u367130284
1550384256
Python
Python (3.4.3)
py
Runtime Error
18
2940
47
a,b=map(int,input().split());print(sum(a,b)%24)
s965575387
p03773
u518064858
1550269106
Python
Python (3.4.3)
py
Runtime Error
18
2940
80
a,b=map(int,input().split()) if a+b>=24: print(a+b-24): else: print(a+b)
s542901035
p03773
u960513073
1549600977
Python
Python (3.4.3)
py
Runtime Error
18
2940
53
a,b = list(map(int, input().split())) print(mod(a+b))
s717091651
p03773
u371467115
1544860322
Python
Python (3.4.3)
py
Runtime Error
18
2940
45
A,B=map(int,input().split()) print(eval(A+B))
s771591424
p03773
u828847847
1542996387
Python
Python (2.7.6)
py
Runtime Error
10
2568
2099
#include "bits/stdc++.h" using namespace std; /* macro */ #define rep(i,a,b) for(int i=a;i<b;i++) #define revrep(i,a,b) for(int i = a; i > b; i--) #define int long long #define exist(s,e) ((s).find(e)!=(s).end()) #define all(v) (v).begin(), (v).end() #define each(s,itr) for(auto (itr) = s.begin(); (itr) != s.end(); (...
s644090292
p03773
u131405882
1541586780
Python
Python (3.4.3)
py
Runtime Error
17
3060
255
import math N=int(input()) if N==1: print(1) else: nmax = math.ceil(math.sqrt(N)) Bdigimin = 10 for i in range(nmax): if N % (i+1) == 0: Bdigi = math.floor(math.log10(N/(i+1))) if Bdigimin > Bdigi: Bdigimin = Bdigi print(int(Bdigimin+1))
s267065796
p03773
u131405882
1541583290
Python
Python (3.4.3)
py
Runtime Error
19
3316
217
import math N=int(input()) nmax = math.floor(math.sqrt(N)) Bdigimin = 10 for i in range(1,nmax): if N % i == 0: Bdigi = math.floor(math.log10(N/i)) if Bdigimin > Bdigi: Bdigimin = Bdigi print(int(Bdigimin+1))
s010092095
p03773
u131405882
1541583219
Python
Python (3.4.3)
py
Runtime Error
20
3316
217
import math N=int(input()) nmax = math.floor(math.sqrt(N)) Bdigimin = 10 for i in range(1,nmax): if N % i == 0: Bdigi = math.floor(math.log10(N/i)) if Bdigimin > Bdigi: Bdigimin = Bdigi print(int(Bdigimin+1))
s868894673
p03773
u131405882
1541583110
Python
Python (3.4.3)
py
Runtime Error
17
2940
217
import math N=int(input()) nmax = math.floor(math.sqrt(N)) Bdigimin = 10 for i in range(1,nmax): if N % i == 0: Bdigi = math.floor(math.log10(N/i)) if Bdigimin > Bdigi: Bdigimin = Bdigi print(int(Bdigimin+1))
s493259176
p03773
u131405882
1541582940
Python
Python (3.4.3)
py
Runtime Error
17
2940
217
import math N=int(input()) nmax = math.floor(math.sqrt(N)) Bdigimin = 10 for i in range(1,nmax): if N % i == 0: Bdigi = math.floor(math.log10(N/i)) if Bdigimin > Bdigi: Bdigimin = Bdigi print(int(Bdigimin+1))
s968909513
p03773
u131405882
1541582508
Python
Python (3.4.3)
py
Runtime Error
17
2940
216
import math N=int(input()) nmax = math.floor(math.sqrt(N)) Bdigimax = 1 for i in range(1,nmax): if N % i == 0: Bdigi = math.floor(math.log10(N/i)) if Bdigimax < Bdigi: Bdigimax = Bdigi print(int(Bdigimax))
s281181905
p03773
u330039499
1541131300
Python
Python (2.7.6)
py
Runtime Error
11
2692
55
A, B = map(int, raw_input().split() print (A + B) % 24
s669413917
p03773
u330039499
1541131270
Python
Python (2.7.6)
py
Runtime Error
10
2568
55
A, B = map(int, raw_input().split() print (A + B) % 23
s632941258
p03773
u030879708
1540782185
Python
Python (3.4.3)
py
Runtime Error
17
3064
380
import math N,A,B=map(int,input().split()) v=list(map(int,input().split())) a=v.sort()[-A:] print(sum(a)/A) b=v.count(a[0]) c=a.count(a[0]) if c!=A: print(math.factorial(b)//(math.factorial(c)*math.factorial(b-c))) else: l=[] i=min([b-c,B-A]) for k in range(0,i+1): l.append(math.factorial(b)//(m...
s022608508
p03773
u853900545
1539880144
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
a,b = map(int,input().splilt()) print((a+b)//24)
s962089630
p03773
u484856305
1538849423
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
a,b=map(int,input().split()) print(a+b%24)
s114676396
p03773
u427344224
1538246144
Python
Python (3.4.3)
py
Runtime Error
17
3064
487
N, M = map(int, input().split()) ab_list = [] cd_list = [] for i in range(N): ab = list(map(int, input().split())) ab_list.append(ab) for i in range(M): cd = list(map(int, input().split())) cd_list.append(cd) for a, b in ab_list: num = -1 min_num = 10 ** 10 + 1 count = 0 for c, d in ...
s171598619
p03773
u138486156
1537969761
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
a, b = map(int, input()) print((a+b)%24)
s007009987
p03773
u484460274
1537842305
Python
Python (3.4.3)
py
Runtime Error
17
3064
414
#include <iostream> #include <math.h> #include <vector> #include <map> #include <stack> #include <queue> #include <set> #include <algorithm> #include <iomanip> #include <string.h> #define FOR(i,a,b) for(int i=(a);i<(b);++i) #define REP(i,n) FOR(i,0,n) #define ALL(a) (a).begin(),(a).end() typedef long long lint; us...
s638497479
p03773
u394482932
1535992438
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
print(eval(int,input().replace(" ","+"))%24)
s136980316
p03773
u005260772
1534975797
Python
Python (2.7.6)
py
Runtime Error
10
2568
49
print (int(raw_input()) + int(raw_input())) % 24
s027419867
p03773
u005260772
1534975755
Python
Python (2.7.6)
py
Runtime Error
10
2568
47
print (int(raw_input()) + int(raw_input()) % 24
s566245769
p03773
u366644013
1534340326
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
a, b = map(input().split()) print((a+b)%24)
s029412259
p03773
u214617707
1533390336
Python
Python (3.4.3)
py
Runtime Error
17
2940
54
a, b = map(int, inpput().split()) print((a + b) % 24)
s958746978
p03773
u214617707
1533390304
Python
Python (3.4.3)
py
Runtime Error
18
2940
52
a, b = map(it, inpput().split()) print((a + b) % 24)
s681054597
p03773
u384679440
1532912869
Python
Python (3.4.3)
py
Runtime Error
17
3060
176
import math N = int(input()) ans = len(str(N)) for A in range(1, int(math.sqrt(N)) + 1): if N % A == 0: B = N // A ans = min(ans, max(len(str(A)), len(str(B)))) print(ans)
s849180777
p03773
u415905784
1531706498
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
A, B = map(int, input().split()) return((A + B) % 24)
s974667622
p03773
u986269893
1530212572
Python
Python (3.4.3)
py
Runtime Error
17
2940
85
num=input().split(" ") a=num[0] b=num[1] if a+b>=24: print(a+b-24) else: print(a+b)
s019624125
p03773
u026788530
1528386347
Python
Python (3.4.3)
py
Runtime Error
17
3064
544
import math N = int(input()) n = int(math.sqrt(N))+1 #print(n) def digit(x): if 100<= x <1000: return 3 elif 1000 <= x < 10000: return 4 elif 10000 <= x < 100000: return 5 elif 100000 <= x < 1000000: return 6 elif 1000000 <= x < 10000000: return 7 elif 10...
s381907532
p03773
u857259336
1528367452
Python
Python (3.4.3)
py
Runtime Error
17
2940
738
// header {{{ #include <bits/stdc++.h> using namespace std; // {U}{INT,LONG,LLONG}_{MAX,MIN} #define INF INT_MAX/3 #define LLINF LLONG_MAX/3 #define MOD (1000000007LL) #define MODA(a, b) a=((a)+(b))%MOD #define MODP(a, b) a=((a)*(b))%MOD #define inc(i, l, r) for(int i=(l);i<(r);i++) #define d...
s216268045
p03773
u528388170
1528329076
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
A = int(input()) B = int(input()) print((A+B)%24)
s839715071
p03773
u864565901
1528174445
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
print((int(input())+int(input()))%24)
s090733136
p03773
u409064224
1526500440
Python
Python (3.4.3)
py
Runtime Error
17
2940
80
a = list(map(int,input()split())) b = a[0] + a[1] if b > 24: b -= 24 print(b)
s931080768
p03773
u499259667
1524259464
Python
Python (3.4.3)
py
Runtime Error
17
2940
23
(t if t < 24 else t-24)
s038547428
p03773
u866107333
1522076978
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
a,b = map(int, raw_input().split()) print a+b
s260069438
p03773
u866107333
1522076886
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
S = map(int, raw_input().split()) print S[0] + S[1]
s680444898
p03773
u866107333
1522076786
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
S = map(int,raw_input().split( )) print S[0] + S[1]
s103569127
p03773
u866107333
1522076749
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
S = raw_input().split( ) print S[0] + S[1]
s904812150
p03773
u439176910
1520976300
Python
Python (3.4.3)
py
Runtime Error
18
3064
308
import math N = int(input().rstrip()) def f(a,b): a = str(a) b = str(b) return len(a) if len(a) > len(b) else len(b) n = int(math.sqrt(N)) ans = len(str(N)) for a in range(1,n+1): if N % a == 0: b = N // a res = f(a,b) if res < ans: ans = res print(ans)
s882986235
p03773
u748135969
1518986332
Python
Python (3.4.3)
py
Runtime Error
17
2940
88
a, b = int(map, input().split()) h = a + b if h < 24: print(h) else: print(24 - h)
s979161677
p03773
u019584841
1518907870
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
a,b=map(int,input().split()) if a+b<24: print(a+b) else: print(a+b-24
s700889294
p03773
u854627522
1514245791
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
import sys a, b = sys.stdin.readline().split() print((a+b)%24)