problem_id
stringlengths 6
6
| user_id
stringlengths 10
10
| time_limit
float64 1k
8k
| memory_limit
float64 262k
1.05M
| problem_description
stringlengths 48
1.55k
| codes
stringlengths 35
98.9k
| status
stringlengths 28
1.7k
| submission_ids
stringlengths 28
1.41k
| memories
stringlengths 13
808
| cpu_times
stringlengths 11
610
| code_sizes
stringlengths 7
505
|
---|---|---|---|---|---|---|---|---|---|---|
p03834 | u125205981 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s = list(map(str, input().split()))\nprint(' '.join(s))\n", "S = list(input().split(','))\nprint(' '.join(S))\n"] | ['Wrong Answer', 'Accepted'] | ['s442148557', 's063209102'] | [3064.0, 3064.0] | [22.0, 22.0] | [55, 48] |
p03834 | u127856129 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().replace(","," ")', 'print(input().replace(","." "))', 'print(input().replace(","," "))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s082664076', 's562388627', 's240128394'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [30, 31, 31] |
p03834 | u131264627 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["a = input().split(',')\n' '.join(a)", "a = input().split(',')\nprint(' '.join(a))"] | ['Wrong Answer', 'Accepted'] | ['s904052056', 's594370118'] | [2940.0, 2940.0] | [17.0, 17.0] | [34, 41] |
p03834 | u131625544 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s = input()\ns.replace(',', ' ')\nprint(s)", "s = input()\ns.replace(','. ' ')\nprint(s)", "s = input()\nprint(s.replace(',', ' '))"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s356943314', 's594859428', 's861733943'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [40, 40, 38] |
p03834 | u137808818 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a,b = map(int,input().split())\nprint(b,a)\n', 'a,b,c=input().split(",")\nprint(a,b,c)'] | ['Runtime Error', 'Accepted'] | ['s560511875', 's431304962'] | [2940.0, 2940.0] | [17.0, 17.0] | [42, 37] |
p03834 | u138486156 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(" ".join(input().split(,)))', 'print(" ".join(input().split(",")))'] | ['Runtime Error', 'Accepted'] | ['s431350342', 's067886288'] | [2940.0, 2940.0] | [17.0, 17.0] | [33, 35] |
p03834 | u140251125 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["# 051\ns = list(input())\n\ns[5] = ' '\ns[13] = ' '\n\nprint(str(s))", "# input\ns = input()\n\nans = s.replace(',', ' ')\nprint(ans)\n"] | ['Wrong Answer', 'Accepted'] | ['s477819223', 's434850547'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 58] |
p03834 | u140672616 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().replace(","," ")', 'print(input().replace(","," "))'] | ['Runtime Error', 'Accepted'] | ['s679020988', 's999511317'] | [3064.0, 3064.0] | [22.0, 22.0] | [30, 31] |
p03834 | u154979004 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["print(''.join(input().split(',')))", "a, b, c = input().split(',')\nprint(a, b, c)"] | ['Wrong Answer', 'Accepted'] | ['s426101323', 's373340627'] | [2940.0, 2940.0] | [17.0, 17.0] | [34, 43] |
p03834 | u163320134 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s=str(input())\ns1=str[:5]\ns2=str[6:12]\ns3=str[14:]\nprint('{} {} {}'.format(s1,s2,s3))", "s=str(input())\ns1=str[:5]\ns2=str[6:13]\ns3=str[14:]\nprint('{} {} {}'.format(s1,s2,s3))", "s1,s2,s3=map(str,input().split(','))\nprint('{} {} {}'.format(s1,s2,s3))\n"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s437917526', 's840455491', 's264943099'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [85, 85, 72] |
p03834 | u164261323 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a,b,c = input().split()\nprint(a,b,c)', 'a,b,c = input().split(",")\nprint(a,b,c)\n'] | ['Runtime Error', 'Accepted'] | ['s026225616', 's088764896'] | [2940.0, 2940.0] | [18.0, 17.0] | [36, 40] |
p03834 | u166849422 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a,b,c = input().split()\nprint(a,b,c)', 'a,b,c = input().split(",")\nprint(a,b,c)'] | ['Runtime Error', 'Accepted'] | ['s251608893', 's533618513'] | [2940.0, 2940.0] | [17.0, 17.0] | [36, 39] |
p03834 | u167908302 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["#coding:utf-8\ns = input()\n\nprint(s[0:6] + ' ' + s[6:14] + ' ' + s[14:])", "#coding:utf-8\ns = input()\n\nprint(s[0:5] + ' ' + s[6:13] + ' ' + s[14:])"] | ['Wrong Answer', 'Accepted'] | ['s171241898', 's660521512'] | [2940.0, 2940.0] | [17.0, 17.0] | [71, 71] |
p03834 | u172780602 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['k,s=map(int,input().split())\ncnt=0\nfor i in range(k+1):\n for j in range(k+1):\n z=s-i-j\n if z>=0 and z<=k:\n cnt+=1\nprint(cnt)', 's=input()\nprint(s.replace(","," "))'] | ['Runtime Error', 'Accepted'] | ['s217711015', 's040287685'] | [2940.0, 2940.0] | [17.0, 17.0] | [152, 35] |
p03834 | u177411511 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['k, s = list(map(int, input().split()))\nct = 0\nfor x in range(k+1):\n for y in range(k+1):\n z = s - x - y\n if 0 <= z <= k:\n ct += 1\nprint(ct)', 'import sys\nimport copy\nimport string\nfrom _bisect import *\nfrom collections import *\nfrom operator import itemgetter\nfrom math import factorial\n"""\nfrom fractions import gcd\ndef lcm(x, y):\n return (x * y) // gcd(x, y)\n"""\nstdin = sys.stdin\nni = lambda: int(ns())\nna = lambda: list(map(int, stdin.readline().split()))\nns = lambda: stdin.readline()\n\nli = input().split(",")\nprint(*li)\n\n\n\n\n\n\n\n'] | ['Runtime Error', 'Accepted'] | ['s424563217', 's737650041'] | [2940.0, 3896.0] | [17.0, 26.0] | [167, 393] |
p03834 | u181215519 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = map( str, input().split(",") )\nprint( s[0] + " " + s[1] + " " + s[2] )', 'print( input().replace( ",", " " ) )'] | ['Runtime Error', 'Accepted'] | ['s798421911', 's756250899'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 36] |
p03834 | u181431922 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s = input()\nprint(s.replace(',',' '))", "s = input()\nprint(S.replace(',',' '))", "s = input()\nprint(s.replace(',',' '))"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s008409434', 's765202962', 's036099492'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [39, 39, 37] |
p03834 | u183840468 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s = input()\n\nprint(s.replace(',',''))\n", "s = input()\n\nprint(s.replace(',',' '))\n\n"] | ['Wrong Answer', 'Accepted'] | ['s679007763', 's656927070'] | [2940.0, 2940.0] | [17.0, 18.0] | [38, 40] |
p03834 | u183896397 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = [str(i) for i in input().split(",")]\nprint(s)\nprint(\' \'.join(map(str, s)))', 's = [str(i) for i in input().split(",")]\nprint(s)\nprint(\'{0[0]} {0[1]} {0[2]}\'.format(s))', 's = [str(i) for i in input().split(",")]\n\nprint(\' \'.join(map(str, s)))\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s245008370', 's909336228', 's065489030'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [78, 89, 71] |
p03834 | u187883751 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s=input()\nprint(*s.replace(',',''))", "s=input()\nprint(s.replace(',', ''))", "s=input()\nprint(s.split(','))", "s=input()\nprint(s.replace(',',''))", "s=input()\nprint(s.replace(',',' '))\n"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s458629347', 's639326335', 's723080510', 's943545426', 's396211029'] | [2940.0, 3060.0, 2940.0, 2940.0, 2940.0] | [17.0, 19.0, 17.0, 17.0, 18.0] | [35, 35, 29, 34, 36] |
p03834 | u190178779 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['import sys\nK,S = map(int,input().split())\nif K < 2 or K > 2500:\n sys.exit()\n\nX = 0\ncount = 0\nwhile X <= K:\n Y = 0\n while Y <= K:\n Z = S - X - Y\n if Z <= K and Z >= 0:\n count += 1\n Y += 1\n X += 1\nprint(count)', 'import sys\nK,S = map(int,input().split())\nif K < 2 or K > 2500:\n sys.exit()\nif X > K or Y > K or Z > K:\n sys.exit()\n\nX = 0\ncount = 0\nwhile X <= K:\n Y = 0\n while Y <= K:\n Z = 0\n while Z <= K:\n if X + Y + Z == S:\n count += 1\n Z += 1\n Y += 1\n X += 1\nprint(count)', "import sys\nimport res\n#X = list(map(str,input().split()))\nX = str(input())\nprint(re.sub(',',' ',X))", "import sys\nimport re\n#X = list(map(str,input().split()))\nX = str(input())\nprint(re.sub(',',' ',X))"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s315411707', 's590404199', 's889866294', 's035450371'] | [3060.0, 3064.0, 2940.0, 3188.0] | [17.0, 17.0, 17.0, 19.0] | [225, 290, 99, 98] |
p03834 | u201660334 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = input().split()\nprint(" ",join(s))', 's = input().split()\nprint(" ".join(s))', 's = input().split(",")\nprint(" ".join(s))\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s101189354', 's801079009', 's561618431'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [38, 38, 42] |
p03834 | u212741988 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s = input().split()\nws = ' '\nprint(ws.join(s))", "s = input().split(',')\nws = ' '\nprint(ws.join(s))"] | ['Wrong Answer', 'Accepted'] | ['s553201252', 's281024483'] | [3064.0, 3192.0] | [22.0, 22.0] | [46, 49] |
p03834 | u220345792 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['S = list(input().split())\nprint(S[0]+" "+S[1]+" "+S[2])', 'S = list(input().split(","))\nprint(S[0]+" "+S[1]+" "+S[2])\n'] | ['Runtime Error', 'Accepted'] | ['s916904469', 's583123057'] | [2940.0, 2940.0] | [18.0, 17.0] | [55, 59] |
p03834 | u231647664 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["h = list(map(str, input().split(,)))\nans = ' '.join(h)\nprint(ans)", "h = list(map(str, input().split(',')))\nans = ' '.join(h)\nprint(ans)"] | ['Runtime Error', 'Accepted'] | ['s171639088', 's333493743'] | [2940.0, 2940.0] | [18.0, 18.0] | [65, 67] |
p03834 | u243572357 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(" ".join(input().split(\',\'))', "print(' '.join(input().split()))", "a = input().split(',')\nprint(*a)"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s083673294', 's188064818', 's518348117'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [34, 32, 32] |
p03834 | u244836567 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a=input()\na.replace(","," ")\nprint(a)', 'a=input()\nprint(a.replace(","," "))'] | ['Wrong Answer', 'Accepted'] | ['s259103575', 's795565809'] | [9008.0, 8892.0] | [23.0, 27.0] | [37, 35] |
p03834 | u251123951 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a,b,c=input().split(".")\nprint(a,b,c)', 'a,b,c=input().split(",")\nprint(a,b,c)'] | ['Runtime Error', 'Accepted'] | ['s410381824', 's774625452'] | [2940.0, 2940.0] | [19.0, 19.0] | [37, 37] |
p03834 | u252964975 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["S=str(input())\nprint(S[0:5]+' '+S[6:13]+' 'S[14:19])", "S=str(input())\nprint(S[0:5]+' '+S[6:13]+' '+S[14:19])\n"] | ['Runtime Error', 'Accepted'] | ['s040379467', 's366356468'] | [2940.0, 2940.0] | [17.0, 17.0] | [52, 54] |
p03834 | u253205825 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['x, y, z = map(input().split(,))\nprint(x y z)', 'x, y, z = input().split(",")\nprint(x, y, z)'] | ['Runtime Error', 'Accepted'] | ['s854851728', 's303641444'] | [9000.0, 9012.0] | [25.0, 32.0] | [44, 43] |
p03834 | u256868077 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s=input()\nprint(s.strip(,))', "s=input()\nprint(s.replace(',',' '))"] | ['Runtime Error', 'Accepted'] | ['s382368958', 's114593122'] | [2940.0, 2940.0] | [17.0, 17.0] | [27, 35] |
p03834 | u263830634 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['K, S = map(int, input().split())\n\ncount = 0\nfor x in range(0,K):\n for y in range(0,K):\n a = S-x-y\n if a <= K and a>= 0:\n count += 1\nprint (count)', "s = str(input())\ns = s.replace(',', ' ')\nprint (s)"] | ['Runtime Error', 'Accepted'] | ['s893778675', 's594934870'] | [2940.0, 2940.0] | [17.0, 17.0] | [173, 50] |
p03834 | u265065462 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a = list(input().split())\nss=""\nfor c in a:\n ss += c + " "\n\nprint (ss)', 'a = list(input().split())\nss=""\nfor c in a:\n ss += c\n\nprint (ss)', "ss = input()\nnew_s = ss.replace(',', ' ')\nprint(new_s)\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s107236124', 's390483143', 's050950579'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [71, 65, 55] |
p03834 | u266874640 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['K,S = map(int,input().split())\ncount=0\n\nfor x in range(K+1):\n for y in range(K+1):\n if 0 <= S-x-y <= K:\n count += 1\n\nprint(count)\n', 's = list(input().split(",",2))\na = " ".join(s)\nprint(a)\n'] | ['Runtime Error', 'Accepted'] | ['s513186340', 's626984158'] | [2940.0, 2940.0] | [17.0, 17.0] | [155, 56] |
p03834 | u277641173 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a,b,c=map(str,input().split(","))\nprint(a+b+c)', 'a,b,c=map(str,input().split(","))\nprint(a+" "+b+" "+c)'] | ['Wrong Answer', 'Accepted'] | ['s308050977', 's987267177'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 54] |
p03834 | u278183305 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['k,s = map(int, input().split())\n\ncount = 0\nfor i in range(k+1):\n if s-i > k:\n rang = k\n else:\n rang = s-i\n for j in range(rang+1):\n if s-i-j < 0:\n continue\n elif s-i-j > k:\n rangg = k\n else:\n rang = s-i-j\n for h in range(rang+1):\n if i+j+h == s:\n count += 1\n\nprint(count)', 'k,s = map(int, input().split())\n\ncount = 0\nfor i in range(k+1):\n for j in range(k+1):\n if s - (i+j) <= k:\n count += 1\n\nprint(count)', 'print(str(input().replace(","," ")))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s029304019', 's992585535', 's054857825'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [381, 152, 36] |
p03834 | u280512618 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["print(input().split(','))", "print(*input().split(','))"] | ['Wrong Answer', 'Accepted'] | ['s162254427', 's463537672'] | [2940.0, 2940.0] | [17.0, 17.0] | [25, 26] |
p03834 | u280552586 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["print(input().split(','))", "print(input().replace(',', ' '))\n"] | ['Wrong Answer', 'Accepted'] | ['s798279698', 's895475105'] | [2940.0, 9020.0] | [17.0, 29.0] | [25, 33] |
p03834 | u284102701 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s=input()\ns.replace(',',' ')\nprint(s) ", "s=input()\nt=s.replace(',',' ')\nprint(t) "] | ['Wrong Answer', 'Accepted'] | ['s118631814', 's814760194'] | [2940.0, 2940.0] | [17.0, 17.0] | [38, 40] |
p03834 | u287431190 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["a,b,c = map(str, input().split())\nd = ' '\nprint(a+d+b+d+c)", "a=input()\nb = a.replace(',',' ')\nprint(b)"] | ['Runtime Error', 'Accepted'] | ['s190722016', 's981920673'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 41] |
p03834 | u288040231 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = input()\ns.replace(",", " ")\nprint(s)', 's = input()\nprint(s.replace(",", " "))'] | ['Wrong Answer', 'Accepted'] | ['s737931174', 's566009424'] | [2940.0, 2940.0] | [17.0, 17.0] | [40, 38] |
p03834 | u288087195 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = input()\ns[5] == ""\ns[13] == ""\nprint(s)', 's = input()\na = []\nfor i in range(len(s)):\n a.append(s[i])\na.pop(5)\na.pop(-6)\n\na1 = a[0]+a[1]+a[2]+a[3]+a[4]\na2 = a[5]+a[6]+a[7]+a[8]+a[9]+a[10]+a[11]\na3 = a[12]+a[13]+a[14]+a[15]+a[16]\n\nprint(a1 +" "+ a2 +" "+ a3)'] | ['Wrong Answer', 'Accepted'] | ['s577408460', 's696387245'] | [2940.0, 3064.0] | [17.0, 17.0] | [43, 215] |
p03834 | u289162337 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['l = input().split(\',\')\ns = ""\nfor i in range(len(l)):\n s += l[i]\nprint(s)', "l = input().split(',')\nprint(l[0]+l[1]+l[2])", "l = input().split(',')\nprint(l[0], l[1], l[2])"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s153974731', 's594425156', 's991587084'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [74, 44, 46] |
p03834 | u296518383 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(" ".jpin(input().split(",")))', 'print(" ".join(input().split(",")))'] | ['Runtime Error', 'Accepted'] | ['s405506652', 's683162407'] | [2940.0, 2940.0] | [17.0, 17.0] | [35, 35] |
p03834 | u298489181 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().split(","))', 'a,b,c=input().split(",")\nprint(a,b,c)'] | ['Wrong Answer', 'Accepted'] | ['s499070115', 's564528549'] | [2940.0, 2940.0] | [17.0, 17.0] | [25, 37] |
p03834 | u312821683 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s = input().split()\ns_ = ''.join(s)\ns_.replace(',', ' ')", "s = input().split()\ns_ = ''.join(s)\nprint(s_.replace(',', ' '))"] | ['Wrong Answer', 'Accepted'] | ['s249732856', 's135555223'] | [8984.0, 8912.0] | [24.0, 32.0] | [56, 63] |
p03834 | u319612498 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s=input().split()\nprint(s[0]+" "+s[1]+" "+s[2])\n', 's=input().split()\nprint(s[0]+" "+s[1]+" "+s[2]+" ")', 's=input().split(",")\nprint(s[0]+" "+s[1]+" "+s[2])\n\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s502690484', 's543681305', 's405639130'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [48, 51, 52] |
p03834 | u325144984 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['[a, b] = map(int, input().split())\nif a*3==b:\n print(1)\nelif b%3==0:\n print(b*3+1)\nelse:\n print(b*3)\n', 's = str(input())\ns = s[:5] + " " + s[6:13] + " " + s[14:]\nprint(s)'] | ['Runtime Error', 'Accepted'] | ['s521346939', 's782872439'] | [3192.0, 3064.0] | [23.0, 22.0] | [110, 66] |
p03834 | u325264482 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['S = input()\nprint(S[:6], S[7:14], S[15:])\n', 'S = input()\nprint(S[:5], S[6:13], S[14:])\n'] | ['Wrong Answer', 'Accepted'] | ['s655510058', 's952247466'] | [2940.0, 2940.0] | [18.0, 17.0] | [42, 42] |
p03834 | u328364772 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['k, s = map(int, input().split())\n\nans = 0\n\nfor x in range(k+1):\n for y in range(k+1):\n if 0 <= s-x-y <= k:\n ans += 1\n\nprint(ans)', 'k, s = map(int, input().split())\n\nans = 0\n\nnum_list = [i for i in range(0, k+1)]\nnum_list2 = [i+j for i in range(0, k+1) for j in range(0, k+1)]\n\nfor num in num_list2:\n l, r = 0, k\n t = s - num\n while l <= r:\n m = (l+r) // 2\n if num_list[m] == t:\n ans += 1\n break\n elif num_list[m] < t:\n l = m + 1\n elif num_list[m] > t:\n r = m - 1\n\nprint(ans)\n', 's = input()\n\ns.replave(",", " ")\n\nprint(s)', 'k, s = map(int, input().split())\n\nans = 0\n\nnum_list = [i for i in range(0, k+1)]\nnum_list2 = [i+j for i in range(0, k+1) for j in range(0, k+1)]\n\nfor num in num_list2:\n l, r = 0, k\n t = s - num\n while l <= r:\n m = (l+r) // 2\n if num_list[m] == t:\n ans += 1\n break\n elif num_list[m] < t:\n l = m + 1\n elif num_list[m] > t:\n r = m - 1\n\nprint(ans)\n', 's = input()\n\nprint(s.replace(",", " "))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s374238203', 's442838619', 's556822069', 's919053857', 's040585402'] | [2940.0, 3188.0, 2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0] | [149, 425, 42, 425, 39] |
p03834 | u328755070 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s = input()\n\ns.replace(',',' ')\n\nprint(s)\n", "s = input()\n\ns.replace(',',' ')\n\nprint(s.replace(',',' '))\n"] | ['Wrong Answer', 'Accepted'] | ['s815403440', 's075533841'] | [2940.0, 2940.0] | [17.0, 17.0] | [42, 59] |
p03834 | u331464808 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s =input().split(',')\na =s.split()\nprint(a)", "s =input()\na =s.split('')\nprint(a)", 's =input().replace(","," ")\nprint(s)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s541513815', 's986702845', 's254799556'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [43, 34, 36] |
p03834 | u332385682 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['K, S = map(int, input().split())\nwariate = 0\n\nfor x in range(0, K + 1):\n if S - x <= K:\n wariate += max(S - x + 1, 0)\n else:\n wariate += max(0, 2 * K - (S - x) + 1)\n\nprint(wariate)', '\ns = input().split(",")\n\nprint(*s)'] | ['Runtime Error', 'Accepted'] | ['s731663468', 's004936052'] | [3188.0, 3064.0] | [22.0, 22.0] | [200, 34] |
p03834 | u339922532 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = input()\n\nprint(s.replace(", ", " "))', 's = input()\n\nprint(s.replace(",", " "))'] | ['Wrong Answer', 'Accepted'] | ['s074548844', 's077739863'] | [2940.0, 2940.0] | [18.0, 17.0] | [40, 39] |
p03834 | u345136423 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().split())', "print(*input().split(','))"] | ['Wrong Answer', 'Accepted'] | ['s500522292', 's195893912'] | [2940.0, 2940.0] | [17.0, 17.0] | [22, 26] |
p03834 | u347397127 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().split(","))', 'print(" ".join(input().split(",")))'] | ['Wrong Answer', 'Accepted'] | ['s523239289', 's312618952'] | [9020.0, 8908.0] | [30.0, 23.0] | [25, 35] |
p03834 | u348285568 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['abcde,fghihgf,edcba', 's=input().split(",")\nprint(*s,sep=" ")'] | ['Runtime Error', 'Accepted'] | ['s183467838', 's614978723'] | [2940.0, 2940.0] | [18.0, 17.0] | [19, 38] |
p03834 | u353919145 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = "happy,newyear,enjoy"\nfor i in s :\n if i==",":\n b = s.replace("," ," ")\n print (b)', "\nprint(input().replace(',', ' '))"] | ['Wrong Answer', 'Accepted'] | ['s462138142', 's198742833'] | [2940.0, 2940.0] | [17.0, 17.0] | [103, 83] |
p03834 | u354623416 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s1,s2,s3=map(str,input().split(","))\nprint(S1,S2,S3)\n', 's1,s2,s3=map(str,input().split(","))\nprint(s1,s2,s3)\n'] | ['Runtime Error', 'Accepted'] | ['s018023932', 's492731823'] | [2940.0, 2940.0] | [17.0, 17.0] | [53, 53] |
p03834 | u357751375 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = input()\nprint(s[0:4] + s[6:12] + s[14:18])', "s = input()\nk = ''\nprint(s[0:5] + k + s[6:7] + k + s[14:5])", "a,b,c = input().split(',')\nprint(a + '' + b + '' + c)\n", "s = input()\nprint(s[0:5] + '' + s[6:7] + '' + s[14:5])", "a,b,c = input().split(',')\nprint(a + '' + B + '' + C)", "a,b,c = input().split(',')\nprint(a + ' ' + b + ' ' + c)"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s129187466', 's271039735', 's543978840', 's626578337', 's874931113', 's122301991'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [46, 59, 54, 54, 53, 55] |
p03834 | u359007262 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['limit, sum_xyz = map(int, input().split())\n\npair = list()\nx_bottom = sum_xyz - 2*limit\nx_bottom = 0 if x_bottom < 0 else x_bottom\n\nfor i in range(limit, x_bottom - 1, -1):\n x = i\n y_limit = 0\n if sum_xyz - x >= limit:\n y_limit = limit\n else:\n y_limit = sum_xyz - x\n y_bottom = sum_xyz - x - limit\n y_bottom = 0 if y_bottom < 0 else y_bottom\n\n for j in range(y_limit, y_bottom - 1, -1):\n y = j\n z = sum_xyz - x - y\n pair.append([x, y, z])\n\nprint(len(pair))', "import sys\ninput = sys.stdin.readline\n \ndef main():\n K,S = [int(x) for x in input().split()]\n \n count = 0\n \n for x in range(K+1):\n for y in range(K+1):\n z = S - (x + y)\n if z >= 0 and z <= K:\n count += 1\n \n print(count)\n \nif __name__ == '__main__':\n main()", 'limit, sum_xyz = map(int, input().split())\n\npair = list()\nx_bottom = sum_xyz - 2*limit\nif x_bottom < 0:\n x_bottom = 0\nelse:\n x_bottom = x_bottom\n\nfor i in range(limit, x_bottom - 1, -1):\n x = i\n y_limit = 0\n if sum_xyz - x >= limit:\n y_limit = limit\n else:\n y_limit = sum_xyz - x\n y_bottom = sum_xyz - x - limit\n if y_bottom < 0:\n y_bottom = 0\n else:\n y_bottom = y_bottom\n\n for j in range(y_limit, y_bottom - 1, -1):\n y = j\n z = sum_xyz - x - y\n pair.append([x, y, z])\nans = len(pair)\n\nprint(ans)', 'limit, sum_xyz = map(int, input().split())\n\npair = list()\nx_bottom = sum_xyz - 2*limit\nx_bottom = 0 if x_bottom < 0 else x_bottom\n\nfor i in range(limit, x_bottom - 1, -1):\n x = i\n y_limit = 0\n if sum_xyz - x >= limit:\n y_limit = limit\n else:\n y_limit = sum_xyz - x\n y_bottom = sum_xyz - x - limit\n y_bottom = 0 if y_bottom < 0 else y_bottom\n\n for j in range(y_limit, y_bottom - 1, -1):\n y = j\n z = sum_xyz - x - y\n pair.append([x, y, z])\nans = len(pair)\n\nprint(ans)', 'limit, sum_xyz = map(int, input().split())\n\npair = list()\nx_bottom = sum_xyz - 2*limit\nx_bottom = 0 if x_bottom < 0 else x_bottom\n\nfor i in range(limit, x_bottom - 1, -1):\n x = i\n y_limit = 0\n if sum_xyz - x >= limit:\n y_limit = limit\n else:\n y_limit = sum_xyz - x\n y_bottom = sum_xyz - x - limit\n y_bottom = 0 if y_bottom < 0 else y_bottom\n\n for j in range(y_limit, y_bottom - 1, -1):\n y = j\n z = sum_xyz - x - y\n pair.append([x, y, z])\nans = len(pair)\n\nprint(ans)', 'limit, sum_xyz = map(int, input().split())\n\npair = list()\nx_bottom = sum_xyz - 2*limit\nx_bottom = 0 if x_bottom < 0 else x_bottom\n\nfor i in range(limit, x_bottom - 1, -1):\n x = i\n y_limit = 0\n if sum_xyz - x >= limit:\n y_limit = limit\n else:\n y_limit = sum_xyz - x\n y_bottom = sum_xyz - x - limit\n y_bottom = 0 if y_bottom < 0 else y_bottom\n\n for j in range(y_limit, y_bottom - 1, -1):\n y = j\n z = sum_xyz - x - y\n pair.append([x, y, z])\n\nprint(len(pair))', 's = input()\nresult = s.replace(",", " ")\n\nprint(result) '] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s238810962', 's303423003', 's658813231', 's780224360', 's914002668', 's945030027', 's927742565'] | [3064.0, 3060.0, 3064.0, 3064.0, 3064.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 24.0] | [511, 315, 575, 521, 521, 511, 59] |
p03834 | u359930418 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['list = ["haiku", "atcorder", "pytho"]\nprint(list.replace("," , " "))\n', 'haiku = input()\nprint(haiku.replace("," , " "))\n'] | ['Runtime Error', 'Accepted'] | ['s314606405', 's882296690'] | [3064.0, 3064.0] | [23.0, 24.0] | [69, 48] |
p03834 | u363995337 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['\nk,s = map(int,input().split())\n\ncount = 0\n\nfor x in range(0,k+1):\n #print(x)\n for y in range(0,k+1):\n #print(y)\n if 0 <= (s-x-y) and (s-x-y) <= k:\n count += 1\nprint(count)', "\ns = input()\n\nprint(s.replace(',',' '))"] | ['Runtime Error', 'Accepted'] | ['s594522448', 's694268142'] | [2940.0, 2940.0] | [17.0, 17.0] | [203, 39] |
p03834 | u366644013 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(" ".join(input().split()))', 'print(" ".join(input().split(",")))'] | ['Wrong Answer', 'Accepted'] | ['s682647515', 's914672839'] | [2940.0, 2940.0] | [17.0, 17.0] | [32, 35] |
p03834 | u366959492 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s=str(input())\ns.raplace(","," ")\nprint(s)\n', 's=str(input())\ns[5]=" "\ns[13]=" "\nprint(s)', 's=input()\ns[7]=" "\ns[15]=" "\nprint(s)\n', 'str(s)\ns=input()\n\ns.raplace(","," ")\nprint(s)', 's=input()\n\ns.raplace(","," ")\nprint(s)\n', 'print(input().replace(","," "))\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s292776478', 's556560963', 's594492218', 's641084706', 's685062877', 's267645069'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 17.0] | [43, 42, 38, 45, 39, 32] |
p03834 | u367130284 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().split(","))', 'a,b=map(int,input().split());print(sum(a>=b-s-t>=0for t in range(a+1)for s in range(a+1)))', 'print(" ".join(input().split(",")))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s893209882', 's958959709', 's621080524'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [25, 90, 35] |
p03834 | u368780724 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['import heapq\n\nn, m = [int(i) for i in input().split()]\ninf = 10**10\npath = [[0] * n for _ in range(n)]\nQ = [[inf] * n for _ in range(n)]\nans = 0\npathnum = []\nctr = 0\n\nfor i in range(m):\n a, b, c = map(lambda x: int(x)-1 ,input().split()) \n path[a][b] = path[b][a] = c+1\n pathnum.append((a,b))\n\nfor i in range(n):\n decided = [False for _ in range(n)]\n H = []\n Q[i][i] = 0\n heapq.heappush(H,(0,i))\n while ctr != n:\n while True:\n k = heapq.heappop(H)\n k = k[1]\n if not decided[k]:\n decided[k] = True\n ctr += 1\n break\n for j in range(n):\n if path[k][j] == 0:\n continue\n if decided[j]:\n continue\n Q[i][j] = min(Q[i][k] + path[k][j], Q[i][j])\n heapq.heappush(H,(Q[i][j],j))\n\nfor i in pathnum:\n if Q[i[0]][i[1]] == inf:\n continue\n elif Q[i[0]][i[1]] != path[i[0]][i[1]]:\n ans += 1\nprint(ans)\n ', "print(input().replace(',',' '))"] | ['Runtime Error', 'Accepted'] | ['s080730961', 's830692308'] | [3188.0, 2940.0] | [25.0, 17.0] | [1002, 31] |
p03834 | u368796742 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().replace(","," ")', 'print(input().replace(","," "))\n'] | ['Runtime Error', 'Accepted'] | ['s103414022', 's384391887'] | [2940.0, 2940.0] | [17.0, 17.0] | [30, 32] |
p03834 | u369338402 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s=input()\nprint(s[0:4]+' '+s[6:12]+' '+s[14:18])", "s=input()\nprint(s[0:5]+' '+s[6:13]+' '+s[14:19])"] | ['Wrong Answer', 'Accepted'] | ['s998761252', 's984012780'] | [2940.0, 2940.0] | [17.0, 19.0] | [48, 48] |
p03834 | u370429695 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().split())', 'print(input().split(","))', 's = input().split(",")\nprint(s[0],s[1],s[2])'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s089834580', 's964470997', 's469012230'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [22, 25, 44] |
p03834 | u371467115 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['pritn(input().replace(",", " "))\n', 's=input()\npritn(s.replace(",", " "))\n', 'pritn(input().replace(","," "))', 'print(input().replace(","," "))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s273625705', 's545342176', 's657083503', 's982842157'] | [2940.0, 2940.0, 2940.0, 3064.0] | [18.0, 18.0, 18.0, 18.0] | [33, 37, 31, 31] |
p03834 | u373047809 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().replace(" ",","))', 'print(input().replace(","," "))'] | ['Wrong Answer', 'Accepted'] | ['s072008102', 's016970648'] | [2940.0, 2940.0] | [17.0, 17.0] | [31, 31] |
p03834 | u375172966 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["print(str(input().split(',',' ')))\n", "print(input().replace(',', ' '))\n"] | ['Runtime Error', 'Accepted'] | ['s225478674', 's995992537'] | [2940.0, 2940.0] | [17.0, 17.0] | [35, 33] |
p03834 | u375282392 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["print(input().split(','))", "s = input().split(',')\na = ' '.join(s)\nprint(a)"] | ['Wrong Answer', 'Accepted'] | ['s314419915', 's495994770'] | [2940.0, 2940.0] | [17.0, 17.0] | [25, 47] |
p03834 | u375500286 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s=input()\nprint(s.replace("\\,"," ")', 's=input()\nprint(s.replace(","," "))'] | ['Runtime Error', 'Accepted'] | ['s466935468', 's636553943'] | [2940.0, 2940.0] | [17.0, 17.0] | [35, 35] |
p03834 | u389910364 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["import functools\n\nimport os\nimport sys\n\nsys.setrecursionlimit(10000)\nINF = float('inf')\n\n\ndef inp():\n return int(input())\n\n\ndef inpf():\n return float(input())\n\n\ndef inps():\n return input()\n\n\ndef inl():\n return list(map(int, input().split()))\n\n\ndef inlf():\n return list(map(float, input().split()))\n\n\ndef inls():\n return input().split()\n\n\ndef inpm(line):\n return [inp() for _ in range(line)]\n\n\ndef inpfm(line):\n return [inpf() for _ in range(line)]\n\n\ndef inpsm(line):\n return [inps() for _ in range(line)]\n\n\ndef inlm(line):\n return [inl() for _ in range(line)]\n\n\ndef inlfm(line):\n return [inlf() for _ in range(line)]\n\n\ndef inlsm(line):\n return [inls() for _ in range(line)]\n\n\ndef Yesif(cond):\n print('Yes' if cond else 'No')\n\n\ndef YESIF(cond):\n print('YES' if cond else 'NO')\n\n\ndef yesif(cond):\n print('yes' if cond else 'no')\n\n\ns = input()\nprint(s[0:5], s[5:5+7], s[-5:])\n", "import functools\n\nimport os\nimport sys\n\nsys.setrecursionlimit(10000)\nINF = float('inf')\n\n\ndef inp():\n return int(input())\n\n\ndef inpf():\n return float(input())\n\n\ndef inps():\n return input()\n\n\ndef inl():\n return list(map(int, input().split()))\n\n\ndef inlf():\n return list(map(float, input().split()))\n\n\ndef inls():\n return input().split()\n\n\ndef inpm(line):\n return [inp() for _ in range(line)]\n\n\ndef inpfm(line):\n return [inpf() for _ in range(line)]\n\n\ndef inpsm(line):\n return [inps() for _ in range(line)]\n\n\ndef inlm(line):\n return [inl() for _ in range(line)]\n\n\ndef inlfm(line):\n return [inlf() for _ in range(line)]\n\n\ndef inlsm(line):\n return [inls() for _ in range(line)]\n\n\ndef Yesif(cond):\n print('Yes' if cond else 'No')\n\n\ndef YESIF(cond):\n print('YES' if cond else 'NO')\n\n\ndef yesif(cond):\n print('yes' if cond else 'no')\n\n\ns = input()\nprint(s.replace(',',' '))\n"] | ['Wrong Answer', 'Accepted'] | ['s937345790', 's732373998'] | [3572.0, 3572.0] | [24.0, 24.0] | [918, 912] |
p03834 | u391328897 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(" ".join(input().split()))\n', 's = input().split()\nprint(" ".join(s))\n', 'print(*inpur().split(","))', 'print(*input().split(","))'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s259409958', 's577263374', 's958855441', 's820216680'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 18.0] | [33, 39, 26, 26] |
p03834 | u392361133 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = input()\ns.replace(",", \' \')\nprint(s)\n', 'a, b, c = input().split(",")\nprint(a, b, c)\n'] | ['Wrong Answer', 'Accepted'] | ['s420828031', 's362347557'] | [2940.0, 9016.0] | [17.0, 25.0] | [41, 45] |
p03834 | u396495667 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a,b,c = map(input().split(","))\nprint(A,b,c)', 'a,b,c = map(int().split(","))\nprint(A,b,c)', 'a,b,c = map(input().split(","))\nprint(a,b,c)', "s = input()\nprint(s.replace(',',' '))"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s663155920', 's786658990', 's790649401', 's402988195'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [44, 42, 44, 37] |
p03834 | u397953026 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s=str(input())\nfor i in s:\n if s[i]==",":\n s=s[:i]+" "+s[i+1:]\nprint(s)', 's=str(input())\nfor i in range(len(s)):\n if s[i]==",":\n s=s[:i]+" "+s[i+1:]\nprint(s)'] | ['Runtime Error', 'Accepted'] | ['s041058572', 's874384622'] | [2940.0, 3064.0] | [17.0, 17.0] | [81, 93] |
p03834 | u401183062 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | [" string = input()\n\n ans = string.replace(',', ' ')\n print(ans)", "string = input()\n\nans = string.replace(',', ' ')\nprint(ans)"] | ['Runtime Error', 'Accepted'] | ['s894680165', 's382521677'] | [8808.0, 8856.0] | [24.0, 29.0] | [71, 59] |
p03834 | u403984573 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a=input().split()\nprint(a[0:4]+" "+a[6:12]+" "+a[13:17])', "print(input().replace(',', ' '))\n"] | ['Runtime Error', 'Accepted'] | ['s303961827', 's867462247'] | [2940.0, 2940.0] | [18.0, 17.0] | [56, 33] |
p03834 | u403986473 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['K, S = map(int, input().split())\nOK = 0\nfor x in range(K+1):\n if(0<=S-x & S-x<=2*K): \n if(S-x<=K): \n OK += S-x+1\n else: \n OK += (K-((S-x)-K))+1\nprint(OK)', "s = input().split(',')\nprint(s[0] +' '+ s[1] + ' ' + s[2])"] | ['Runtime Error', 'Accepted'] | ['s958367009', 's875082419'] | [3060.0, 3064.0] | [17.0, 17.0] | [261, 58] |
p03834 | u408375121 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s = input()\nprint(s, sep=' ')", "s = input()\ns.replace(',', ' ')\nprint(s)\n", "s = input()\nprint(s.replace(',', ' '))\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s288839970', 's895872947', 's408902151'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [29, 41, 39] |
p03834 | u409064224 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["a = list(map(str,input().split()))\na = ' '.join(a)\nprint(a)", "a = str(input())\na = a.replace(',',' ')\nprint(a)\n"] | ['Wrong Answer', 'Accepted'] | ['s761328885', 's729870247'] | [2940.0, 2940.0] | [17.0, 17.0] | [59, 49] |
p03834 | u416773418 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a=input()\nprint(a[:5]+a[6:13]+a[14:])', "a=input()\nprint(a[:5]+' '+a[6:13]+' '+a[14:])"] | ['Wrong Answer', 'Accepted'] | ['s851789367', 's257635798'] | [2940.0, 2940.0] | [18.0, 17.0] | [37, 45] |
p03834 | u419963262 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['X=list(map(int,input().split()))\n\nif X[2]-X[0]==0:\n if X[3]-X[1]>0:\n q=X[3]-X[1]\n U="U"\n D="D"\n else:\n q=X[1]-X[3]\n U="U"\n D="D"\n print(U*(q+1)+R*2+D*(q+2)+L*2+U+L+U*q+R*2+D*q+L)\n\nif X[3]-X[1]==0:\n if X[2]-X[0]>0:\n p=X[2]-X[0]\n R="R"\n L="L"\n else:\n p=X[0]-X[2]\n R="L"\n L="R"\n print(R*(p+1)+U*2+L*(p+2)+D*2+R+D+R*p+U*2+L*p+D)\n \nif X[2]-X[0]!=0 and X[3]-X[1]!=0\n if X[2]-X[0]>0:\n p=X[2]-X[0]\n R="R"\n L="L"\n else:\n p=X[0]-X[2]\n R="L"\n L="R"\n if X[3]-X[1]>0:\n q=X[3]-X[1]\n U="U"\n D="D"\n else:\n q=X[1]-X[3]\n U="D"\n D="U"\n 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) \nX=list(map(int,input().split()))\n\nif X[2]-X[0]==0:\n if X[3]-X[1]>0:\n q=X[3]-X[1]\n U="U"\n D="D"\n else:\n q=X[1]-X[3]\n U="U"\n D="D"\n print(U*(q+1)+R*2+D*(q+2)+L*2+U+L+U*q+R*2+D*q+L)\n\nif X[3]-X[1]==0:\n if X[2]-X[0]>0:\n p=X[2]-X[0]\n R="R"\n L="L"\n else:\n p=X[0]-X[2]\n R="L"\n L="R"\n print(R*(p+1)+U*2+L*(p+2)+D*2+R+D+R*p+U*2+L*p+D)\nif X[2]-X[0]!=0 and X[3]-X[1]!=0:\n if X[2]-X[0]>0:\n p=X[2]-X[0]\n R="R"\n L="L"\n else:\n p=X[0]-X[2]\n R="L"\n L="R"\n if X[3]-X[1]>0:\n q=X[3]-X[1]\n U="U"\n D="D"\n else:\n q=X[1]-X[3]\n U="D"\n D="U"\n 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) ', 'S=input()\nprint(S.replace(","," "))'] | ['Runtime Error', 'Accepted'] | ['s615135948', 's777899820'] | [3064.0, 2940.0] | [17.0, 17.0] | [1628, 35] |
p03834 | u429995021 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['def main():\n sx,sy,tx,ty = map(int,input().split())\n\n root = ""\n\n # first\n for n in range(tx - sx):\n root += "R"\n for n in range(ty - sy):\n root += "U"\n\n # first back\n for n in range(tx - sx):\n root += "L"\n for n in range(ty - sy):\n root += "D"\n\n # first\n root += "D"\n for n in range(tx - sx + 1):\n root += "R"\n for n in range(ty - sy + 1):\n root += "U"\n root += "L"\n\n # first back\n root += "U"\n for n in range(tx - sx + 1):\n root += "L"\n for n in range(ty - sy + 1):\n root += "D"\n root += "R"\n\n print(root)\n\nif __name__ == "__main__":\n main()\n', 'def main():\n s = input().split(\',\')\n s = \' \'.join(s)\n print(s)\n\nif __name__ == "__main__":\n main()\n'] | ['Runtime Error', 'Accepted'] | ['s712424837', 's382349936'] | [3192.0, 3192.0] | [23.0, 22.0] | [660, 111] |
p03834 | u434282696 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s=input()\ns[5]=' '\ns[13]=' '\nprint(s)", "s=input()\nprint(s[0:5]+' '+s[6:13]+' '+s[14:19])"] | ['Runtime Error', 'Accepted'] | ['s962080881', 's178213561'] | [2940.0, 2940.0] | [17.0, 17.0] | [37, 48] |
p03834 | u439392790 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["a,b,c=map(str,input.split())\nprint('a'+ 'b'+ 'c')", "s=str(input())\nprint(s.replace(',',' '))"] | ['Runtime Error', 'Accepted'] | ['s804205535', 's845210563'] | [2940.0, 2940.0] | [20.0, 18.0] | [49, 40] |
p03834 | u440129511 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s1,s2,s3=list(map(str,input().split(',')))\nprint(s1 +''+ s2 +''+ s3)", 's1,s2,s3=list(map(str,input().split(,)))\nprint(s1 , s2 , s3)', "s1,s2,s3=list(map(str,input().split(,)))\nprint(s1 +''+ s2 +''+ s3)", "s1,s2,s3=list(map(str,input().split()))\nprint(s1[:5] +''+ s2[:7] +''+ s3[:5])", "s1,s2,s3=list(map(str,input().split(',')))\nprint(s1 , s2 , s3)"] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s058208399', 's380764330', 's657369419', 's839897393', 's592792391'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [68, 60, 66, 77, 62] |
p03834 | u442855260 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["A,B,C=input().split(',')", "A,B,C=input().split(',')\nprint(A,B,C)"] | ['Wrong Answer', 'Accepted'] | ['s729220886', 's458778897'] | [2940.0, 2940.0] | [17.0, 17.0] | [24, 37] |
p03834 | u446828107 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a, b, c = map(input().split(,))\nprint(a, b, c)', 'a, b, c = input().split(,)\nprint(a, b, c)', 'a, b, c = input().split(",")\nprint(a, b, c)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s174419331', 's418520715', 's920993432'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [46, 41, 43] |
p03834 | u453500284 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['a, b, c = input().split()\nprint(a, b, c)', "print(*input().split(','))"] | ['Runtime Error', 'Accepted'] | ['s930594475', 's225391927'] | [2940.0, 2940.0] | [23.0, 17.0] | [40, 26] |
p03834 | u453683890 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["line = input().split(' ')\nprint(line[0],line[1],line[2])", "line = input().split(',')\nprint(line[0],line[1],line[2])\n"] | ['Runtime Error', 'Accepted'] | ['s222157929', 's108429706'] | [2940.0, 2940.0] | [18.0, 17.0] | [56, 57] |
p03834 | u453815934 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["a,b,c = input()split(',')\nprint(a,b,c)", 'a,b,c = input().split(,)\nprint(a,b,c)', "a,b,c = input().split(',')\nprint(a,b,c)"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s242178127', 's462344304', 's123692495'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [38, 37, 39] |
p03834 | u457960175 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['s = input()\nprin(s.replace(","," ")', "a = input()\nprint(a.replace(',',' ')", "s = str(input())\nprint(s.replace(',',' ')", 's = input()\nprint(s.replace(","," ")', 's = input().replace(","," ")\nprint(s)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s251358804', 's519392417', 's542868148', 's622716089', 's299859939'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 17.0] | [35, 36, 41, 36, 37] |
p03834 | u458396858 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['k = int(input())\ns = int(input())\n\nans = 0\n\nfor x in range(k+1):\n for y in range(k+1):\n r = s - (x + y)\n if r >= 0 and r <= k:\n ans += 1\n\nprint(ans)\n \n\t\n', 'sentence = input()\nprint(sentence.replace(",", " "))'] | ['Runtime Error', 'Accepted'] | ['s474100877', 's588881831'] | [2940.0, 2940.0] | [17.0, 17.0] | [168, 52] |
p03834 | u475179653 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ["s=input()\ns.replace(',',' ')\nprint(s)", "s=input()\na=s.replace(',',' ')\nprint(a)"] | ['Wrong Answer', 'Accepted'] | ['s672408554', 's675799994'] | [2940.0, 2940.0] | [17.0, 17.0] | [37, 39] |
p03834 | u475966842 | 2,000 | 262,144 | As a New Year's gift, Dolphin received a string s of length 19. The string s has the following format: `[five lowercase English letters],[seven lowercase English letters],[five lowercase English letters]`. Dolphin wants to convert the comma-separated string s into a space-separated string. Write a program to perform the conversion for him. | ['print(input().replace(" ",","))', 'print(input().replace(","," "))'] | ['Wrong Answer', 'Accepted'] | ['s654984511', 's497105908'] | [2940.0, 2940.0] | [18.0, 17.0] | [31, 31] |