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
s547520628
p03834
u861141787
1572319243
Python
Python (3.4.3)
py
Runtime Error
17
2940
185
K, S = map(int, input().split()) ans = 0 for i in range(K+1): for j in range(K+1): for l in range(K+1): if i + j + l == S: ans += 1 print(ans)
s407288819
p03834
u911153222
1572222537
Python
Python (3.4.3)
py
Runtime Error
19
3060
50
s = [input().split()] print('{} {} {}'.format(s))
s647908422
p03834
u897436032
1571890622
Python
Python (3.4.3)
py
Runtime Error
17
2940
63
input_ = inpur().split(",") print(" ".join(str for i in input))
s161893548
p03834
u677400065
1571162977
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
s = input() for i in s: if i == ',': i = ' ': print(s)
s958367009
p03834
u403986473
1570398028
Python
Python (3.4.3)
py
Runtime Error
17
3060
261
K, S = map(int, input().split()) OK = 0 for x in range(K+1): if(0<=S-x & S-x<=2*K): # 計算の成立条件 if(S-x<=K): # yとzの和がk以下 OK += S-x+1 else: # yとzの和がk以上 OK += (K-((S-x)-K))+1 print(OK)
s942090986
p03834
u556589653
1570387105
Python
Python (3.4.3)
py
Runtime Error
17
3064
43
s = input() s[5] = " " s[:5] = " " print(s)
s443623805
p03834
u512138205
1570379789
Python
PyPy3 (2.4.0)
py
Runtime Error
167
38256
531
k, s = map(int, input().split()) def calc_yz(target, limit): yz_list = [] for y in range(limit + 1): z = target - y if 0 <= z <= limit: yz_list.append([y, z]) return yz_list def calc_xyz(target, limit): xyz_list = [] for x in range(limit + 1): yz_sum = target - x if yz_sum < 0: continue yz_list = calc_yz(yz_sum, limit) for yz in yz_list: xyz_list.append([x] + yz) return xyz_list print(len(calc_xyz(s, min(s, k))))
s644378835
p03834
u046313635
1570314616
Python
Python (3.4.3)
py
Runtime Error
17
2940
47
s = input().split() s[6], s[14] = "" print(s)
s190722016
p03834
u287431190
1570049916
Python
Python (3.4.3)
py
Runtime Error
17
2940
58
a,b,c = map(str, input().split()) d = ' ' print(a+d+b+d+c)
s272077707
p03834
u526459074
1569983100
Python
Python (3.4.3)
py
Runtime Error
17
3060
191
k, s = input().split() k, s = int(k), int(s) ans = 0 for x in range(0, k+1): for y in range(0, k+1): for z in range(0, k+1): if x+y+z==s: ans += 1 break print(ans)
s777233796
p03834
u196697332
1569807304
Python
Python (3.4.3)
py
Runtime Error
17
2940
56
s = input() a, b, c = s.split(',') print(f'{a} {b} {c}')
s290387147
p03834
u747602774
1569685159
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
s=input().split(,) print(s[0],s[1],s[2])
s972560746
p03834
u597017430
1568822750
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
s = input() s[5] = ' ' s[13] = ' ' print(s)
s405506652
p03834
u296518383
1568617760
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
print(" ".jpin(input().split(",")))
s867557522
p03834
u920438243
1568139017
Python
Python (3.4.3)
py
Runtime Error
17
2940
165
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)
s535704241
p03834
u920438243
1568138510
Python
Python (3.4.3)
py
Runtime Error
17
2940
146
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)
s887899822
p03834
u597017430
1568135203
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
s = input() s[5] = ' ' s[13] = ' ' print(s)
s512341612
p03834
u219157465
1568085097
Python
Python (3.4.3)
py
Runtime Error
17
2940
231
k, s = map(int, input().split()) # print(k, s) count = 0 for i in range(k+1): for j in range(k+1): for k in range(k+1): # print(i, j, k) if i + j + k == s: count += 1 print(count)
s955753367
p03834
u597455618
1568073415
Python
Python (3.4.3)
py
Runtime Error
17
2940
203
def main(): k, s = map(int, input().split()) cnt = 0 for i in range(k+1): for j in range(k+1): if 0 <= s - i - j <= k: cnt += 1 print(cnt) if __name__ == "__main__": main()
s584147267
p03834
u597455618
1568067456
Python
Python (3.4.3)
py
Runtime Error
17
2940
205
k, s = map(int, input().split()) cnt = 0 for i in range(k+1): if i < s: for j in range(k+1): if i + j : for l in range(k+1): if i + j + l == s: cnt += 1 print(cnt)
s629334031
p03834
u406490839
1567929875
Python
Python (3.4.3)
py
Runtime Error
17
3060
196
a = list(map(int,input().split())) k = int(a[0]) s = int(a[1]) 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)
s599042342
p03834
u727801592
1567735610
Python
Python (3.4.3)
py
Runtime Error
17
3060
172
import sys input = sys.stdin.readline K,S=map(int,input().split()) crt=0 for x in range(0,K+1): for y in range(0,K+1): z=S-x-y if 0<=z<=K: crt+=1 print(crt)
s969508252
p03834
u601321817
1567648417
Python
Python (3.4.3)
py
Runtime Error
18
3064
410
ks = input() k, s = [int(x) for x in ks.split(" ")] comb = [] for x in range(k + 1)[::-1]: for y in range(min(x + 1, s - x))[::-1]: z = s - x - y if (x <= k and y <= k and z <= k and y <= x and z <= x and y <= z): comb.append([x,y,z]) count = 0 for c in comb: l = len(set(c)) if l == 1: count += 1 elif l == 2: count += 3 else: count += 6
s781434191
p03834
u601321817
1567646830
Python
Python (3.4.3)
py
Runtime Error
17
3060
253
sk = input() count = 0 s, k = [int(x) for x in sk.split(" ")] for i in range(s + 2): for j in range(i + 1, s + 2): x = i y = j - i - 1 z = s - y - x if x <= k and y <= k and z <= k: count += 1 print(count)
s760832062
p03834
u603939330
1567611960
Python
Python (3.4.3)
py
Runtime Error
17
2940
180
k, s = map(int, input().split()) ans = 0 for x in range(k+1): for y in range(k+1): for z in range(k+1): if s == x+y+z: ans += 1 print(ans)
s440607261
p03834
u657971041
1567446042
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
a,b,c=map(input().split(",")) print(a,b,c)
s710892584
p03834
u493491792
1567133182
Python
Python (3.4.3)
py
Runtime Error
17
3060
158
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>=0 and z<=k: count+=1 print(count)
s225478674
p03834
u375172966
1567132113
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
print(str(input().split(',',' ')))
s679683539
p03834
u934529721
1566926596
Python
Python (3.4.3)
py
Runtime Error
17
2940
171
K,S = map(int,input().split()) count = 0 for x in range(S+1): for y in range(S+1): z = S - x - y if 0<=z & z<=K: count+=1 print(count)
s594859428
p03834
u131625544
1566926118
Python
Python (3.4.3)
py
Runtime Error
17
2940
40
s = input() s.replace(','. ' ') print(s)
s026225616
p03834
u164261323
1566919460
Python
Python (3.4.3)
py
Runtime Error
18
2940
36
a,b,c = input().split() print(a,b,c)
s775097596
p03834
u580093517
1566276316
Python
Python (3.4.3)
py
Runtime Error
17
2940
51
*a, = map(int,input().split()) print(max(a)-min(a))
s741344233
p03834
u322826875
1566253001
Python
Python (3.4.3)
py
Runtime Error
18
3064
355
num = input().split() k = int(num[0]) s = int(num[1]) import numpy as np x = np.arange(k+1) y = np.arange(k+1).reshape(k+1,1) z = np.arange(k+1) xy = x + y count =0 # p = xy[:,1] #print(p) # l=0 for i in range(k+1) : a = z+ xy[:,i] # print(a) count +=np.count_nonzero(a == s) # l +=1 # print(l) print(count)
s658712613
p03834
u492447501
1566146629
Python
Python (3.4.3)
py
Runtime Error
20
2940
55
l = list(map(int, input().split())) print(l[1], l[0])
s185334259
p03834
u027929618
1566130531
Python
Python (3.4.3)
py
Runtime Error
17
2940
44
s = input().split(",") print(" ".join(s))⏎
s405282405
p03834
u441191580
1565997793
Python
Python (3.4.3)
py
Runtime Error
18
3064
606
ks= list(map(int, input().split())) count = 0 x = 0 y = 0 z = 0 for targetX in range(ks[1]+1): if targetX <= ks[0]: for targetY in range(ks[1]+1): if targetY <= ks[0]: for targetZ in range(ks[1]+1): if targetZ <= ks[0]: if targetX + targetY + targetZ == ks[1]: count +=1 targetZ +=1 targetY +=1 targetX +=1 #print(ks) print(count)
s667492658
p03834
u675807218
1565927187
Python
Python (3.4.3)
py
Runtime Error
18
2940
46
a, b, c=map(input().split(',')) print(a, b, c)
s865795900
p03834
u974935538
1565914730
Python
Python (3.4.3)
py
Runtime Error
19
2940
35
t=str(s) print(t.replace(",", " "))
s930594475
p03834
u453500284
1565835953
Python
Python (3.4.3)
py
Runtime Error
23
2940
40
a, b, c = input().split() print(a, b, c)
s319677785
p03834
u959759457
1565789768
Python
Python (3.4.3)
py
Runtime Error
17
2940
46
s,t,u=map(int,input().split(',')) print(s,t,u)
s106238431
p03834
u959759457
1565789745
Python
Python (3.4.3)
py
Runtime Error
18
2940
45
s,t,u=map(int,input().split('')) print(s,t,u)
s818910217
p03834
u936985471
1565779774
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
a,b,c=input().split() print(a,b,c)
s956077191
p03834
u558059388
1565726552
Python
Python (3.4.3)
py
Runtime Error
18
3060
51
a,b,c=map(str,input().split()) print(a+' '+b+' '+c)
s958855441
p03834
u391328897
1565647839
Python
Python (3.4.3)
py
Runtime Error
18
2940
26
print(*inpur().split(","))
s048146014
p03834
u058729328
1565574838
Python
Python (3.4.3)
py
Runtime Error
17
2940
43
a,b,c = int(input().split(,)) print(a,b,c)
s450527686
p03834
u045408189
1565481326
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
a,b,c=input().split(,) print(a,b,c)
s730755335
p03834
u045408189
1565481247
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
a,b,c=input().split(,) print(a,b,c)
s067446335
p03834
u638282348
1565401235
Python
PyPy3 (2.4.0)
py
Runtime Error
177
38640
141
k, s = map(int, input().rstrip("\n").split()) print(sum([x + y + z == s for x in range(k + 1) for y in range(k + 1) for z in range(k + 1)]))
s147425097
p03834
u638282348
1565401072
Python
Python (3.4.3)
py
Runtime Error
17
2940
141
k, s = map(int, input().rstrip("\n").split()) print(sum([x + y + z == s for x in range(k + 1) for y in range(k + 1) for z in range(k + 1)]))
s784249841
p03834
u736729525
1565111415
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
print(" ".join(input().split(","))
s695675938
p03834
u889344512
1565035295
Python
PyPy3 (2.4.0)
py
Runtime Error
170
38256
49
s = input() print(s[0:5]+" "+s[5:12]+" "s[12:19])
s757806860
p03834
u571445182
1564870674
Python
Python (3.4.3)
py
Runtime Error
17
2940
119
Tmp = [] Tmp = input().rstrip().split(',') sA = (Tmp[0]) sB = (Tmp[1]) sC = (Tmp[2]) print(sA + ' ' + sB ' ' + sC)
s778265782
p03834
u823862638
1564851676
Python
PyPy3 (2.4.0)
py
Runtime Error
181
38256
201
k, s = [int(x) for x in input().split()] k += 1 count = 0 for x in range(k): for y in range(k): for z in range(k): if x + y + z == s: count += 1 print(count)
s760915251
p03834
u982152304
1564704062
Python
Python (3.4.3)
py
Runtime Error
17
3060
198
import sys ks = list(map(int, input().split())) k = ks[0] s = ks[1] ans = 0 for x in range(k+1): for y in range(k+1): if s - x - y <= k and s - x - y >=0: ans = ans + 1 print(ans)
s898038751
p03834
u896741788
1564366451
Python
Python (3.4.3)
py
Runtime Error
17
2940
37
a,s,d=input(),split(',') print(a,s,d)
s493613766
p03834
u844503366
1564285735
Python
Python (3.4.3)
py
Runtime Error
17
3064
401
K, S = map(int, input().split()) count = 0 if K*3 < S: print(count) else: for i in range(K, -1, -1): X = i YZ = S - X for j in range(K, -1, -1): Y = j Z = YZ - Y if Z > K: continue elif Z < 0: continue else: count += 1 #print(X,Y,Z) print(count)
s101189354
p03834
u201660334
1564092407
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
s = input().split() print(" ",join(s))
s732163279
p03834
u502028059
1563648214
Python
Python (3.4.3)
py
Runtime Error
17
2940
55
s = input() s1, s2, s3 = s.split(',') print(s1, s2. s3)
s679100028
p03834
u497596438
1563546476
Python
PyPy3 (2.4.0)
py
Runtime Error
174
38384
348
#include<bits/stdc++.h> #define rep(i, n) for(int i = 0; i < n; i++) using namespace std; typedef long long ll; using Graph =vector<int>; typedef pair<ll,int> P; const ll MAX_N=131072; int bit[MAX_N*2-1]; ll n; int main(){ string s; cin >>s; string t; rep(i,s.size()){ if (s[i]==',') t+=' '; else t+=s[i]; } cout <<t<<endl; }
s556822069
p03834
u328364772
1563470341
Python
Python (3.4.3)
py
Runtime Error
17
2940
42
s = input() s.replave(",", " ") print(s)
s374238203
p03834
u328364772
1563465674
Python
Python (3.4.3)
py
Runtime Error
17
2940
149
k, s = map(int, input().split()) ans = 0 for x in range(k+1): for y in range(k+1): if 0 <= s-x-y <= k: ans += 1 print(ans)
s919053857
p03834
u328364772
1563465107
Python
Python (3.4.3)
py
Runtime Error
17
3064
425
k, s = map(int, input().split()) ans = 0 num_list = [i for i in range(0, k+1)] num_list2 = [i+j for i in range(0, k+1) for j in range(0, k+1)] for num in num_list2: l, r = 0, k t = s - num while l <= r: m = (l+r) // 2 if num_list[m] == t: ans += 1 break elif num_list[m] < t: l = m + 1 elif num_list[m] > t: r = m - 1 print(ans)
s442838619
p03834
u328364772
1563464606
Python
Python (3.4.3)
py
Runtime Error
17
3188
425
k, s = map(int, input().split()) ans = 0 num_list = [i for i in range(0, k+1)] num_list2 = [i+j for i in range(0, k+1) for j in range(0, k+1)] for num in num_list2: l, r = 0, k t = s - num while l <= r: m = (l+r) // 2 if num_list[m] == t: ans += 1 break elif num_list[m] < t: l = m + 1 elif num_list[m] > t: r = m - 1 print(ans)
s435159639
p03834
u675073679
1563384065
Python
Python (3.4.3)
py
Runtime Error
17
2940
29
s = input() print(c.split(,))
s707196304
p03834
u423585790
1563047133
Python
PyPy3 (2.4.0)
py
Runtime Error
190
38768
1314
#!/usr/bin/env python3 from collections import defaultdict from collections import deque from heapq import heappush, heappop import sys import math import bisect import random import itertools sys.setrecursionlimit(10**5) stdin = sys.stdin bisect_left = bisect.bisect_left bisect_right = bisect.bisect_right def LI(): return list(map(int, stdin.readline().split())) def LF(): return list(map(float, stdin.readline().split())) def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split())) def II(): return int(stdin.readline()) def IF(): return float(stdin.readline()) def LS(): return list(map(list, stdin.readline().split())) def S(): return list(stdin.readline().rstrip()) def IR(n): return [II() for _ in range(n)] def LIR(n): return [LI() for _ in range(n)] def FR(n): return [IF() for _ in range(n)] def LFR(n): return [LI() for _ in range(n)] def LIR_(n): return [LI_() for _ in range(n)] def SR(n): return [S() for _ in range(n)] def LSR(n): return [LS() for _ in range(n)] mod = 1000000007 inf = float('INF') #A def A(): a = input() print(" ".join(s.split(","))) return #B def B(): return #C def C(): return #D def D(): return #E def E(): return #F def F(): return #G def G(): return #H def H(): return #Solve if __name__ == '__main__': A()
s280795525
p03834
u979078704
1562910762
Python
Python (3.4.3)
py
Runtime Error
20
3060
38
a = input() print(a.replace(',' , ' ')
s517390147
p03834
u979078704
1562910711
Python
Python (3.4.3)
py
Runtime Error
17
2940
38
a = input() print(a.replace(',' , ' ')
s784544041
p03834
u979078704
1562910683
Python
Python (3.4.3)
py
Runtime Error
17
2940
77
s = input() print(s.replace(',', ' ')) a = input() print(a.replace(',' , ' ')
s869248919
p03834
u979078704
1562910520
Python
Python (3.4.3)
py
Runtime Error
17
2940
25
print(*input().split(',')
s707837305
p03834
u979078704
1562910466
Python
Python (3.4.3)
py
Runtime Error
17
2940
23
print(*input.split(",")
s113579100
p03834
u979078704
1562902951
Python
Python (3.4.3)
py
Runtime Error
17
2940
39
a, b, c = input.split(",") print(a,b,c)
s704453346
p03834
u979078704
1562902870
Python
Python (3.4.3)
py
Runtime Error
17
2940
41
a, b, c = input.split(",") print(a, b, c)
s537063859
p03834
u741397536
1562470248
Python
Python (3.4.3)
py
Runtime Error
17
3060
167
K, S = map(int, input().split()) ans = 0 for i in range(0, min(S, K)+1): for j in range(0, min(S-i, K)+1): if S-i-j <= K: ans += 1 print(ans)
s401517062
p03834
u450904670
1562462169
Python
PyPy3 (2.4.0)
py
Runtime Error
170
38384
37
s = input().relace(",", " ") print(s)
s466935468
p03834
u375500286
1562442131
Python
Python (3.4.3)
py
Runtime Error
17
2940
35
s=input() print(s.replace("\,"," ")
s983808922
p03834
u093500767
1562192301
Python
Python (3.4.3)
py
Runtime Error
17
2940
52
a = input().str() a = a.replace(",", " ") print(a)
s455109765
p03834
u862296914
1562157197
Python
Python (3.4.3)
py
Runtime Error
18
2940
32
print(input().replace(/,/g," "))
s310086195
p03834
u633914031
1561792414
Python
Python (3.4.3)
py
Runtime Error
17
2940
177
K,S=map(int, input().split()) cnt=0 for i in range(K+1): X=i for j in range(K+1): if X + 2K < S: break Y=j if S-(X+Y)in range(K+1): cnt+=1 print(cnt)
s787801652
p03834
u759412327
1561777156
Python
Python (3.4.3)
py
Runtime Error
17
2940
30
print(input().replace(","," ")
s841159457
p03834
u471212175
1561776688
Python
Python (3.4.3)
py
Runtime Error
17
2940
60
A = input() l = A.split(,) print(l[0],' ',l[1],' ',l[2],' ')
s347964569
p03834
u970449052
1561594102
Python
Python (3.4.3)
py
Runtime Error
17
2940
34
s=input() print(s.replace(',',' ')
s148018512
p03834
u745223262
1561235227
Python
Python (3.4.3)
py
Runtime Error
17
2940
153
a = list(map(int,input().split())) num=0 for l in range(a[0]+1): for m in range(a[0]+1): if(a[1]-l-m <= a[0]): num+=1 print(num)
s232659797
p03834
u745223262
1561235186
Python
Python (3.4.3)
py
Runtime Error
17
2940
141
a = list(map(int,input().split())) num=0 for l in range(a[0]+1): for m in range(a[0]+1): if(a[1]-l-m <= a[0]): num+=1
s079359355
p03834
u304209389
1561219812
Python
Python (3.4.3)
py
Runtime Error
17
3064
209
K, S = map(int, input().split()) count = 0 z = 0 for x in reversed(range(0,K+1)): for y in reversed(range(0,K+1)): z = S - x - y if z >= 0 and z <= K: count = count + 1 print(count)
s179016990
p03834
u304209389
1561219110
Python
Python (3.4.3)
py
Runtime Error
17
3060
317
K, S = map(int, input().split()) count = 0 z = 0 flag = False for x in reversed(range(0,K+1)): for y in reversed(range(0,K+1)): if S <= x + y: count = count + K break for z in reversed(range(0,K+1)): if S == x + y + z: count = count + 1 break print(count)
s177129468
p03834
u304209389
1561218890
Python
Python (3.4.3)
py
Runtime Error
17
3060
324
K, S = map(int, input().split()) count = 0 z = 0 flag = False for x in reversed(range(0,K+1)): for y in reversed(range(0,K+1)): if S < x + y: count = count + K break for z in reversed(range(0,K+1)): if S == x + y + z: count = count + (K-z+1) break print(count)
s070619770
p03834
u304209389
1561216461
Python
Python (3.4.3)
py
Runtime Error
17
3060
252
K, S = map(int, input().split()) count = 0 for x in range(0,K+1): for y in range(0,K+1): if S >= x + y: count = count + 1 else: for z in range(0,K+1): if S == x + y + z: count = count + 1 print(count)
s396512486
p03834
u304209389
1561216416
Python
Python (3.4.3)
py
Runtime Error
17
3060
252
K, S = map(int, input().split()) count = 0 for x in range(0,K+1): for y in range(0,K+1): if S == x + y: count = count + 1 else: for z in range(0,K+1): if S == x + y + z: count = count + 1 print(count)
s918832565
p03834
u998082063
1561077578
Python
Python (3.4.3)
py
Runtime Error
17
2940
19
happy,newyear,enjoy
s154381406
p03834
u548303713
1560978950
Python
Python (3.4.3)
py
Runtime Error
18
3064
334
K,S=map(int,input().split()) sum=0 count=0 for i in range(K+1): sum+=i a=sum L=S-sum #print(L) LL=min(L,K) for j in range(LL+1): sum+=j if S-sum>=0 and S-sum<=K : count+=1 #print(str(i)+" "+str(j)) sum=a #jを足す前に戻す sum=0 print(count)
s594522448
p03834
u363995337
1560455742
Python
Python (3.4.3)
py
Runtime Error
17
2940
203
k,s = map(int,input().split()) count = 0 for x in range(0,k+1): #print(x) for y in range(0,k+1): #print(y) if 0 <= (s-x-y) and (s-x-y) <= k: count += 1 print(count)
s305161926
p03834
u108377418
1560220613
Python
Python (3.4.3)
py
Runtime Error
17
2940
211
#include <iostream> #include <string> using namespace std; int main(){ string input_str; cin >> input_str; input_str[5] = ' ', input_str[13] = ''; cout << input_str << endl; return 0; }
s690117356
p03834
u108377418
1560220535
Python
Python (3.4.3)
py
Runtime Error
17
2940
272
#include <iostream> #include <string> using namespace std; int main(){ string input_str; cin >> input_str; for (int i=0; i < input_str.size(); i++){ if (input_str[i] == ',') input_str[i] = ' '; } cout << input_str << endl; return 0; }
s332223031
p03834
u483640741
1559942707
Python
Python (3.4.3)
py
Runtime Error
18
2940
166
k,s=map(int,input().split()) count=0 for i in range(k+1): for j in range(k+1): z=s-(i+j) if 0<=z<=s: count+=1 print(count)
s176293912
p03834
u172111219
1559932468
Python
PyPy3 (2.4.0)
py
Runtime Error
185
39792
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)
s066205951
p03834
u822738981
1559759659
Python
Python (3.4.3)
py
Runtime Error
17
2940
325
# -*- coding: utf-8 -*- k, s = map(int, input().split()) ans = 0 for i in range(k+1): for j in range(k+1): k2 = s - j - i if 0 <= k2 <=k: ans += 1 # あれTLEだ # if k2 > k or k2 < 0: # continue # if s == i + j + k2: # ans += 1 print(ans)
s050337835
p03834
u083668616
1559663125
Python
PyPy3 (2.4.0)
py
Runtime Error
176
38640
62
inpt = input.split(',') print(inpt[0]+' '+inpt[1]+' '+inpt[2])
s261521968
p03834
u083668616
1559663066
Python
PyPy3 (2.4.0)
py
Runtime Error
168
38256
61
inpt = input.split(',') print inpt[0]+' '+inpt[1]+' '+inpt[2]
s897552222
p03834
u117078923
1559457045
Python
Python (3.4.3)
py
Runtime Error
18
3064
36
print(s[0:4:1],s[6:12:1],s[14:18:1])
s738103278
p03834
u779455925
1559197956
Python
Python (3.4.3)
py
Runtime Error
17
2940
45
print([" " if i=="," or i for i in input()])