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
p03041
u302292660
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k = map(int,input().split())\ns = input()\ns[k-1] = s[k-1].lower()\nprint(s)', 'n,k = map(int,input().splt())\ns = list(input())\ns[k-1] = s[k-1].lower()\ns ="".join(s)\nprint(s)', 'n,k = map(int,input().split())\ns = list(input())\ns[k-1] = s[k-1].lower()\ns ="".join(s)\nprint(s)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s511744836', 's874034025', 's053674724']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[75, 94, 95]
p03041
u303059352
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n, k = map(int, input().split())\ns = input()\ns[k - 1] = s[k - 1].lower()\nprint(s)', 'n, k = list(map(int, input().split()))\ns = input()\ns[k - 1].lower()\nprint(s)', 'n, k = map(int, input().split())\ns = input()\nprint(s[:k - 1] + s[k - 1].lower() + s[k:])']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s814438637', 's952432959', 's869156433']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[81, 76, 88]
p03041
u304590784
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N,K = map(int,input().split())\nS = []\nS[K-1] = S[K-1].lower()\nprint(S)', "N,K = map(int,input().split())\nS = list(input())\nS[K-1] = S[K-1].lower()\nprint(''.join(S))"]
['Runtime Error', 'Accepted']
['s613059728', 's212643563']
[9160.0, 9108.0]
[27.0, 31.0]
[70, 90]
p03041
u309120194
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = map(int, input().split())\n\nif S[K-1] == 'A': rep = 'a'\nelif S[K-1] == 'B': rep = 'b'\nelse: rep = 'c'\n \nprint(S[:K] + rep + S[K+1:])\n ", "N, K = map(int, input().split())\nS = input()\n\nif S[K-1] == 'A': rep = 'a'\nelif S[K-1] == 'B': rep = 'b'\nelse: rep = 'c'\n \nprint(S[:K] + rep + S[K+1:])", 'N,K...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s016656623', 's963086595', 's128494277']
[9108.0, 9000.0, 9164.0]
[21.0, 23.0, 31.0]
[142, 151, 140]
p03041
u309834353
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["n, k = map(int, input().split())\ns = input()\ns = list(s)\ns[k] = s[k].lower()\nprint(''.join(s))", "n, k = map(int, input().split())\ns = input()\ns = list(s)\ns[k-1] = s[k-1].lower()\nprint(''.join(s))"]
['Runtime Error', 'Accepted']
['s742060230', 's940388208']
[2940.0, 2940.0]
[17.0, 18.0]
[94, 98]
p03041
u310381103
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N,K=list(map(int,input().split()))\nS=input()\nif S[K-1]=='A':\n S[K-1]='a'\nif S[K-1]=='B':\n S[K-1]='b'\nif S[K-1]=='C':\n S[K-1]='c'\nprint(S)", 'N,K=list(map(int,input().split()))\nS=list(input())\nif S[K-1]==\'A\':\n S[K-1]="a"\nif S[K-1]==\'B\':\n S[K-1]=\'b\'\nif S[K-1]==\'C\':\n S[K-1]=\'c\'...
['Runtime Error', 'Accepted']
['s730072586', 's616531652']
[2940.0, 3060.0]
[17.0, 17.0]
[146, 161]
p03041
u311669106
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k=map(int,input().split())\ns=list(input())\ns[k-1]=s[k-1].lower()\nprint("".join())', 'n,k=map(int,input().split())\ns=list(input())\ns[k-1]=s[k-1].lower()\nprint("".join(s))']
['Runtime Error', 'Accepted']
['s066376862', 's575041518']
[2940.0, 2940.0]
[17.0, 16.0]
[83, 84]
p03041
u312283004
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["n, k = map(int, input().split())\ns = input()\nif s[k-1] == 'A' :\n print(s[:k-2] + 'a' + s[k:n])\nelif s[k-1] == 'B' :\n print(s[:k-2] + 'b' + s[k:n])\nelse :\n print(s[:k-2] + 'c' + s[k:n])\n", "n, k = map(int, input().split())\ns = input()\nif s[k-1] == 'A' :\n print(s[:k-2] + 'a' + s[k:n])\nelif s[k-1] == 'B'...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s571005902', 's621315045', 's986135267', 's937547315']
[3060.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[188, 202, 207, 85]
p03041
u313498252
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["n, k = map(int, input().split())\n\ns = list(input())\n\ns[k] = s[k].lower()\na = ''.join(s)\n\nprint(a)", "n, k = map(int, input().split())\n\ns = list(input())\n\ns[k-1] = s[k-1].lower()\na = ''.join(s)\n\nprint(a)"]
['Runtime Error', 'Accepted']
['s612615458', 's224497489']
[9056.0, 9072.0]
[26.0, 22.0]
[97, 101]
p03041
u316322317
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k=map(int,input().split())\ns=input()\ns[k-1].lower()\nprint(s)', 'n,k=map(int,input().split())\ns=input()\ns_list=list(s)\ns_list[k-1]=s_list[k-1].lower()\ns_changed="".join(s_list)\nprint(s_changed)\n']
['Wrong Answer', 'Accepted']
['s847392019', 's611066374']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 129]
p03041
u316603606
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N,K = map (int, input ().split ())\na = input ()\na = a.replace(a[K-1], '')\nprint (a)", "N,K = map (int, input ().split ())\na = input ()\nif a[K-1] == 'A':\n print (a[:K-1]+'a'+a[K:])\nelif a[K-1] == 'B':\n print (a[:K-1]+'b'+a[K:])\nelse:\n print (a[:K-1]+'c'+a[K:])"]
['Wrong Answer', 'Accepted']
['s097054076', 's807929997']
[9156.0, 9116.0]
[31.0, 27.0]
[83, 175]
p03041
u321605735
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['data=input().split()\nN=int(data[0])\nK=int(data[1])\nS=input()\ns=list(S)\ns[K]=S[K].lower()\nprint("".join(s))', 'data=input().split()\nN=int(data[0])\nK=int(data[1])\nS=input()\ns=list(S)\ns[K-1]=S[K-1].lower()\nprint("".join(s))']
['Runtime Error', 'Accepted']
['s657350513', 's298999006']
[9104.0, 9176.0]
[31.0, 25.0]
[106, 110]
p03041
u323045245
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,m=map(int,input().split())\ns=input()\ns[m].lower()\nprint(s)', 'N, K = map(int, input().split())\nS = input()\n\nS[K-1] = S[K-1].lower()\n\nprint(S)\n', "N, K = map(int, input().split())\nS = list(input())\n\nS[K-1] = S[K-1].lower()\n\nS = ''.join(S)\nprint(S)\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s098904501', 's822736733', 's341288521']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[60, 80, 101]
p03041
u324975917
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = map(int,input().split())\nS = list(input())\nS[K-1]=S[K-1].lower()\nans=' '.join(S)\nprint(ans)", "N, K = map(int,input().split())\nS = list(input())\nS[K-1]=S[K-1].lower()\nans=''.join(S)\nprint(ans)"]
['Wrong Answer', 'Accepted']
['s622323834', 's388230536']
[2940.0, 2940.0]
[17.0, 18.0]
[98, 97]
p03041
u327532412
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = map(int, input().split())\nS = list(input())\nS[K] = S[K].lower()\nprint(''.join(S))", "N, K = map(int, input().split())\nS = list(input())\nS[K-1] = S[K-1].lower()\nprint(''.join(S))"]
['Runtime Error', 'Accepted']
['s147294132', 's257180802']
[2940.0, 2940.0]
[18.0, 17.0]
[88, 92]
p03041
u327668449
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n = int(input())\nedges = [list(map(int, input().split())) for i in range(n-1) ]\n\n# -1 -> Black, 1 -> white, 0 -> not yet\nmemo = [0 for i in range(n)]\nmemo[0] = 1\n\n# print("memo", memo)\n\ndef paint(index, node_num):\n for edge in edges:\n if (edge[0]==node_num):\n if (edge[2] % 2 == 0):\n # pri...
['Runtime Error', 'Accepted']
['s417398251', 's027538587']
[3192.0, 3060.0]
[17.0, 17.0]
[1211, 181]
p03041
u329058683
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['a,b=input().split()\ns=list(input())\nli=[l.replace(s[int(b)-1],str.lower(s[int(b)-1])) for l in s]\nfor v in li:\n print(v, end="")', 'a=input().split\ns=input()\nprint(a)\nprint(s)', 'a,b=input().split()\ns=list(input())\nprint([l.replace(s[int(b)],str.lower(s[int(b)])) for l in s])', 'a,b=input().split()\ns=list(...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s180291392', 's196483449', 's238088226', 's749423824', 's908076555', 's039396130']
[2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[129, 43, 97, 101, 159, 78]
p03041
u329455846
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N , K = map(int,input().split())\nstr_t = list(input())\nans =''\nfor i in range(len(str_t)):\n if i == K:\n ans += str_t[i].lower()\n else:\n ans += str_t[i].upper()\nprint(ans)", "N , K = map(int,input().split())\nstr_t = list(input())\nans =''\nK = K-1\nfor i in range(len(str_t)):\n if i == ...
['Wrong Answer', 'Accepted']
['s976906064', 's616111609']
[2940.0, 3060.0]
[17.0, 17.0]
[190, 198]
p03041
u329731898
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N,K=(int(x) for x in input().split())\nS=input()\nSa=S[0:K-2]+str(S[K-1].lower())+S[K:N-1]\nprint(Sa)', 'N,K=(int(x) for x in range(input().split()))\nS=input()\nprint(S.replace(S[K-1],S[K-1].lower()))', 'N,K=(int(x) for x in input().split())\nS=input()\nS[K-1]=S[K-1].lower()\nprint(S)', '\n\n#include <algorithm>\n#i...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s034954882', 's263230977', 's476592183', 's859198617', 's910067739']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[98, 94, 78, 353, 94]
p03041
u331381193
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["n,k=map(int,input().split())\ns=input()\n\nres=''\nfor i in range(n):\n\tif i==k:\n\t\tres=res+s[i].lower()\n\telse:\n\t\tres=res+s[i]\nprint(res)", "n,k=map(int,input().split())\ns=input()\n\nres=''\nfor i in range(n):\n\tif i==k-1:\n\t\tres=res+s[i].lower()\n\telse:\n\t\tres=res+s[i]\nprint(res)"]
['Wrong Answer', 'Accepted']
['s427702021', 's172732675']
[3064.0, 2940.0]
[17.0, 17.0]
[131, 133]
p03041
u331997680
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = map(int, input().split())\nS = list(input())\nS[K-1].lower()\nC = ''.join(S)\nprint(C)\n", 'N,K = map(int, input().split())\nS = input()\nprint(S[:,K+1]+S[K+1].lower()+S[K+2,:])', 'N,K = map(int, input().split())\nS = input()\nprint(S[:K-1]+S[K-1].lower()+S[K:])\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s335258589', 's599342408', 's750333185']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[90, 83, 80]
p03041
u334202112
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k = [ int(i) for i in input().split(" ") ]\ns = input()\nprint(s[:k] + s[k].lower() + s[k+1:])', 'n,k = [ int(i) for i in input().split(" ") ]\ns = input()\nprint(s[:k-1] + s[k-1].lower() + s[k:])']
['Runtime Error', 'Accepted']
['s862682340', 's536135948']
[2940.0, 2940.0]
[22.0, 26.0]
[94, 96]
p03041
u336721073
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int, input().split(" "))\nS = input()\n\nalp = S[K-1]\nif alp == "A":\n S[K-1] = "a"\nelif alp == "B":\n S[K-1] = "b"\nelse:\n S[K-1] = "c"\n \nprint(S)', 'N, K = map(int, input().split(" "))\nS = input()\n\nalp = S[K-1]\nif alp == "A":\n print(S[:K-1] + "a" + S[K:])\nelif alp == "B":\n print(S[:K-1]...
['Runtime Error', 'Accepted']
['s053350584', 's973959869']
[2940.0, 3060.0]
[18.0, 17.0]
[156, 195]
p03041
u337820403
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n, k = map(int, input().split())\ns = input()\n\nfor i in s:\n if s.index(i) == k-1:\n print(i.lower(), end="")\n continue\n print(i, end="")', 'n, k = map(int, input().split())\ns = list(input())\ns[k-1] = s[k-1].lower()\nprint("".join(s))']
['Wrong Answer', 'Accepted']
['s570864135', 's229193834']
[2940.0, 2940.0]
[17.0, 17.0]
[154, 92]
p03041
u344748592
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['b=int(input())\nc=input()\nc=c.replace(c[b-1],c[b-1].lower())\nprint(c)', 'a=int(input())\nb=int(input())\nc=input()\nc=c.replace(c[b-1],c[b-1].lower())\nprint(c)', 'c=c.replace(c[b-1],c[b-1].upper())', 'N, K = map(int, input().split())\nS = input()\nK -= 1\nanswer = S[:K] + S[K].lower() + S[K+1:]\nprint(answer)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s536335308', 's770239185', 's861801963', 's566080647']
[9036.0, 9028.0, 9012.0, 9092.0]
[20.0, 25.0, 23.0, 26.0]
[68, 83, 34, 105]
p03041
u350093546
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['a,b=map(int,input().split())\ns=input()\ns=s[b-1].lower()\nprint(s)', 'a,b=map(int,input().split())\ns=input()\ns[b-1]=s[b-1].lower()\nprint(s)\n', 'n,k=map(int,input().split())\ns=input()\ns[k-1]=s[k-1].lower()\nprint(s)', 'n,k=map(int,input().split())\ns=input()\nprint(s[:k-1]+s[k-1].lower()+s[k:])']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s002441660', 's706125469', 's953495218', 's594596752']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[64, 70, 69, 74]
p03041
u350667455
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int, input().split())\nS = input()\nprint(S[:K-1] + S[K-1].lower() + S[:K])', "s = list('ABC')\nn = 3\nk = 1\nif s[k-1] == 'A':\n s[k-1] = 'a'\nelif s[k-1] == 'B':\n s[k-1] = 'b'\nelse:\n s[k-1] = 'c'\nprint (s)", 's = list(\'ABC\')\nn = 3\nk = 1\nif s[k-1] == \'A\':\n s[k-1] = \'a\'\nelif s[k-...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s688842561', 's767763866', 's788544414', 's595389813']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0]
[84, 132, 133, 84]
p03041
u350697094
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K =map((int, input().split())\nS=list(input())\nS[K] = S[K].lower()\nprint(str(S))', "N, K=map(int,input().split())\nS=list(input())\nS[K] = S[K].lower()\nprint(''.join(S))", "N, K=map(int,input().split())\nS=list(input())\nS[K-1] = S[K-1].lower()\nprint(''.join(S))"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s547200707', 's979038337', 's719782453']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[82, 83, 87]
p03041
u352402050
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = map(int, input().split())\nS = list(str(input()))\n\nS[N-1] = S[N-1].lower()\n\ns = ''.join(S)\nprint(s)", "N, K = map(int, input().split())\nS = list(str(input()))\n\nS[K-1] = S[K-1].lower()\n\ns = ''.join(S)\nprint(s)\n"]
['Wrong Answer', 'Accepted']
['s000130109', 's312968867']
[2940.0, 3316.0]
[17.0, 21.0]
[105, 106]
p03041
u353241315
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["if __name__ == '__main__':\n N, K = map(int, input().split())\n S = list(str(input()))\n s = S[K]\n S[K] = s.lower()\n print(''.join(S))", "if __name__ == '__main__':\n N, K = map(int, input().split())\n S = list(str(input()))\n s = S[K-1]\n S[K-1] = s.lower()\n print(''.join(S))"]
['Runtime Error', 'Accepted']
['s216882537', 's297202807']
[2940.0, 2940.0]
[17.0, 17.0]
[146, 150]
p03041
u354567428
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["n,k=map(int,input())\ns=list(input())\ns[k-1]=s[k-1].lower()\nprint(''.join(s))", "n,k=map(int,input())\ns=list(input())\ns[k-1]=s[k-1].lower()\nprint(''.join(s))\n", "n,k=map(int,input().split())\ns=list(input())\ns[k-1]=s[k-1].lower()\nprint(''.join(s))\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s205034140', 's382826315', 's429699450']
[3064.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[76, 77, 85]
p03041
u355154595
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["n=int,input()\nk=int,input()\ns=input()\nS='s[0:k-1]' + 's[k-1].lower()' + 's[k:]'\nprint(S)\n", "n=int,input(4)\nk=int,input(3)\ns=input(CABA)\nS='s[0:k-2]'+'s[k-1].swapcase()'+'s[k:]'\nprint(S)\n", "n=int,input()\nk=int,input()\ns=input()\nS='s[0:k-2]'+'s[k-1].swapcase()'+'s[k:n]'\nprint(S)", 'n=int,input()\nk=int,...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s238840556', 's386443158', 's397132679', 's659094216', 's790682246', 's813174961', 's113705929']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0]
[89, 94, 88, 79, 85, 85, 80]
p03041
u357751375
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k = map(int,input().split())\ns = input()\ns[k-1] = s[k-1].lower()\nprint(s)', 'n,k = map(int,input().split())\ns = input()\ns[k-1] = s.lower(s[k-1])\nprint(s)', "n,k = map(int,input().split())\ns = list(input())\n\ns[k-1] = s[k-1].lower()\nprint(''.join(s))"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s223168947', 's811990490', 's342613053']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[75, 76, 91]
p03041
u358791207
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k = map(int, input().split())\ns = input()\n\nb = ""\nfor i in range(n):\n if i == k-1:\n b += s[i].lower\n else:\n b += s[i]\n \nprint(b)', 'n,k = map(int(), input().split())\ns = input()\n\nb = ""\nfor i in range(n):\n if i == k-1:\n b += s[i].lower\n else:\n b += s[i]\n \nprint(b)', 'n,k = ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s201243554', 's944291171', 's208942093']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[141, 143, 143]
p03041
u358957649
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = input().split()\nS = input()\n\nif K==1 :\n str1 = ''\nelse :\n str1 = S[0:K-2]\n\nif K==N:\n str3 = ''\nelse :\n str3 = S[K:N]\n\nbefore = S[K-1]\nstr2 = before.lower()\n\nprint(str1+str2+str3)", "#INPUT\n#N K\n#S\n\n\n\n\n\n#ex\n#3 1\n#ABC\n\n#OUTPUT\n\n\nN, K = map(int, input().split())\nS = in...
['Runtime Error', 'Accepted']
['s636725617', 's983205236']
[3060.0, 3060.0]
[17.0, 17.0]
[197, 410]
p03041
u360090862
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N,M=[int(i) for i in input().split()]\nS=input()\nprint(S[:M-1]+S[M-1].lower()+S[M:]', 'N,M=[int(i) for i in input().split()]\nS=input()\nprint(S[:M-1]+S[M-1].lower()+S[M:])']
['Runtime Error', 'Accepted']
['s739322582', 's839727294']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 83]
p03041
u360613784
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N = int(input())\nK = int(input())\nS = [input()]\n\nS[K - 1] = S[K - 1].lower()\nprint(''.join(S))\n", "N = input()\nK = input()\nS = list(input())\n\nS[K - 1] = S[K - 1].lower()\nprint(''.join(S))\n", 's = list(str(i) for i input().split())\nn = int(input())\nk = int(input())\n\ns = s[k]\ns = s.lower()\nprint(s)\n'...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s011188894', 's060420090', 's275179398', 's381176460', 's449245227', 's740946175', 's746558150', 's794928454', 's803937641', 's816152581', 's890531812', 's984241805', 's619504972']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[95, 89, 106, 52, 65, 49, 37, 51, 102, 106, 48, 38, 106]
p03041
u362563655
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int, input().split())\ns = str(input())\nss = list(s)\nss[K-1] == ss[K-1].lower()\nprint("".join(ss))', 'N, K = map(int, input().split())\ns = input()\nlist = list(s)\nlist[K-1] == list[K-1].lower\nprint("".join(list))', 'N, K = map(int, input().split())\ns = str(input())\nss = list(s)\nss[K-1] = ss[K-1].l...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s136165418', 's595248911', 's651672795']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[108, 109, 108]
p03041
u363237465
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['a = input().split()\nN, K = int(a[0]), int(a[1])\nS = input()\nS_list = list(S)\nS_list[K-1]=S_list[K-1].lower()\nS = "".join(S_list)\nS', 'a = input().split()\nN, K = int(a[0]), int(a[1])\nS = input()\nS_list = list(S)\nS_list[K-1]=S_list[K-1].lower()\nS = "".join(S_list)\nprint(S)']
['Wrong Answer', 'Accepted']
['s117319455', 's069533346']
[2940.0, 2940.0]
[17.0, 17.0]
[130, 137]
p03041
u363836311
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["n,k=map(int, input().split())\ns=str(input())\nS=list(s)\nif S[k-1]=='A':\n S[k-1]='a'\nelif S[k-1]=='B':\n S[k-1]='b'\nelse:\n S[k-1]='c'\nprint(','.join(S))", "n,k=map(int, input().split())\ns=str(input())\nS=list(s)\nif S[k]=='A':\n S[k]='a'\nelif S[k]=='B':\n S[k]='b'\nelse:\n S[k]='c'\nprint(','.join(S))",...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s508068975', 's735860317', 's352637885']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 18.0]
[152, 142, 151]
p03041
u364642100
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int, input().split())\nS = list(input())\nif S[K-1] == "A":\n S[K-1] = "a"\nelif S[K-1] == "B":\n S[K-1] = "b"\nelse:\n S[K-1] = "c"\nprint(str(S))\n', 'N, K = map(int, input().split())\nS = input()\nif S[K-1] == "A":\n S[K-1] = "a"\nelif S[K-1] == "B":\n S[K-1] = "b"\nelif S[K-1] == "C":\n S[K-1] = ...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s224733520', 's301609675', 's373591454', 's732591310', 's831278787', 's937811855', 's947625419', 's060838372']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0]
[154, 174, 141, 143, 149, 148, 132, 168]
p03041
u367147039
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k=map(int,input().split())\ns=input()\n\nprint(s[:k-1]+s[k-1]>lower()+s[k])\n', 'n,k=map(int,input().split())\ns=input()\n\ns1=s[:k+1]\ns2=s[k+1]\ns3=s[k+2:]\n\nif s2=="A":\n s2="a"\nelif s2=="B":\n s2="b"\nelse:\n s2="c"\n\nprint(s1+s2+s3)\n', 'n,k=map(int,input().split())\ns=input()\n\ns=s[:k-1]+s[k-1].l...
['Runtime Error', 'Runtime Error', 'Accepted']
['s758597894', 's793632615', 's266564499']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[75, 155, 81]
p03041
u368016155
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int, input().split())\nS = input()\n\nS[K-1]=S[K-1].lower()\nprint(S)', "N,K = map(int,input().split())\nS = input()\n\nse = ''\nfor i in range(N):\n if i == K-1:\n se += S[K-1].lower()\n else:\n se += S[i]\nprint(se)"]
['Runtime Error', 'Accepted']
['s748055748', 's075897895']
[2940.0, 2940.0]
[17.0, 17.0]
[76, 155]
p03041
u369320902
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["a = input().split()\nb = input()\n \nlist = list(b)\n \nfor i in list:\n if i == int(a[1]) - 1:\n list[i] = list[i].lower()\n \nprint(''.join(list))", "a = input().split()\nb = input()\n\nlist = list(b)\n\nfor i in list:\n if i == a[1] - 1:\n list[i] = list[i].lower()\n \nprint(''.join(list))", "a = inp...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s118693254', 's990250747', 's758505236']
[2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[146, 139, 143]
p03041
u370721525
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = map(int, input().split())\nS = list(input())\n\nif S[K-1] == 'A':\n S[K-1] = 'a'\nelif S[K-1] == 'B':\n S[K-1] = 'b'\nelse:\n S[K-1] = 'c'\n \nprint(S)", "N, K = map(int, input().split())\nS = list(input())\n\nif S[K-1] == 'A':\n S[K-1] = 'a'\nelif S[K-1] == 'B':\n S[K-1] = 'b'\nelse:\n S[K-1] = 'c'\n ...
['Wrong Answer', 'Accepted']
['s428209908', 's334264975']
[2940.0, 3060.0]
[17.0, 17.0]
[152, 204]
p03041
u371530330
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k = map(str, input().split())\ns = str(input()) \n\nk_lower = s[:k-1]+s[k-1].lower()+s[k:]\nprint(k_lower)', 'n,k = map(str, input().split())\ns = str(input()) \n\nk_lower = s.lower(k-1)\nprint(k_lower)\n', 's = str(input()) \n\nk_lower = s[:k-1]+s[k-1].lower()+s[k:]\nprint(k_lower)\n', 'n,k = map(int, input().spli...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s091751215', 's148783314', 's419155305', 's602719518', 's057056707']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0, 17.0]
[104, 89, 73, 106, 87]
p03041
u373046572
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['a, b = map(int, input().split())\nc = input()\nprint(c[b-1:]+str.lower(c[b-1])+c[:b])\n', 'a, b = map(int, input().split())\nc = input()\nc[b-1] += 32\nprint(c)', 'a, b = map(int, input().split())\nc = input()\nprint(c[:b-1]+str.lower(c[b-1])+c[b:])\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s443325751', 's553801690', 's674902799']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[84, 66, 84]
p03041
u373047809
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['_, k, s = map(int, open(0).read().split())\ns[k-1] = chr(ord(s[k-1])+26)\nprint(s)', '_, k, s = map(int, open(0).read().split())\ns[k-1] == chr(ord(s[k-1])+26)\nprint(s)', '_, k, s = map(int, open(0).read().split())\ns[k-1] ==chr(ord(s[k-1])+26)\nprint(s)', 'k = int(input()[2:])\ns = list(input())\ns[k-1] = chr(ord(s...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s119448347', 's495594083', 's981696402', 's049298445']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[80, 81, 80, 92]
p03041
u373111370
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['s = str(input())\nfirst = s[0] + s[1]\nsecond = s[2] + s[3]\nif int(first) <= 12 and int(first) > 0 and (int(second) > 12 or int(second) == 0):\n print("MMYY")\nelif int(second) <= 12 and int(second) > 0 and (int(first) > 12 or int(first) == 0):\n print("YYMM")\nelif int(second) <= 12 and int(second) > 0 and in...
['Runtime Error', 'Accepted']
['s548994033', 's437335094']
[3064.0, 2940.0]
[17.0, 17.0]
[391, 109]
p03041
u374146618
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n, k = [x for x in input()]\ns = input()\n\ns[k-1] = s[k-1].lower()\nprint(s)', 'n, k = [int(x) for x in input().split()]\ns = list(input())\n\ns[k-1] = s[k-1].lower()\ns = "".join(s)\nprint(s)']
['Runtime Error', 'Accepted']
['s146066184', 's363382955']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 107]
p03041
u374829922
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N , K = map(int,input().split())\nS = str(input())\n\nfor i in range(1,N+1):\n if i == K :\n S[i] = S[i].lower()\nprint(S)', 'N , K = map(int,input().split())\nS = str(input())\n\nfor i in range(1:N+1):\n if i == K :\n S[i] == S[i].lower()\nprint(S)', 'N , K = map(int,input().split())\nS = str(inp...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s105132008', 's130589726', 's229576301', 's462660489', 's849779581', 's987150552', 's780915727']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 18.0, 18.0, 17.0]
[126, 127, 116, 116, 127, 123, 143]
p03041
u379535139
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = (int(i) for i in input().split())\nS = list(input())\nprint(S)\nK -= 1\nx = S.pop(K)\n\nif x == 'A':\n x = 'a'\nelif x == 'B':\n x = 'b'\nelse:\n x = 'c'\nS.insert(K, x)\nans = ''\nfor i in S:\n ans += i\nprint(ans)", "N, K = (int(i) for i in input().split())\nS = list(input())\nprint(S)\nK -= 1\nx = S.pop...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s726436428', 's867606583', 's808482690']
[3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0]
[210, 210, 201]
p03041
u379692329
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int, input().split())\nS = input()\n\nans = S[:K-1] + S[K-1].lower() + S[K:]\nprint(ans3 1) ', 'N, K = map(int, input().split())\nS = input()\n \nans = S[:K-1] + S[K-1].lower() + S[K:]\nprint(ans) ']
['Runtime Error', 'Accepted']
['s807401779', 's032400623']
[2940.0, 2940.0]
[17.0, 17.0]
[99, 97]
p03041
u380524497
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['from collections import defaultdict\nimport sys\nsys.setrecursionlimit(10**7)\n\nn = int(input())\nseen = [-1]*(n+1)\npath = defaultdict(dict)\n\nfor _ in range(n-1):\n u, v, w = map(int, input().split())\n path[u][v] = w\n path[v][u] = w\n\n\ndef dfs(seen, pos, color):\n if seen[pos] != -1:\n retu...
['Runtime Error', 'Accepted']
['s257891906', 's206066911']
[3316.0, 3316.0]
[21.0, 22.0]
[613, 94]
p03041
u382431597
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['import sys\nn,k = list(map(int, input().split()))\ns = input()\n\nif s[k-1] == "A":\n s[k-1] = "a"\nelif s[k-1] == "B":\n s[k-1] = "b"\nelse:\n s[k-1] = "c"\n\nprint(s)', 'import sys\nn,k = list(map(int, input().split()))\ns = list(input())\n\nif s[k-1] == "A":\n s[k-1] = "a"\nelif s[k-1] == "B":\n s[k...
['Runtime Error', 'Accepted']
['s543588837', 's138577873']
[3060.0, 3060.0]
[17.0, 17.0]
[166, 181]
p03041
u382907940
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k = map(int,input().split())\ns = input()\ns[k-1] = s[k-1].lower()\nprint(s)', 'n,k = map(int,input().split())\ns = input()\nret=""\nfor i in range(n):\n if i != k-1:\n ret +=s[i]\n else:\n ret+=s[i].lower()\n\nprint(ret)']
['Runtime Error', 'Accepted']
['s929016842', 's674052489']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 140]
p03041
u383508661
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['Big=["A","B","c"]\nSmall=["a","b","c"]\n\nN,K=map(int,input().split())\nS=list(input())\n\nfor i in range(3):\n if S[K]==Big[i]:\n S[K]=Small[i]\n\nprint("".join(S))', 'N=list(input())\nMM=["01","02","03","04","05","06","07","08","09","10","11","12"]\nYY=["00","01","02","03","04","05","06","07","08","09"]\n\nfor ...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s080159421', 's865641715', 's542304925']
[3060.0, 3064.0, 3060.0]
[17.0, 17.0, 17.0]
[159, 517, 163]
p03041
u385244248
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int,input().split())\nS = input()\nS[K-1] = S[K-1].lower()\nprint(S)\n', 'N,K=map(input().split())\nS=input()\nS = S[:K] + S[K+1].lower() + S[K+2:]', 'N, K = map(int, input().split())\nS = input()\nS[K-1] = S[K-1].lower()\nprint("".join(S))', 'N,K=map(input().split())\nS=input()\nS[K-1] = S[K-1].lower()\n'...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s201303730', 's280094651', 's285488809', 's343381386', 's428852808', 's502309457', 's534264051', 's545234363', 's545945113', 's688976701', 's823932142', 's106402270']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 18.0, 17.0]
[77, 71, 86, 59, 83, 86, 77, 72, 70, 64, 85, 83]
p03041
u386249594
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['import sys\n\nS = input()\nmon30 = ["02","04","06","09","11"]\nmon31 = ["01","03","05","07","08","10","12"]\n\nf_yymm = 0\nf_mmyy = 0\n\nif (S[0]+S[1]) in mon30 and int(S[2]+S[3]) <= 30:\n\tf_yymm = 1\nelif (S[0]+S[1]) in mon31 and int(S[2]+S[3]) <= 31:\n\tf_yymm = 1\nif (S[2]+S[3]) in mon30 and int(S[0]+S[1]) <= ...
['Runtime Error', 'Accepted']
['s844686104', 's288752770']
[3064.0, 2940.0]
[17.0, 17.0]
[594, 121]
p03041
u388463553
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['S=input("Enter String: ")\nN=len(S)\nB=int(input("Enter K: "))\nK=B-1\nif N<0 or N>50:\n print("Error")\nelse:\n A=S[:K]+S[K].lower()+S[K+1:]\n print(A)', 'import sys\na=sys.stdin.readline()\nres = [int(i) for i in a.split() if i.isdigit()] \nN,K = [res[i] for i in (0,1)]\nS=sys.stdin.readline(N)\nK-=1\nif N<0 or ...
['Runtime Error', 'Accepted']
['s733819377', 's848777934']
[3064.0, 3060.0]
[17.0, 17.0]
[147, 235]
p03041
u392319141
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N , K = map(int,input().split())\nS = input()\n\nfor i in range(N) :\n if i == K - 1:\n print(S[i].replace('A','a').replace('B','b').replace('C','c'))\n else :\n print(S[i])\n", "N , K = map(int,input().split())\nS = input()\n\nif S[K] == 'A' :\n S[K] = 'a'\nif S[K] == 'B' :\n S[K] = 'b'\nif...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s375537578', 's877548566', 's266534617']
[3064.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[187, 151, 139]
p03041
u393253137
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k=map(int,input().split())\ns=input()\nprint(s[:k]+s[k-1].lower()+s[k+1:])', 'n,k=map(int,input().split())\ns=input()\nprint(s[:k-1]+s[k-1].lower()+s[k:])']
['Wrong Answer', 'Accepted']
['s393609148', 's964442485']
[2940.0, 2940.0]
[17.0, 17.0]
[74, 74]
p03041
u393881437
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n, k = list(map(int, input().split()))\ns = input()\nprint(s[:k-1]+s[k].lower()+s[k:])\n', 'n, k = list(map(int, input().split()))\ns = input()\n\n\n\nprint(s[:k-1]+s[k-1].lower()+s[k:])']
['Runtime Error', 'Accepted']
['s232492432', 's601926285']
[2940.0, 2940.0]
[17.0, 17.0]
[85, 190]
p03041
u394950523
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = list(map(int, input().split()))\nS = input()\n\nT = [s for s in S]\nprint(T)\nT[K - 1] = T[K - 1].lower()\nprint("".join(T)) ', 'N, K = list(map(int, input().split()))\nS = input()\n\nT = [s for s in S]\nT[K - 1] = T[K - 1].lower()\nprint("".join(T)) ']
['Wrong Answer', 'Accepted']
['s493872508', 's767846111']
[2940.0, 2940.0]
[17.0, 18.0]
[126, 117]
p03041
u399967254
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['def main():\n inp = input()\n temp = inp.split()\n N = int(temp[0]); K = int(temp[1])\n S = input()[:-1]\n lower = S[K-1].lower()\n ans = S[:K-1] + lower + S[K:]\n print(ans)\n \nif __name__ == "__main___":\n main()', 'def main():\n inp = input()\n temp = inp.split()\n N = int(temp[0]); K = int(temp[1])\n...
['Wrong Answer', 'Accepted']
['s946008995', 's934383535']
[2940.0, 2940.0]
[18.0, 17.0]
[214, 208]
p03041
u401949008
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['a,b=map(int,input().split())\nc=input()\nprint(c[0:b-1]+c[b-1].swapcase()+c[a-b])', 'a,b=map(int,input().split())\nc=input()\nprint(c[0:b-1]+c[b-1].swapcase()+c[b:a])']
['Wrong Answer', 'Accepted']
['s807198550', 's841269751']
[2940.0, 2940.0]
[17.0, 17.0]
[79, 79]
p03041
u402467563
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int, input().split())\nS = str(input())\nS[K] = S[K].lower()', 'N, K = map(int, input().split())\nS = str(input())\nans = ""\nfor i in range(0, K-1):\n ans.append(S[i])\nans.append(S[K].lower())\nfor j in range(K+1,N):\n ans.append(S[j])\nprint(ans)', 'N, K = map(int, input().split())\nS = str(input())\n...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s057200597', 's521545272', 's714401211', 's963367416', 's992151793', 's604507638']
[2940.0, 3060.0, 3060.0, 3060.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[69, 179, 165, 179, 78, 152]
p03041
u404198131
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["s, k = map(int, input().split())\nx = input()\n\nif x[k-1] == 'A':\n print('a')\n\nif x[k-1] == 'B':\n print('b')\n \nif x[k-1] == 'C':\n print('c')", "n, k = map(int, input().split())\ns = input()\n\nif s[k-1] == 'A':\n mid = 'a'\n\nif s[k-1] == 'B':\n mid = 'b'\n\nif s[k-1] == 'C':\n mid = 'c'\n\nans = s[:k-...
['Wrong Answer', 'Accepted']
['s302563476', 's180036938']
[3060.0, 3060.0]
[17.0, 17.0]
[142, 180]
p03041
u404678206
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['s=input()\nsf=int(s[:2])\nsl=int(s[2:])\n#print(int(sf)+int(sl))\nif (1<= sf <=12 and 1<=sl <=12):\n print("AMBIGUOUS")\nelif 1<= sf <=12 and (sl==0 or 12<sl):\n print("MMYY")\nelif 1<= sl <=12 and (sf==0 or 12<sf):\n print("YYMM")\nelse:\n print("NA")', 'n,k= map(int,input().split())\ns=input()\na=""\nfor i in r...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s073019693', 's242252900', 's657555882', 's426230394']
[3060.0, 3060.0, 3316.0, 3060.0]
[17.0, 18.0, 21.0, 17.0]
[245, 140, 68, 195]
p03041
u405660020
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k=map(int,input().split())\ns=input()\nss=s[k]\n\nprint(s[:k]+ss.lower()+s[k+1:])', 'n,k=map(int,input().split())\ns=input()\nss=s[k-1]\n\nprint(s[:(k-1)]+ss.lower()+s[k:])']
['Runtime Error', 'Accepted']
['s964689729', 's648656378']
[2940.0, 2940.0]
[17.0, 17.0]
[79, 83]
p03041
u407801149
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['total, index = map(int, input().split())\nstring = list(map(str, input().split()))\nstring[index-1] = string[index-1].lower()\nprint(string)', 'n, k = map(int, input().split())\nstring = str(input())\narr = list(string)\narr[k-1] = arr[k-1].lower()\nprint(*arr, sep="")']
['Runtime Error', 'Accepted']
['s771577462', 's230532709']
[2940.0, 2940.0]
[17.0, 17.0]
[137, 121]
p03041
u408262366
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['hoge = input().split()\nn = int(hoge[0])\nk = int(hoge[1])\ns = hoge[2]\nnew_s = s[:k-1] + s[k-1].lower() + s[k:]\nprint(new_s)', 'hoge = input().split()\ns = input()\nn = int(hoge[0])\nk = int(hoge[1])\nnew_s = s[:k-1] + s[k-1].lower() + s[k:]\nprint(new_s)']
['Runtime Error', 'Accepted']
['s730534461', 's516335710']
[3064.0, 2940.0]
[17.0, 17.0]
[122, 122]
p03041
u408375121
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int, input().split())\nS = input()\nfor i in range(N):\n if i + 1 == K:\n S[i] = S[i].lower()\n else:\n S[i] = S[i]\nprint(S)', "n, k = map(int, input().split())\ns = input()\nt = ''\nfor i in range(n):\n if i == k-1:\n t += s[i].lower()\n else:\n t += s[i]\nprint(t)"]
['Runtime Error', 'Accepted']
['s398845300', 's425256323']
[2940.0, 9068.0]
[17.0, 28.0]
[137, 138]
p03041
u408620326
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N,K=[int(x) for x in input().split()]\nS=input()\nprint(S[:K]+S[K].lower()+S[min(K+1,N-1)]:)', 'N,K=[int(x) for x in input().split()]\nS=input()\nprint(S[:K]+S[K].lower()+S[min(K+1,N-1):])', 'N,K=[int(x) for x in input().split()]\nS=input()\nprint(S[:K-1]+S[K-1].lower()+S[K:])']
['Runtime Error', 'Runtime Error', 'Accepted']
['s498106321', 's822201191', 's560445181']
[2940.0, 2940.0, 3064.0]
[17.0, 17.0, 18.0]
[90, 90, 83]
p03041
u411435121
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n, k = map(int, input().split())\ns = input()\n\ntemp = s[k].lower()\nans = s[0:k]+temp+s[k+1:]\nprint(ans)', 'n, k = map(int, input().split())\ns = input()\n\ntemp = s[k-1].lower()\nif k-1 != len(s):\n ans = s[0:k-1] + temp + s[k:]\nelse:\n ans = k[0:k-1] + temp\nprint(ans)']
['Runtime Error', 'Accepted']
['s165573973', 's701358639']
[2940.0, 3060.0]
[17.0, 19.0]
[102, 162]
p03041
u412481017
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['\na,b=map(int,input().split())\ns=input()\n\ns[b-1]=s[b-1].lower()\nprint(s)', 'a,b=map(int,input().split())\ns=input()\n \n\nprint(s[:b-1]+s[b-1].lower()+s[b:])']
['Runtime Error', 'Accepted']
['s907817072', 's995964902']
[2940.0, 2940.0]
[17.0, 17.0]
[71, 77]
p03041
u413960612
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N,K = map(int,input().split())\nS = list(input())\n\nx = S[K-1]\nx.lower()\nS[K-1] = x\n\nprint("".join(S))', 'N,K = map(int,input().split())\nS = list(input())\n\nx = S[K-1]\nS[K-1] = x.lower()\n\nprint("".join(S))']
['Wrong Answer', 'Accepted']
['s428011429', 's921071508']
[9072.0, 9164.0]
[23.0, 32.0]
[100, 98]
p03041
u414049916
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k=map(int, input().split())\nString=input()\nString=list(String)\nString[k]=String[k].lower()\nString="".join(String)\nprint(String)', 'n,k=map(int, input().split())\nString=input()\nString=list(String)\nString[k]=String[k].upper()\nString="".join(String)\nprint(String)', 'n,k=map(int, input().split())\nString=inpu...
['Runtime Error', 'Runtime Error', 'Accepted']
['s415355440', 's433653672', 's871408056']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[129, 129, 133]
p03041
u414425367
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['import sys\nsys.setrecursionlimit(100000)\n\nN=int(input())\nedges = [[] for i in range(N)]\ncolors = [-1]*N\nfor i in range(N-1):\n u,v,w=[int(a) for a in input().split()]\n edges[u-1].append((v-1,w))\n edges[v-1].append((u-1,w))\n \ndiff = lambda n: 1 if n==0 else 0\n \ndef dfs(prev,curr):\n for node,d ...
['Runtime Error', 'Accepted']
['s607216485', 's353914920']
[3064.0, 3060.0]
[17.0, 17.0]
[526, 102]
p03041
u415325136
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = map(int, input().split())\nS = input()\n\nif (S[K] == 'A'):\n S[K] = 'a'\nelif (S[K] == 'B'):\n S[K] = 'b'\nelse:\n S[K] = 'c'\n \nprintf(S)\n\n", "N, K = map(int, input().split())\nS = list(input())\n\nif (S[K] == 'A'):\n S[K] = 'a'\nelif (S[K] == 'B'):\n S[K] = 'b'\nelse:\n S[K] = 'c'\n \nans = ','...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s150425665', 's199897492', 's207184333', 's414514184', 's666805254', 's670520080', 's841104076', 's976490069', 's664726409']
[2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 3060.0, 3060.0, 3060.0, 3060.0]
[18.0, 17.0, 17.0, 17.0, 25.0, 17.0, 17.0, 17.0, 18.0]
[145, 173, 105, 144, 193, 169, 192, 170, 203]
p03041
u415905784
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int, input().split())\nS = input()\nprint(S[:K - 1] + S[K - 1].lower() + S[K])', 'N, K = map(int, input().split())\nS = input()\nprint(S[:K - 1] + S[K - 1].lower() + S[K:])']
['Runtime Error', 'Accepted']
['s143392894', 's130512583']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 88]
p03041
u425762225
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['N, K = map(int,input().split())\nS = input()\n\ns = S[:K-2] + S[K-1].lower() + S[K:]\n\nprint(s)\n\n', 'N, K = map(int,input().split())\nS = input()\n\n\nif K == 1:\n s = S[0].lower() + S[1:]\nelif K == N:\n s = S[:-1] + S[-1].lower()\nelse:\n s = S[:K-1] + S[K-1].lower() + S[K:]\n\nprint(s)\n\n']
['Wrong Answer', 'Accepted']
['s522150518', 's602635251']
[2940.0, 2940.0]
[17.0, 17.0]
[93, 182]
p03041
u428341537
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["n,k=map(int, input().split())\ns=input()\nif s[k-1]=='A':\n s=s[:k-1]+'a'+s[k:]\nif s[k-1]=='B':\n s=s[:k-1]+'b'+s[k:]\nelse:\n s=s[:k-1]+'c'+s[k:]\nprint(s)", "n,k=map(int, input().split())\ns=input()\nif s[k-1]=='A':\n s=s[:k-1]+'a'+s[k:]\nif s[k-1]=='B':\n s=s[:k-1]+'b'+s[k:]\nif s[k-1]=='C':\n s=s[:k-1]+'c'...
['Wrong Answer', 'Accepted']
['s471268061', 's630152263']
[9112.0, 9172.0]
[23.0, 29.0]
[152, 162]
p03041
u429029348
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k=map(int,input().split())\ns=input()\nans=s[k-1]+s[k-1].lower()+s[k:]\nprint(ans)', 'n, k = map(int, input().split())\ns = input()\nans = s[:k-1] + chr(ord(s[k-1])+32) + s[k:]\nprint(ans)']
['Wrong Answer', 'Accepted']
['s803719821', 's073865178']
[2940.0, 9044.0]
[17.0, 28.0]
[81, 99]
p03041
u430223993
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['a = input().split()\nn, k, s = a\nk = int(k)\nprint(s.replace(s[k-1], s[k-1].lower()))', 'n, k = [int(i) for i in input().split()]\ns = input()\nif k == 1:\n print(s[0].lower() + s[1:])\nelse:\n print(s[0:k-1] + s[k-1].lower() + s[k:])']
['Runtime Error', 'Accepted']
['s636639104', 's089130921']
[2940.0, 3316.0]
[17.0, 19.0]
[83, 146]
p03041
u430537811
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["# cook your dish here\nimport math\ndef power(x, y): \n \n if(y == 0): return 1\n temp = power(x, int(y / 2)) \n \n if (y % 2 == 0): \n return temp * temp \n else: \n if(y > 0): return x * temp * temp \n else: return (temp * temp) / x \n \nn,k=map(int,input().split())\ns...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s000535846', 's004483422', 's540288783', 's807445776', 's868646226', 's095983358']
[3064.0, 3064.0, 3060.0, 3064.0, 3064.0, 2940.0]
[18.0, 17.0, 18.0, 17.0, 17.0, 17.0]
[502, 443, 261, 462, 488, 179]
p03041
u430726059
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["s=input()\na=int(s[0:2])\nb=int(s[2:4])\nif 0<a<13:\n if 0<b<13:\n print('AMBIGUOUS')\n else:\n print('MMYY')\nelse:\n if 0<b<13:\n print('YYMM')\n else:\n print('NA')", "n,k=map(int, input().split())\ns=input()\nif s[k-1]=='A':\n print(s[0:k-1]+'a'+s[k::])\nelif s[k-1]=='B':\n print(s[0:k-1]+'b'+s[...
['Wrong Answer', 'Accepted']
['s059361444', 's891385866']
[9096.0, 9092.0]
[29.0, 28.0]
[171, 166]
p03041
u434282696
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N,K = (i for i in input().split())\nK = int(K)\nX = list(N)\nif X[K-1] == 'A':\n X[K-1] = 'a'\nif X[K-1] == 'B':\n X[K-1] = 'b'\nif X[K-1] == 'C':\n X[K-1] = 'c'\nprint(''.join(X))", "T,K = (i for i in input().split())\nN = input()\nK = int(K)\nX = list(N)\nif X[K-1] == 'A':\n X[K-1] = 'a'\nif X[K-1] == '...
['Runtime Error', 'Accepted']
['s865163968', 's601776468']
[3060.0, 3064.0]
[17.0, 17.0]
[180, 192]
p03041
u434872492
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = map(int,input().split())\nS = input()\nif S[K-1] == 'A':\n S[K-1].lower()\nelif S[K-1] == 'B':\n S[K-1].lower()\nelse:\n S[K-1].lower()\nprint(S)", "N, K = map(int,input().split())\nS = input()\nif S[K-1] == 'A':\n S[K-1] = 'a'\nelif S[K-1] == 'B':\n S[K-1] = 'b'\nelse:\n S[K-1] = 'c'\nprint(...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s321113177', 's546154421', 's205377004']
[2940.0, 2940.0, 3060.0]
[17.0, 18.0, 17.0]
[153, 147, 172]
p03041
u436982376
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["s=input()\n\na,b=int(s[0]+s[1]),int(s[2]+s[3])\n\nif b==0:\n print('NA')\nelif a==0:\n print('NA')\nelif a>12:\n if b>12:\n print('NA')\n elif 0<b<13:\n print('YYMM')\nelif 0<a<13:\n if b>12:\n print('MMYY')\n elif 0<b<13:\n print('AMBIGUOUS')\n", "n,k=map(int, input().sp...
['Runtime Error', 'Accepted']
['s621587473', 's009519182']
[2940.0, 3060.0]
[17.0, 17.0]
[273, 292]
p03041
u438189153
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k=map(int,input().split())\ns=input()\nif s[k+1]=="A":\n s[k+1]="a"\nelif s[k+1]=="B":\n s[k+1]="b"\nelif s[k+1]=="C":\n s[k+1]="c"\nprint(s)\n', 'n,k=map(int,input().split())\ns=str(input())\nif s[k+1]=="A":\n s[k+1]="a"\nelif s[k+1]=="B":\n s[k+1]="b"\nelif s[k+1]=="C":\n s[k+1]="c"\nprint(s)\n'...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s222564148', 's421005388', 's917867018', 's428270050']
[9052.0, 8928.0, 9064.0, 9184.0]
[26.0, 28.0, 23.0, 30.0]
[145, 150, 150, 160]
p03041
u440129511
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n,k= map(int,input().split())\ns=input()\nprint(s[:k-2]+s.lower()[k-1]+s[n-1:])', 'n,k= map(int,input().split())\ns=input()\nprint(s.lower()[k-1])', 'n,k= map(int,input().split())\ns=input()\nprint(s[:k-1] + s.lower()[k-1] + s[k:n])']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s821326332', 's826275153', 's356590678']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[77, 61, 80]
p03041
u440845226
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['inputstr1 = input().split()\nn = inputstr1[0]\nk = inputstr1[1]\ns = input()\n \nN = int(n)\nK = int(k)\n\nret = ""\n\nfor i in range(N):\n if i != K:\n ret += s[i]\n else:\n ret += s[i].lower()', 'import math\n\nN, K = list(map(int, input().split()))\n\nproba = 0\n\nfor i in range(1, k):\n n_coin = int(math...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s318525265', 's545575264', 's665884500', 's754160597', 's959329423', 's717479677']
[3060.0, 3316.0, 2940.0, 2940.0, 3060.0, 3064.0]
[17.0, 19.0, 17.0, 17.0, 17.0, 17.0]
[188, 216, 81, 191, 199, 202]
p03041
u442877951
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N,K = map(int,input().split())\nS = str(input())\nif S[K-1] == 'A':\n S[K-1] = 'a'\nelif S[K-1] == 'B':\n S[K-1] = 'b'\nelse:\n S[K-1] = 'c'\nprint(S)", "N,K = map(int,input().split())\nS = list(str(input()))\nif S[K-1] == 'A':\n S[K-1] = 'a'\nelif S[K-1] == 'B':\n S[K-1] = 'b'\nelse:\n S[K-1] = 'c'\nprint(''.j...
['Runtime Error', 'Accepted']
['s171371062', 's646061214']
[2940.0, 3060.0]
[17.0, 17.0]
[145, 160]
p03041
u445834666
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['\nN, K = input().split()\n\nS = list(input())\n\n\nK = int(K)\n\nS[K-1] = str(S[K-1]).lower()\n\nprint(S)', '\nN, K = input().split()\n\nS = list(input())\n\n\nK = int(K)\n\nS[K-1] = str(S[K-1]).lower()\n\nprint("".join(S))']
['Wrong Answer', 'Accepted']
['s407485707', 's925989186']
[2940.0, 2940.0]
[17.0, 17.0]
[95, 104]
p03041
u448161583
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["length, pos = input().split(' ')\nlength,pos = int(length), int(pos)\ntarget = input()\nif target[pos-1] == 'A':\n target[pos-1] = 'a'\nif target[pos-1] == 'B':\n target[pos-1] = 'b'\nif target[pos-1] == 'C':\n target[pos-1] = 'c'\n\nprint(target)\n", "length, pos = input().split(' ')\nlength,pos = int(length), in...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s061781892', 's743696036', 's865839120']
[3060.0, 2940.0, 3060.0]
[17.0, 17.0, 18.0]
[241, 241, 325]
p03041
u448655578
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['length, index = map(int, input().split())\nstring = list(input())\nstring = replace(string[index],string[index].lower())\nprint(string.join())', "N, change = map(int, input().split())\nstring = list(input())\nstring[change-1] = string[change-1].lower()\nprint(''.join(string))"]
['Runtime Error', 'Accepted']
['s553798017', 's523181002']
[2940.0, 2940.0]
[17.0, 17.0]
[139, 127]
p03041
u450147945
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
["N, K = map(int, input().split())\nS = [i for i in input()]\n\nfor i in range(65, 65+26):\n if S[K]==chr(i):\n S[K]=chr(i+32)\n\nprint(''.join(S))", "N, K = map(int, input().split())\nS = [i for i in input()]\n\nfor i in range(65, 65+26):\n if S[K-1]==chr(i):\n S[K-1]=chr(i+32)\n\nprint(''.join(S))...
['Runtime Error', 'Accepted']
['s820930267', 's469553102']
[2940.0, 3060.0]
[17.0, 18.0]
[148, 152]
p03041
u450904670
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n, k = list(map(int, input().split()))\ns = input()\ns[k-1] = s[k-1].upper()\nprint(s)', 'n, k = list(map(int, input().split()))\ns = list(input())\ns[k-1] = s[k-1].lower()\nprint("".join(s))']
['Runtime Error', 'Accepted']
['s401110340', 's060368918']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 98]
p03041
u452066060
2,000
1,048,576
You are given a string S of length N consisting of `A`, `B` and `C`, and an integer K which is between 1 and N (inclusive). Print the string S after lowercasing the K-th character in it.
['n, k = (int(i) for i in input().split()) \ns = input()\ns_ = s[:k-1] + s[k].lower() + s[k:]\nprint(s_)', 'n, k = (int(i) for i in input().split()) \ns = input()\ns_ = s[:k-1] + s[k].lower() + s[k:]\nprint(s_)', 'n, k = (int(i) for i in input().split()) \ns = input()\ns_ = s[:k-1] + s[k-1].lower() + s[k:]\nprint(s_...
['Runtime Error', 'Runtime Error', 'Accepted']
['s429245614', 's851531469', 's548286386']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[100, 100, 105]