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
s040379467
p03834
u252964975
1587301646
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
S=str(input()) print(S[0:5]+' '+S[6:13]+' 'S[14:19])
s264749486
p03834
u531220228
1587122402
Python
PyPy3 (2.4.0)
py
Runtime Error
163
38384
168
K,S = map(int, input().split()) count = 0 for X in range(K+1): for Y in range(K+1): for Z in range(K+1): if X+Y+Z == S: count += 1 print(count)
s230873216
p03834
u869265610
1587072047
Python
Python (3.4.3)
py
Runtime Error
18
2940
38
a,b,c=input().split() print(a,b,c,="")
s018023932
p03834
u354623416
1586998100
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
s1,s2,s3=map(str,input().split(",")) print(S1,S2,S3)
s709701265
p03834
u197457087
1586910232
Python
PyPy3 (2.4.0)
py
Runtime Error
172
38256
149
k, s = map(int, input().split()) ans = 0 for i in range(0,k+1): for j in range(0,k+1): if i+j <= s and s-(i+j) <= k: ans += 1 print(ans)
s994812446
p03834
u652656291
1586828581
Python
Python (3.4.3)
py
Runtime Error
18
2940
39
s = input() s[5]=' ' s[13]=' ' print(s)
s472645505
p03834
u886730634
1586755459
Python
Python (3.4.3)
py
Runtime Error
17
2940
145
K,S=map(int,input().split()) ans=0 for i in range(K+1): for j in range(K+1): if S-i-j<=K and S-i-j>=0: ans+=1 print(ans)
s217711015
p03834
u172780602
1586707306
Python
Python (3.4.3)
py
Runtime Error
17
2940
152
k,s=map(int,input().split()) cnt=0 for i in range(k+1): for j in range(k+1): z=s-i-j if z>=0 and z<=k: cnt+=1 print(cnt)
s809409107
p03834
u021763820
1586551298
Python
Python (3.4.3)
py
Runtime Error
17
2940
206
# -*- coding: utf-8 -*- K, S = map(int, input().split()) cnt = 0 for X in range(0, K+1): for Y in range(0, K+1): if 0<=S-X-Y and S-X-Y<=K: cnt += 1 print(cnt)
s331298092
p03834
u581603131
1586529642
Python
Python (3.4.3)
py
Runtime Error
17
2940
29
print(input().replace(',','')
s662905609
p03834
u581603131
1586529599
Python
Python (3.4.3)
py
Runtime Error
17
2940
24
print(s.replace(',', '')
s872913946
p03834
u266143155
1586410152
Python
Python (3.4.3)
py
Runtime Error
17
2940
137
k, s = map(int, input().split()) ans = 0 for i in range(k+1): for j in range(k+1): if 0 < s- (i + j) < k: ans += 1 print(ans)
s028068413
p03834
u266143155
1586409911
Python
Python (3.4.3)
py
Runtime Error
17
2940
198
k, s = map(int, input().split()) ans = 0 for i in range(k+1): for j in range(k+1): for k in range(k+1): if i + j + k ==s: ans += 1 print(ans)
s353819982
p03834
u855665975
1586301747
Python
Python (3.4.3)
py
Runtime Error
18
2940
173
K, S = map(int, input().split()) count = 0 for X in range(K + 1): for Y in range(K + 1): if S - (X + Y) <= K and S - (X + Y) >= 0: count += 1 print(count)
s474100877
p03834
u458396858
1586293367
Python
Python (3.4.3)
py
Runtime Error
17
2940
168
k = int(input()) s = int(input()) ans = 0 for x in range(k+1): for y in range(k+1): r = s - (x + y) if r >= 0 and r <= k: ans += 1 print(ans)
s422031212
p03834
u745562158
1586234527
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
a, b, c = input().split(,) print(a, b, c)
s158468870
p03834
u535659144
1585933322
Python
Python (3.4.3)
py
Runtime Error
19
3060
199
x = list(map(int,input().split())) count=0 for a in range(0,x[0]+1): for b in range(0,x[0]+1): for c in range(0,x[0]+1): if(a+b+c==x[1]): count+=1 print(count)
s896973747
p03834
u535659144
1585933256
Python
Python (3.4.3)
py
Runtime Error
18
3060
199
x = list(map(int,input().split())) count=0 for a in range(0,x[0]+1): for b in range(0,x[0]+1): for c in range(0,x[0]+1): if(a+b+c==x[1]): count+=1 print(count)
s147315631
p03834
u535659144
1585933146
Python
Python (3.4.3)
py
Runtime Error
17
3060
199
x = list(map(int,input().split())) count=0 for a in range(0,x[1]+1): for b in range(0,x[0]+1): for c in range(0,x[0]+1): if(a+b+c==x[1]): count+=1 print(count)
s301068413
p03834
u535659144
1585933111
Python
PyPy3 (2.4.0)
py
Runtime Error
184
38256
199
x = list(map(int,input().split())) count=0 for a in range(0,x[1]+1): for b in range(0,x[0]+1): for c in range(0,x[0]+1): if(a+b+c==x[1]): count+=1 print(count)
s530241253
p03834
u535659144
1585933085
Python
PyPy3 (2.4.0)
py
Runtime Error
171
38384
197
x = list(map(int,input().split())) count=0 for a in range(0,x[1]): for b in range(0,x[0]+1): for c in range(0,x[0]+1): if(a+b+c==x[1]): count+=1 print(count)
s242178127
p03834
u453815934
1585430626
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
a,b,c = input()split(',') print(a,b,c)
s462344304
p03834
u453815934
1585430553
Python
Python (3.4.3)
py
Runtime Error
18
2940
37
a,b,c = input().split(,) print(a,b,c)
s380764330
p03834
u440129511
1585281474
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
s1,s2,s3=list(map(str,input().split(,))) print(s1 , s2 , s3)
s657369419
p03834
u440129511
1585281439
Python
Python (3.4.3)
py
Runtime Error
17
2940
66
s1,s2,s3=list(map(str,input().split(,))) print(s1 +''+ s2 +''+ s3)
s839897393
p03834
u440129511
1585281035
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
s1,s2,s3=list(map(str,input().split())) print(s1[:5] +''+ s2[:7] +''+ s3[:5])
s912415132
p03834
u731665172
1585000376
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
a,b,c=input().sprit(',') print(a,b,c)
s791023010
p03834
u731665172
1585000281
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
a,b,c=input().sprit(",") print(a,b,c)
s117250102
p03834
u780962115
1584826784
Python
Python (3.4.3)
py
Runtime Error
18
3064
955
# cadidates of no shortest paths n, m = map(int, input().split()) d = [[float("inf") for i in range(n + 1)] for i in range(n + 1)] edge_data=[] connect={i:[] for i in range(1,n+1)} for i in range(m): x, y, z = map(int, input().split()) # 有向グラフか無向グラフかによってここで場合わけが生じる d[x][y] = z d[y][x] = z connect[x].append(y) connect[y].append(x) edge_data.append((x,y,z)) for i in range(n + 1): d[i][i] = 0 # 自身のところに行くコストは0 def warshall_floyd(d): # d[i][j]=i番目の頂点からj番目の頂点までの最短距離 for k in range(1, n + 1): for i in range(1, n + 1): for j in range(1, n + 1): d[i][j] = min(d[i][j], d[i][k] + d[k][j]) return d warshall_floyd(d) #最短距離を求めた cnt=0 for some in edge_data: x,y,z=some[0],some[1],some[2] if d[x][y]<z: cnt+=1 print(cnt)
s542799833
p03834
u780962115
1584826707
Python
Python (3.4.3)
py
Runtime Error
17
3064
954
# cadidates of no shortest paths n, m = map(int, input().split()) d = [[float("inf") for i in range(n + 1)] for i in range(n + 1)] edge_data=[] connect={i:[] for i in range(1,n+1)} for i in range(m): x, y, z = map(int, input().split()) # 有向グラフか無向グラフかによってここで場合わけが生じる d[x][y] = z d[y][x] = z connect[x].append(y) connect[y].append(x) edge_data.append((x,y,z)) for i in range(n + 1): d[i][i] = 0 # 自身のところに行くコストは0 def warshall_floyd(d): # d[i][j]=i番目の頂点からj番目の頂点までの最短距離 for k in range(1, n + 1): for i in range(1, n + 1): for j in range(1, n + 1): d[i][j] = min(d[i][j], d[i][k] + d[k][j]) return d warshall_floyd(d) #最短距離を求めた cnt=0 for some in edge_data: x,y,zsome[0],some[1],some[2] if d[x][y]<z: cnt+=1 print(cnt)
s648932760
p03834
u634248565
1584503765
Python
Python (3.4.3)
py
Runtime Error
17
2940
48
x, y, z = input().split() print (x+" "+y+" "+z)
s248859891
p03834
u246809151
1584279926
Python
Python (3.4.3)
py
Runtime Error
17
2940
165
K,S=map(int,input().split()) cnt=0 for x in range(K+1): for y in range(K+1): z = S -x-y if 0 <= z and z <= K: cnt += 1 print(cnt)
s229439470
p03834
u857330600
1583793589
Python
Python (3.4.3)
py
Runtime Error
17
2940
57
s=list(str(input())) s[5]=' ' s[13]=' ' print('',join(s))
s171710636
p03834
u547605071
1583688550
Python
Python (3.4.3)
py
Runtime Error
18
3064
1225
import sys def solve(K: int, S: int): cnt = 0 for x in range(K+1): for y in range(K+1): z = S - x - y if z >= 0 and z <= K: cnt += 1 print(cnt) return def main(): def iterate_tokens(): for line in sys.stdin: for word in line.split(): yield word tokens = iterate_tokens() K = int(next(tokens)) # type: int S = int(next(tokens)) # type: int solve(K, S) if __name__ == '__main__': main() #!/usr/bin/env python3 import sys def solve(K: int, S: int): cnt = 0 for x in range(K+1): for y in range(K+1): z = S - x - y if z >= 0 and z <= K: cnt += 1 print(cnt) return # Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this line by using your custom template) def main(): def iterate_tokens(): for line in sys.stdin: for word in line.split(): yield word tokens = iterate_tokens() K = int(next(tokens)) # type: int S = int(next(tokens)) # type: int solve(K, S) if __name__ == '__main__': main()
s029304019
p03834
u278183305
1583634047
Python
Python (3.4.3)
py
Runtime Error
17
3064
381
k,s = map(int, input().split()) count = 0 for i in range(k+1): if s-i > k: rang = k else: rang = s-i for j in range(rang+1): if s-i-j < 0: continue elif s-i-j > k: rangg = k else: rang = s-i-j for h in range(rang+1): if i+j+h == s: count += 1 print(count)
s992585535
p03834
u278183305
1583631990
Python
Python (3.4.3)
py
Runtime Error
17
2940
152
k,s = map(int, input().split()) count = 0 for i in range(k+1): for j in range(k+1): if s - (i+j) <= k: count += 1 print(count)
s560511875
p03834
u137808818
1583469339
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
a,b = map(int,input().split()) print(b,a)
s233092966
p03834
u633450100
1583451425
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
A = input() for i in range(len(A)): if A[i] == ',': A[i] = '' print(A)
s700347524
p03834
u705007443
1583438553
Python
Python (3.4.3)
py
Runtime Error
17
3060
181
sx,sy,tx,ty=map(int,input().split()) dx,dy=tx-sx,ty-sy st1='U'*dy+'R'*dx ts1='D'*dy+'L'*dx st2='L'+'U'*(dy+1)+'R'*(dx+1)+'D' ts2='R'+'D'*(dy+1)+'L'*(dx+1)+'U' print(st1+ts1+st2+ts2)
s222157929
p03834
u453683890
1583420688
Python
Python (3.4.3)
py
Runtime Error
18
2940
56
line = input().split(' ') print(line[0],line[1],line[2])
s317749783
p03834
u857330600
1583262159
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38256
156
k,s=map(int,input().split()) c=0 for i in range(k+1): for j in range(k+1): for l in range(k+1): if i+j+l==s: c+=1 break print(c)
s490207216
p03834
u323045245
1583177183
Python
Python (3.4.3)
py
Runtime Error
17
2940
161
K, S = map(int, input().split()) count = 0 for i in range(K+1): for j in range(K+1): if S - i - j <= K and S - i - j >= 0: count += 1 print(count)
s398796147
p03834
u816631826
1582522893
Python
Python (3.4.3)
py
Runtime Error
17
2940
61
s=str(input("enter a statment)) z=s.replace(","," ") print(z)
s355437790
p03834
u816631826
1582522343
Python
PyPy3 (2.4.0)
py
Runtime Error
173
38384
61
s=str(input("enter a statment)) z=s.replace(","," ") print(z)
s296644080
p03834
u353919145
1582522033
Python
PyPy3 (2.4.0)
py
Runtime Error
162
38640
69
s=str(input("please enter your statment)) s[3]=" " s[13]=" " print(s)
s103414022
p03834
u368796742
1582401864
Python
Python (3.4.3)
py
Runtime Error
17
2940
30
print(input().replace(","," ")
s463467836
p03834
u706433263
1581891748
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
a,b,c=input().split() print(a,b,c)
s615135948
p03834
u419963262
1581776575
Python
Python (3.4.3)
py
Runtime Error
17
3064
1628
X=list(map(int,input().split())) #X軸に並行 if X[2]-X[0]==0: if X[3]-X[1]>0: q=X[3]-X[1] U="U" D="D" else: q=X[1]-X[3] U="U" D="D" print(U*(q+1)+R*2+D*(q+2)+L*2+U+L+U*q+R*2+D*q+L) #Y軸に並行 if X[3]-X[1]==0: if X[2]-X[0]>0: p=X[2]-X[0] R="R" L="L" else: p=X[0]-X[2] R="L" L="R" print(R*(p+1)+U*2+L*(p+2)+D*2+R+D+R*p+U*2+L*p+D) if X[2]-X[0]!=0 and X[3]-X[1]!=0 if X[2]-X[0]>0: p=X[2]-X[0] R="R" L="L" else: p=X[0]-X[2] R="L" L="R" if X[3]-X[1]>0: q=X[3]-X[1] U="U" D="D" else: q=X[1]-X[3] U="D" D="U" print(U*p+R*(q+1)+D*(p+1)+L*(q+1)+U+L+U*(p+1)+R*(q+1)+D*(p+1)+L*q) X=list(map(int,input().split())) #X軸に並行 if X[2]-X[0]==0: if X[3]-X[1]>0: q=X[3]-X[1] U="U" D="D" else: q=X[1]-X[3] U="U" D="D" print(U*(q+1)+R*2+D*(q+2)+L*2+U+L+U*q+R*2+D*q+L) #Y軸に並行 if X[3]-X[1]==0: if X[2]-X[0]>0: p=X[2]-X[0] R="R" L="L" else: p=X[0]-X[2] R="L" L="R" print(R*(p+1)+U*2+L*(p+2)+D*2+R+D+R*p+U*2+L*p+D) if X[2]-X[0]!=0 and X[3]-X[1]!=0: if X[2]-X[0]>0: p=X[2]-X[0] R="R" L="L" else: p=X[0]-X[2] R="L" L="R" if X[3]-X[1]>0: q=X[3]-X[1] U="U" D="D" else: q=X[1]-X[3] U="D" D="U" print(U*p+R*(q+1)+D*(p+1)+L*(q+1)+U+L+U*(p+1)+R*(q+1)+D*(p+1)+L*q)
s255503994
p03834
u816631826
1581770657
Python
Python (3.4.3)
py
Runtime Error
17
2940
92
#adfjklsdjsfljfl;kdjldkjflkdsdfjksfjdklsfjdkjsfdjfsddfsfsdfsdfdfs print(s.replace(',', ' '))
s030054381
p03834
u863442865
1581651177
Python
Python (3.4.3)
py
Runtime Error
17
2940
208
k, s = list(map(int, input().split())) cnt = 0 for i in range(k+1): for j in range(k+1): for k in range(k+1): total = i+j+k if total==s: cnt += 1 print(cnt)
s726186624
p03834
u772649753
1581368425
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
s = map(str,input()) print(s.replace(","," "))
s632726881
p03834
u699522269
1581264957
Python
Python (3.4.3)
py
Runtime Error
17
3064
342
a,sums=list(map(int,input().split())) if a*3==sums: print(1) else: ret=0 mai=2 if sums%3==0 & sums//3<=a else 0 for i in range(a): if sums-i <2*a: for d in range(a): if sums-i-d<a: if sums-i-d == d: ret+=1 else: ret+=2 if sums-i == 2*a: ret+=1 print(ret*3-mai)
s432875580
p03834
u541610817
1581224353
Python
Python (3.4.3)
py
Runtime Error
17
3060
469
k, s = [int(x) for x in input().split()] cnt = 0 for x in range(k + 1): if x > s: continue for y in range(x, k + 1): if y > s: break for z in range(y, k + 1): if z > s: break if x + y + z == s: if x == y == z: cnt += 1 elif x == y or y == z: cnt += 3 else: cnt += 3 print(cnt)
s067940610
p03834
u980909653
1581223917
Python
Python (3.4.3)
py
Runtime Error
17
2940
463
#include <bits/stdc++.h> using namespace std; typedef pair<int,int> P; typedef long long ll; typedef long double ld; const int inf=1e9+7; const ll longinf=1LL<<60; #define REP(i,m,n) for(int i=(int)(m) ; i < (int) (n) ; ++i ) #define rep(i,n) REP(i,0,n) #define F first #define S second const int mx=200010; const ll mod=1e9+7; int main(){ string s; cin >> s; cout << s.substr(0,5) << " " << s.substr(6,7) << " " << s.substr(14,5) << endl; return 0; }
s936782153
p03834
u541610817
1581222874
Python
Python (3.4.3)
py
Runtime Error
17
2940
197
k, s = [int(x) for x in input().split()] cnt = 0 for x in range(k + 1): for y in range(k + 1): for z in range(k + 1): if x + y + z == s: cnt += 1 print(cnt)
s139769871
p03834
u830860323
1581221498
Python
Python (3.4.3)
py
Runtime Error
17
3060
227
input = list(map(int,input().split())) ans_count = 0 for i in range(0, input[0]): for j in range(0, input[0]): for k in range(0, input[0]): if (i + j + k == input[1]): ans_count+=1 print(ans_count)
s955547725
p03834
u504335849
1581107758
Python
Python (3.4.3)
py
Runtime Error
17
2940
186
k,s = map(int,input().strip().split()) count= 0 for x in range(k+1): for y in range(k+1): if s-x-y >= 0 and s-x-y <= k: count += 1 print(count)
s069439518
p03834
u113971909
1580596665
Python
Python (3.4.3)
py
Runtime Error
17
2940
30
print(input().replace(',',' ')
s265411215
p03834
u293459994
1580050354
Python
Python (3.4.3)
py
Runtime Error
17
2940
321
a = input().split() k = int(a[0]) s = int(a[1]) count = 0 for x in range(k + 1): if x > s: break for y in range(k + 1): if x + y > s: break else: if (k + 1) > (s - x - y): # print(x, y, (s - x - y)) count = count + 1 print(count)
s091915070
p03834
u293459994
1580048234
Python
Python (3.4.3)
py
Runtime Error
17
3060
351
a = input().split() k = int(a[0]) s = int(a[1]) count = 0 for x in range(k + 1): for y in range(k + 1): for z in range(k + 1): if x + y + z == s: count = count + 1 elif x + y + z > s: continue if x + y > s: continue if x > s: continue print(count)
s937471534
p03834
u293459994
1580048168
Python
Python (3.4.3)
py
Runtime Error
17
3060
350
a = input().split() k = int(a[0]) s = int(a[1]) count = 0 for x in range(k + 1): if x > s: continue for y in range(k + 1): if x + y > s: continue for z in range(k + 1): if x + y + z == s: count = count + 1 elif x + y + z > s: continue print(count)
s890869433
p03834
u293459994
1580048042
Python
Python (3.4.3)
py
Runtime Error
17
3064
340
a = input().split() k = int(a[0]) s = int(a[1]) count = 0 for x in range(k + 1): if x > s: break for y in range(k + 1): if x + y > s: break for z in range(k + 1): if x + y + z == s: count = count + 1 elif x + y + z > s: break print(count)
s307632841
p03834
u871596687
1579374375
Python
Python (3.4.3)
py
Runtime Error
18
3064
136
s = list(str(input())) print(s[0]+s[1]+s[2]+s[3]+s[4])+" "+s[6]+s[7]+s[8]+s[9]+s[10]+s[11]+s[12]+" "+s[14]+s[15]+s[16]+s[17]+s[18])
s711156678
p03834
u686036872
1578783137
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
a, b, c=input().split() print(a, b, c)
s708260168
p03834
u530786533
1578416234
Python
Python (3.4.3)
py
Runtime Error
17
2940
189
k, s = map(int, input().split()) count = 0 for x in range(0, k+1): for y in range(0, k+1): z = s - (x + y) if (z >= 0 and z <= k): count += 1 print(count)
s965601242
p03834
u506858457
1577986016
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
S=input() print(S,replace(',',' ')
s577802994
p03834
u973744316
1577872996
Python
Python (3.4.3)
py
Runtime Error
17
2940
260
# https://atcoder.jp/contests/abc051/tasks/abc051_b # n n, k, s = map(int, input().split()) # initialize ans = 0 # logic: 全探索: 基本形 for i in range(k + 1): for j in range(k + 1): if 0 <= s - i - j <= k: ans += 1 print(ans)
s995715617
p03834
u608726540
1577805458
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
li=input().spl;it(',') print(li[0]+' '+li[1]+' ' + li[2])
s890493522
p03834
u095562538
1577522180
Python
Python (3.4.3)
py
Runtime Error
17
2940
207
# coding: utf-8 # Your code here! K,S = map(int,input().split()) result =0 for x in range(K+1): for y in range(K+1): z = S - x - y if 0 <= z <= K: result += 1 print(result)
s069315598
p03834
u609061751
1577237613
Python
Python (3.4.3)
py
Runtime Error
17
2940
68
import sys input = sys.stdin.readline s = input().split(,) print(*s)
s513062561
p03834
u506587641
1576968542
Python
Python (3.4.3)
py
Runtime Error
17
2940
135
s = str(input()) ans = '' for i in range(19): if i==5 or i==13 ans += ' ' else: ans += s[i] print(ans)
s096366184
p03834
u506587641
1576968501
Python
Python (3.4.3)
py
Runtime Error
17
2940
134
s = str(input()) ans = '' for i in range(19): if i == 5 or 13 ans += ' ' else: ans += s[i] print(ans)
s601090054
p03834
u506587641
1576968370
Python
Python (3.4.3)
py
Runtime Error
17
2940
133
s = str(input()) ans = '' for i in range(19): if i==5 or i==13 ans += ',' else: ans += s[i] print(ans)
s109903782
p03834
u506587641
1576967962
Python
Python (3.4.3)
py
Runtime Error
17
2940
73
s = str(input()) lst = [s[0:5], , s[6:13], , s[14:]] print(''.join(lst))
s568665764
p03834
u506587641
1576967641
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
s = str(input()) print(s[0:5]+' '+s[6:13]+' '+s[14:]
s050608187
p03834
u506587641
1576967440
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
a, b, c = map(str, input().split(,)) print(a+''+b+''+c)
s083673294
p03834
u243572357
1576919819
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
print(" ".join(input().split(','))
s165634332
p03834
u619613160
1576816798
Python
Python (3.4.3)
py
Runtime Error
17
2940
232
#include<bits/stdc++.h> using namespace std; int main() { string s; cin>>s; for(int i = 0; i < s.length(); i++) { if(s[i] == ',') cout<<" "; else cout<<s[i]; } cout<<"\n"; return 0; }
s922696407
p03834
u875600867
1576809110
Python
Python (3.4.3)
py
Runtime Error
18
2940
31
print(input().replace("," " "))
s195321177
p03834
u840310460
1576624610
Python
Python (3.4.3)
py
Runtime Error
20
3056
119
K, S = [int(i) for i in input().split()] AA = [1 for X in range(K+1) for Y in range(K+1) if 0<=S-X-Y<=K] print(len(AA))
s798421911
p03834
u181215519
1576612937
Python
Python (3.4.3)
py
Runtime Error
17
2940
74
s = map( str, input().split(",") ) print( s[0] + " " + s[1] + " " + s[2] )
s665082650
p03834
u905582793
1576554213
Python
Python (3.4.3)
py
Runtime Error
17
2940
139
k,s=map(int,input().split()) ans = 0 for i in range(k+1): if k <=s-i<=2*k: ans+= s-i+1 elif 0<=s-i<=k: ans+= k*2-s+1 print(ans)
s220144480
p03834
u905582793
1576554147
Python
Python (3.4.3)
py
Runtime Error
17
2940
142
k,s=map(int,input().split()) ans = 0 for i in range(k+1): if k<=s-i<=2*k: ans+= s-i+1 elif 0<=s-i<=k: ans+= k*2-s+1 print(ans)
s123661260
p03834
u022345222
1576208775
Python
Python (3.4.3)
py
Runtime Error
18
3064
555
s_x, s_y, t_x, t_y = map(int, input().split()) #点のインプット for i in range(t_x - s_x): print("R", end="") for i in range(t_y - s_y): print("U", end="") for i in range(t_x - s_x): print("L", end="") for i in range(t_y - s_y): print("D", end="") t_x = t_x+1 t_y = t_y+1 s_x = s_x s_y = s_y print("D", end="") for i in range(t_x - s_x): print("R", end="") for i in range(t_y - s_y): print("U", end="") print("LU", end="") for i in range(t_x - s_x): print("L", end="") for i in range(t_y - s_y): print("D", end="") print("R", end="")
s665224175
p03834
u811967730
1575341905
Python
Python (3.4.3)
py
Runtime Error
17
2940
185
K, S = map(int, input().split()) count = 0 for x in range(K + 1): for y in range(K + 1): z = S - (x + y) if 0 <= z and z <= K: count += 1 print(count)
s052381756
p03834
u374802266
1575081753
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38384
178
s=list(input()) for i in range(5): print(s[i],end='') print(' ',end='') for i in range(7): print(i+6,end='') print(' ',end='') for i in range(5): print(s[i+13],end'')
s417216376
p03834
u102242691
1575000657
Python
Python (3.4.3)
py
Runtime Error
17
2940
243
l = list(map(int,input().split())) count = 0 for x in range(l[0] + 1): for y in range(l[0] + 1): for z in range(l[0] + 1): if x + y + z == l[1]: count += 1 print(x,y,z) print(count)
s751242477
p03834
u616188005
1574787247
Python
Python (3.4.3)
py
Runtime Error
17
2940
53
a,b,c,d=map(int,input().split()) print(max([a*b,c*d])
s654724118
p03834
u673173160
1574667703
Python
Python (3.4.3)
py
Runtime Error
17
2940
49
s = input().split() print(s[0]+' '+s[1]+' '+s[2])
s340967789
p03834
u187109555
1573957254
Python
Python (3.4.3)
py
Runtime Error
17
2940
176
K, S = map(int, input().split()) count=0 for x in range(K+1): for y in range(K+1): z = S - (x+y) if (z <= K) & (z >= 0): count += 1 print(count)
s939604727
p03834
u557494880
1573618618
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
a,b,c = map(str,input().split(,)) print(a,b,c)
s033564374
p03834
u637551956
1573277204
Python
PyPy3 (2.4.0)
py
Runtime Error
164
38256
148
K,S=map(int, input().split()) count = 0 for x in range(K+1): for y in range(K+1): if 0<=S-x-y<=K: count=count+1 print(count)
s713661500
p03834
u637551956
1573276930
Python
PyPy3 (2.4.0)
py
Runtime Error
165
38512
185
K,S=map(int, input().split()) count = 0 for x in range(K+1): for y in range(K+1): for z in range(K+1): if x+y+z==S: count = count +1 print(count)
s977333719
p03834
u663438907
1573188275
Python
Python (3.4.3)
py
Runtime Error
17
2940
94
s = list(input()) for i in range(len(s)): if s[i] == ',': s[i] == ' ' print(''.join())
s679877255
p03834
u633548583
1573178494
Python
Python (3.4.3)
py
Runtime Error
17
2940
172
K,S=map(int,input().split()) count=0 for x in range(K+1): for y in range(K+1): sumz=S-x-y if sumz>=0 and sumz<=K: count+=1 print(count)
s962080881
p03834
u434282696
1573157125
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
s=input() s[5]=' ' s[13]=' ' print(s)
s896878660
p03834
u602863587
1572842771
Python
Python (3.4.3)
py
Runtime Error
19
3316
150
k,s=map(int,input().split()) cnt=0 for x in range(k+1): for y in range(k+1): for z in range(k+1): if x+y+z==s: cnt+=1 print(cnt)
s800503939
p03834
u685510108
1572550257
Python
Python (3.4.3)
py
Runtime Error
18
3060
270
k, s = map(int, input().split()) sum_set = [] for i in range(k + 1): for j in range(k + 1): for m in range(k + 1): if i + j + m == s: comb = [i, j, m] sum_set.append(comb) break print(len(sum_set))
s101334466
p03834
u576917603
1572470665
Python
Python (3.4.3)
py
Runtime Error
17
2940
163
a,b = map(int,input().split()) cnt=0 for x in range(a+1): for y in range(a+1): z = b-x-y if 0<=z<=a and x+y+z==b: cnt+=1 print(cnt)
s928831634
p03834
u861141787
1572320344
Python
Python (3.4.3)
py
Runtime Error
17
3060
170
K, S = map(int, input().split()) ans = 0 for x in range(K+1): for y in range(K+1): z = S - x - y if z >= 0 and z <= K: ans += 1 print(ans)