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 |
|---|---|---|---|---|---|---|---|---|---|---|
p02817 | u127499732 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a, b = map(input())\nprint(a+b)', 'a, b = map(str,input().split())\nprint(a+b)', 'a,b = map(str,input().split())\nprint(b+a)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s433190472', 's550216553', 's075603346'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [30, 42, 41] |
p02817 | u129749062 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['A, B, K = map(int,input().split())\n for _ in range(K):\n if A >= 1:\n A -= 1\n elif B >= 1:\n B -= 1\n else:\n break\nprint(A,B)', 'S,T=input().split()\nprint(T+S)'] | ['Runtime Error', 'Accepted'] | ['s469795190', 's550146868'] | [2940.0, 2940.0] | [18.0, 17.0] | [146, 30] |
p02817 | u130900604 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t=map(str,input().split())\nprint(s+t)', 's,t=map(int,input().split())\nprint(t+s)', 's,t=map(int,input().split())\nprint(s+t)', 's,t=input().split()\nprint(t+s)'] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s084869840', 's835470186', 's836069819', 's579248051'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [39, 39, 39, 30] |
p02817 | u131881594 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a,b,k=map(int,input().split())\nif a>=k: print(a-k,b)\nelif a+b>=k: print(0,a+b-k)\nelse: print(0,0)\n', 's,t=input().split()\nprint(t+s)'] | ['Runtime Error', 'Accepted'] | ['s813409479', 's496895182'] | [9156.0, 8908.0] | [23.0, 28.0] | [98, 30] |
p02817 | u142223843 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['import math\nn = int(input()) \n\ndef is_prime(n):\n if n == 1: return True\n\n for k in range(2, int(math.sqrt(n)) + 1):\n if n % k == 0:\n return False\n return True\n\nif(is_prime(n)):\n print(n)\nelse:\n while(is_prime(n) == False):\n n = n + 1\n is_prime(n)\n print(n)\n \n ', 's = input().split()\n\nprint(s[1]+s[0])\n'] | ['Runtime Error', 'Accepted'] | ['s693547903', 's888733050'] | [3060.0, 2940.0] | [17.0, 18.0] | [320, 38] |
p02817 | u143051858 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['#S,T = map(int,input().split())\nS,T = input().split()\n#S = input()\nprint(S+T)', '#S,T = map(int,input().split())\nS,T = input().split()\n#S = input()\nprint(T+S)'] | ['Wrong Answer', 'Accepted'] | ['s879558455', 's965242081'] | [2940.0, 2940.0] | [17.0, 18.0] | [77, 77] |
p02817 | u145600939 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["print(input().replace(' ',''))", 's,t = input().split()\nprint(t+s)'] | ['Wrong Answer', 'Accepted'] | ['s409437799', 's375847273'] | [2940.0, 2940.0] | [18.0, 17.0] | [30, 32] |
p02817 | u146346223 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = input()\nprint(t+s)', 's, t = input()\nprint(t+s)', 's, t = input().split()\nprint(t+s)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s214034000', 's237937725', 's830053756'] | [2940.0, 9028.0, 9024.0] | [17.0, 29.0, 24.0] | [25, 25, 33] |
p02817 | u146348564 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a,b=input().split()\n\nprint(b,a)', 'a,b=input().split()\n\nprint(b+a)'] | ['Wrong Answer', 'Accepted'] | ['s012993870', 's511252539'] | [2940.0, 2940.0] | [17.0, 17.0] | [31, 31] |
p02817 | u149547817 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["s,t = input.split()\nprint(t,s,sep='')", "s,t = input().split()\nprint(t, s, sep='')"] | ['Runtime Error', 'Accepted'] | ['s357141038', 's856196692'] | [2940.0, 2940.0] | [17.0, 17.0] | [37, 41] |
p02817 | u150423122 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = input().split()\nprint(t+" "+s)', 's, t = input().split()\nprint(t+s)'] | ['Wrong Answer', 'Accepted'] | ['s568938104', 's694235957'] | [2940.0, 2940.0] | [17.0, 17.0] | [37, 33] |
p02817 | u151144935 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["inputValue = input()\n\noutput = ''.join(inputValue.split())\n\nprint(output)", "inputValue = input()\n\noutput = ''.join(reversed(inputValue.split()))\n\nprint(output)"] | ['Wrong Answer', 'Accepted'] | ['s447292848', 's586558648'] | [2940.0, 2940.0] | [17.0, 17.0] | [73, 83] |
p02817 | u151365505 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S,T = list(input())\nans = T+S\nprint(ans)', 'S,T = map(input().split())\nans = T+S\nprint(ans)\n', 'S,T = input().split()\nans = T+S\nprint(ans)\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s330092956', 's553033334', 's475745788'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [40, 48, 43] |
p02817 | u158628538 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["a=input.sprit()\na=''.join(a)\nprint(a)", "List=list(map(str,input().split()))\nList.reverse()\nprint(''.join(List))"] | ['Runtime Error', 'Accepted'] | ['s634447181', 's564116830'] | [2940.0, 2940.0] | [17.0, 17.0] | [37, 71] |
p02817 | u158994688 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a=input()\nprint(input()+a)', 's = input().split()\nprint(s[1]+s[0])'] | ['Runtime Error', 'Accepted'] | ['s054848386', 's647435845'] | [2940.0, 2940.0] | [17.0, 17.0] | [26, 36] |
p02817 | u159335277 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = input().split()\nprint("{}{}".format(s, t))', 's, t = input().split()\nprint("{}{}".format(t, s))'] | ['Wrong Answer', 'Accepted'] | ['s538797497', 's894596145'] | [2940.0, 2940.0] | [17.0, 17.0] | [49, 49] |
p02817 | u168416324 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['x,y = map(int,input().split())\n\nans=abs(abs(x)-abs(y))\n\nif x<0 and y<=0 or x>=0 and y>0:\n if x>y:\n ans+=2\n\nelse:\n ans+=1\n \nprint(ans)', 's,t=input().split()\nprint(t+s)'] | ['Runtime Error', 'Accepted'] | ['s813202952', 's292239998'] | [2940.0, 9084.0] | [17.0, 26.0] | [139, 30] |
p02817 | u169138653 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s=input()\nt=input()\nprint(t+s)', 'from math import ceil\nx=int(input())\ni=0\nif x<=2:\n print(2)\nelif x==3:\n print(3)\nelif x==4:\n print(5)\nelse:\n while 1:\n ok=True\n n=ceil((x+i)**0.5)\n for j in range(2,n):\n if (x+i)%j==0:\n ok=False\n break\n if ok:\n print(x+i)\n exit()\n i+=1\n', 's,t=input().split()\nprint(t+s)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s528275318', 's596342155', 's829407474'] | [2940.0, 3060.0, 2940.0] | [18.0, 17.0, 17.0] | [30, 284, 30] |
p02817 | u170296094 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['A, B, K = input().split()\n\nC = int(K)-int(A)\nB = int(B)-C\n\nprint(str(C) +" "+ str(B))', 'S, T = input().split()\n\nprint(T+S)'] | ['Runtime Error', 'Accepted'] | ['s147450972', 's590472294'] | [2940.0, 2940.0] | [17.0, 19.0] | [85, 34] |
p02817 | u170410075 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['import fractions\nX = int(input())\n\ndef qprime(n):\n if n<2:return False\n elif n==2:return True\n elif n%2==0:return False\n for i in range(3,math.floor(math.sqrt(n))+1,2):\n if n % i == 0:return False\n return True\n\n\nfor i in range(X,100000):\n if qprime(i):\n print(i)\n break\n', 's,t = input().split()\nprint(t+s)\n'] | ['Runtime Error', 'Accepted'] | ['s011434539', 's509579800'] | [5600.0, 2940.0] | [54.0, 17.0] | [320, 33] |
p02817 | u170765582 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["print(''.join([input(),input()][::-1]))", "print(''.join(input().split()[::-1]))"] | ['Runtime Error', 'Accepted'] | ['s655710969', 's037914782'] | [2940.0, 2940.0] | [17.0, 17.0] | [39, 37] |
p02817 | u172853082 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['A, B, K = [int(s) for s in input().split()]\n\nif K <= A:\n print(A-K, B)\nelif K <= A + B:\n print(0, A+B-K)\nelse:\n print(0, 0)', 'S,T = input().split()\nprint(T + S)'] | ['Runtime Error', 'Accepted'] | ['s581304226', 's265703193'] | [3060.0, 2940.0] | [17.0, 17.0] | [132, 34] |
p02817 | u175207279 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['# -*- coding: utf-8 -*-\ndef main():\n StringS = input();\n StringT = input();\n\n print(StringT+StringS);\n\nmain()\n', '# -*- coding: utf-8 -*-\ndef main():\n StringS,StringT = input().split();\n\n print(StringT+StringS);\n\nmain()\n'] | ['Runtime Error', 'Accepted'] | ['s566167499', 's235829336'] | [2940.0, 2940.0] | [17.0, 17.0] | [119, 112] |
p02817 | u175590965 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = map(input().split())\nprint(s+t)', 's,t = map(str,input().split())\nprint(s+t)', 's,t = input().split()\nprint(t+s)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s420631110', 's534471865', 's958311122'] | [3188.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [37, 41, 32] |
p02817 | u175701055 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['import os\nnyu = input().split()\nS=nyu[0].strip()\nT=nyu[1].strip()\nprint(S+T)', 'import os\nnyu = input().split()\nS=nyu[0].strip()\nT=nyu[1].strip()\nprint(T+S)'] | ['Wrong Answer', 'Accepted'] | ['s966023750', 's797526807'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 76] |
p02817 | u178432859 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a, b = input().split()\nprint(b,a)', 'a, b = input().split()\nprint(b,a, sep="")'] | ['Wrong Answer', 'Accepted'] | ['s923745612', 's167095614'] | [2940.0, 2940.0] | [17.0, 17.0] | [33, 41] |
p02817 | u179304833 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['n,m=list(map(input().split()))\nprint(m.append(n))', 'n,m=input().split()\nprint(m+n)'] | ['Runtime Error', 'Accepted'] | ['s722970967', 's617181407'] | [2940.0, 2940.0] | [17.0, 17.0] | [49, 30] |
p02817 | u181295070 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['A, B, K = map(int, input().split())\nif A>=K:\n print(A-K, B)\nelse:\n print(0, max(0, B-(K-A)))', 'S, T = input().split()\nprint(T+S)'] | ['Runtime Error', 'Accepted'] | ['s657778313', 's104869374'] | [2940.0, 2940.0] | [17.0, 17.0] | [98, 33] |
p02817 | u183422236 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = input().split()\nprint(s + t)', 's, t = input().split()\nprint(t + s)'] | ['Wrong Answer', 'Accepted'] | ['s616478118', 's140280821'] | [2940.0, 2940.0] | [17.0, 17.0] | [35, 35] |
p02817 | u183432736 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['\na,b=map(str,input().split())\n\n\nprint(a+b)', '\na,b=map(str,input().split())\n\n\nprint(b+a)'] | ['Wrong Answer', 'Accepted'] | ['s485122510', 's335177453'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 79] |
p02817 | u183840468 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = [i for i in input().split()]\n\nprint(s+t)', 's,t = [i for i in input().split()]\n \nprint(t+s)'] | ['Wrong Answer', 'Accepted'] | ['s880560445', 's128758719'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 47] |
p02817 | u184148551 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = input().split\nprint(s + t)', 's,t = input().split\nans = t + s\nprint(ans)\n', 's,t = input().split()\nans = t + s\nprint(ans)\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s405304410', 's900446364', 's810450423'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [32, 43, 45] |
p02817 | u185037583 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["print(input().replace(' ', ''))", 's, t = input().split()\nprint(t+s)\n'] | ['Wrong Answer', 'Accepted'] | ['s902689021', 's213610304'] | [2940.0, 2940.0] | [17.0, 17.0] | [31, 34] |
p02817 | u185405877 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s=str(input())\nfor i in range(len(s)):\n if s[i]==" ":\n s[i]=""\nprint[s]', 's = input().split()\nprint(s[1]+s[0])'] | ['Runtime Error', 'Accepted'] | ['s081079597', 's496570409'] | [2940.0, 2940.0] | [17.0, 17.0] | [75, 36] |
p02817 | u185424824 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['print(input().split().replace(" ","")\n', 'print(input().replace(" ",""))', 'T , S = input().split()\nprint(S +T)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s622082382', 's828680804', 's363875329'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [38, 30, 35] |
p02817 | u186121428 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S, T = input().split()\nprint(S + T)', 'S, T = input().split()\nprint(S + T)', 'In = list(map(int, input().split()))\nsin = set(In)\nprint("Yes" if len(sin) == 2 else "No")\n', 'S, T = input().split()\nprint(T + S)'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s385829088', 's588817346', 's961214447', 's251371709'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0] | [35, 35, 91, 35] |
p02817 | u186426563 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = input().split()\nprint(s+t)', "s, t = input().split()\nprint(''.join([s, t]))", 's, t = input().split()\nprint(t+s)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s150772172', 's278047914', 's935498358'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [33, 45, 33] |
p02817 | u187516587 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S,T=input().split()\nprint(S + T)', 'S,T=input().split()\nprint(T + S)'] | ['Wrong Answer', 'Accepted'] | ['s264762449', 's880044099'] | [2940.0, 2940.0] | [17.0, 17.0] | [32, 32] |
p02817 | u187883751 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t=input()\nprint(t+s)', 's,t=input().split()\nprint(t+s)'] | ['Runtime Error', 'Accepted'] | ['s710248430', 's391140723'] | [2940.0, 2940.0] | [17.0, 17.0] | [22, 30] |
p02817 | u188228787 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['print(input().replace(" ",""))', 'import math\n \ndef main():\n N = int(input())\n \n if N==2:\n print(2)\n else:\n print(search(N))\n \n\ndef search(x):\n \n \n ints = list(range(3,x))\n \n \n for i in ints:\n \n \n if x%i==0:\n seartch(x+2)\n \telif x < i**2:\n break\n \n return x\n\nmain()', 'print("".join(input().replace(" ","")[::-1]))', 'import math\n \ndef main():\n N = int(input())\n \n print(search(N))\n \ndef search(x):\n \n ints = list(range(2,x))\n \n \n for i in ints:\n if x%i==0:\n seartch(x+1)\n \telif x < i**2:\n break\n \n return x', 'print("".join(input().split(" ")[::-1]))'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s213874931', 's310303015', 's534087335', 's612661497', 's140222935'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 17.0] | [30, 330, 45, 235, 40] |
p02817 | u189326411 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = map(str, input().split())\nprint(s+t)\n', 's,t = map(str, input().split())\nprint(t+s)\n'] | ['Wrong Answer', 'Accepted'] | ['s162899592', 's461560062'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 43] |
p02817 | u189806337 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = input().split()\n\nprint(s+t)', 's = input()\nt = input()\n\nprint(s+t)', 's,t = input().split()\n \nprint(t+s)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s337302290', 's573861068', 's553882189'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [33, 35, 34] |
p02817 | u190616335 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['#!/usr/bin/python3\n# -*- coding: utf-8 -*-\na, b = input().split()\nprint(a+b)', '#!/usr/bin/python3\n# -*- coding: utf-8 -*-\na, b = input().split()\nprint(b+a)'] | ['Wrong Answer', 'Accepted'] | ['s296221407', 's484439229'] | [2940.0, 2940.0] | [34.0, 17.0] | [76, 76] |
p02817 | u192433528 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a = input().split()\n\nprint("".join(a))', 'a = input().split()\n\nprint("".join(reversed(a)))'] | ['Wrong Answer', 'Accepted'] | ['s311197049', 's983634904'] | [9016.0, 8900.0] | [25.0, 26.0] | [38, 48] |
p02817 | u197964561 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | [' s, t = input().split()\n print(t+s)', 's, t = map(String, input(),split())\n\tprint(s+t)', 'from lib2to3.fixer_util import String\ns, t = map(String, input().split())\nprint(s + t)', 's, t = input().split()\nprint(s+t)', 's, t = input().split()\nprint(s+t)', 's, t = input().split()\nprint(t+s)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s338915738', 's361750103', 's460457737', 's625943661', 's835315394', 's116389334'] | [2940.0, 2940.0, 6240.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 94.0, 17.0, 17.0, 17.0] | [41, 47, 86, 33, 33, 33] |
p02817 | u197968862 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s = str(input())\nt = str(input())\n\nprint(t+s)', 's, t = map(str,input().split())\nprint(t+s)'] | ['Runtime Error', 'Accepted'] | ['s282622752', 's263785440'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 42] |
p02817 | u199979053 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['string = int().split()\nprint(string[1] + string[0])', 'string = input().split()\nprint(string[1] + string[0])'] | ['Runtime Error', 'Accepted'] | ['s881327849', 's465935163'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 53] |
p02817 | u200228637 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = map(input().split())\n\nx = t + s\nprint(x)', 's, t = map(str, input().split())\n \nx = t + s\nprint(x)'] | ['Runtime Error', 'Accepted'] | ['s471748203', 's001995730'] | [3060.0, 2940.0] | [18.0, 17.0] | [47, 53] |
p02817 | u201082459 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["ans = ''.join([str(x) for x in input().split()])\nprint(ans)", 's,t = map(str,input().split())\nprint(s+t)', "l = list(str(x) for x in input().split())\nprint(''.join(l))", "l = list(x for x in input().split())\nprint(''.join(l))", 's,t = map(str,input().split())\nprint(t+s)\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s084114817', 's119666476', 's579845953', 's604130307', 's991611218'] | [3064.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 16.0, 17.0, 17.0] | [59, 41, 59, 54, 42] |
p02817 | u201802797 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['def rem(string): \n\treturn string.replace(" ", "") \n\t\nstring = \'asdasd asdad\'\nprint(rem(string))', 'def rem(string): \n\treturn string.replace(" ", "") \n\t\nstring = \'asdasd asdad asdadew\'\nprint(rem(string))', 'def rem(string): \n\treturn string.replace(" ", "") \n\t\nstring = \'asdasd asdad\'\nprint(rem(string))', "str = input(.split(' '))\n\nprint(str[1]+str[0])", 's = str(input()).split(" ")\nprint(s[1] + s[0])'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s257531804', 's316903649', 's335228796', 's579214408', 's920237042'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0, 17.0] | [95, 103, 95, 46, 46] |
p02817 | u208464243 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['C = input()\nA , B = C.split()\nprint(A+B)', 'C = input()\nA , B = C.split()\nprint(B+A)'] | ['Wrong Answer', 'Accepted'] | ['s318463995', 's032204323'] | [2940.0, 2940.0] | [18.0, 17.0] | [41, 41] |
p02817 | u209631375 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["s,t = input().split()\ns = s.lower()\nt = t.lower()\nnew_string = ''.join(sorted(s + t))\nprint(new_string)", 's,t = input().split()\ns = s.lower()\nt = t.lower()\nnew_string = (t+s)\nprint(new_string)'] | ['Wrong Answer', 'Accepted'] | ['s874911228', 's284643381'] | [2940.0, 2940.0] | [17.0, 18.0] | [103, 86] |
p02817 | u213314609 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['str = inpit().split()\nprint(str[1]+str=[0])', 'string = input().split()\nprint(string[1]+string[0])'] | ['Runtime Error', 'Accepted'] | ['s720511530', 's669433221'] | [3064.0, 3064.0] | [17.0, 18.0] | [43, 51] |
p02817 | u216631280 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S, T = input().split()\nprint(S + T)\n', 'S, T = input().split()\nprint(T + S)\n'] | ['Wrong Answer', 'Accepted'] | ['s272263819', 's643757828'] | [2940.0, 2940.0] | [17.0, 17.0] | [36, 36] |
p02817 | u219157465 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["def main():\n s, t = input().split()\n ans = s + t\n print(ans)\n\n\nif __name__ == '__main__':\n main()\n", "def main():\n s, t = input().split()\n ans = ''.join([s, t])\n print(ans)\n\n\nif __name__ == '__main__':\n main()\n", "def main():\n s, t = input().split()\n ans = ''.join([t, s])\n print(ans)\n\n\nif __name__ == '__main__':\n main()\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s402611445', 's984451467', 's970808495'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [110, 120, 120] |
p02817 | u221264296 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['print(input()+input())', 's,t = (i for i in input().split())\nprint(s+t)', 's,t = (i for i in input().split())\nprint(t+s)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s126655908', 's244753454', 's092691020'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [22, 45, 45] |
p02817 | u221580805 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | [" a, b = input().split(' ')\n print(b + a)", "a, b = input().split(' ')\nprint(b + a)"] | ['Runtime Error', 'Accepted'] | ['s272335007', 's893632274'] | [2940.0, 2940.0] | [17.0, 17.0] | [42, 38] |
p02817 | u224119985 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t=map(input().split())\nprint(t+s)', 's,t=input().split()\nprint(t+s)'] | ['Runtime Error', 'Accepted'] | ['s876051373', 's753816386'] | [2940.0, 2940.0] | [17.0, 17.0] | [35, 30] |
p02817 | u224554402 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['n = input()\n(p,q) = n.split()\nprint(p+q)', 'n = input()\n(p,q) = n.split()\nprint(q+p)'] | ['Wrong Answer', 'Accepted'] | ['s430015056', 's091104350'] | [2940.0, 2940.0] | [18.0, 17.0] | [40, 40] |
p02817 | u225806616 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S, T = input().split()\nreturn T + S', 'S, T = input().split()\nprint(T + S)'] | ['Runtime Error', 'Accepted'] | ['s171305672', 's893040342'] | [2940.0, 2940.0] | [17.0, 17.0] | [35, 35] |
p02817 | u228232845 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['print(input().rstrip(" "))', 's, t = input().split()\nprint(t + s)'] | ['Wrong Answer', 'Accepted'] | ['s325938358', 's550350935'] | [2940.0, 2940.0] | [17.0, 17.0] | [26, 35] |
p02817 | u229452810 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = input().split()\nprint(s+t)', 's,t = input().split()\nprint(t+s)'] | ['Wrong Answer', 'Accepted'] | ['s302011747', 's350235801'] | [2940.0, 2940.0] | [17.0, 17.0] | [32, 32] |
p02817 | u231204993 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['x = input()\ny = input()\n\nprint(y+x)', 'string = []\n\nstring = input().split()\n\nprint(string[1]+string[0])'] | ['Runtime Error', 'Accepted'] | ['s931025529', 's123674024'] | [2940.0, 2940.0] | [17.0, 17.0] | [35, 65] |
p02817 | u231685196 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = input().split()\nprint(s+t)', 's,t = input().split()\nprint(t+s)\n'] | ['Wrong Answer', 'Accepted'] | ['s249328005', 's646271380'] | [2940.0, 2940.0] | [17.0, 17.0] | [32, 33] |
p02817 | u237601489 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t=int(input().split())\nprint(t+s)', "S='oder'\nT='atc'\nprint('S+T')", 'S,T=map(int,input().split())\n\tprint(S+T)', "str=input().strip()\nprint('str')", 'S,T=map(int,input().split())\nprint(T+S)', 'S=input().split("区切り文字")\nT=input().split("区切り文字")\nprint(S+T)', 'S,T=map(int,input().split())\n\tprint(T+S)', "str = input().strip()\nS='oder'\nT='atc'\nprint('T'+'S')", 's,t=input().split()\nprint(t+s)'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s269456898', 's516714568', 's626233635', 's678159248', 's682658270', 's748591734', 's895581303', 's995781290', 's831319176'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [35, 29, 40, 32, 39, 80, 40, 53, 30] |
p02817 | u238084414 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S, T = map(str, input().split())\n\nprint("{}{}",format(T, S))', 'S, T = map(str, input().split())\n\nprint("{}{}".format(T, S))'] | ['Runtime Error', 'Accepted'] | ['s276937733', 's454687986'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 60] |
p02817 | u238940874 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = map(input().split())\nprint(t+s)\n', 's,t = input().split()\nprint(t+s)\n'] | ['Runtime Error', 'Accepted'] | ['s728198709', 's516008455'] | [2940.0, 2940.0] | [17.0, 17.0] | [38, 33] |
p02817 | u238987462 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = input().split()\nprint(t, s)', 's, t = input().split()\nprint(t+s)'] | ['Wrong Answer', 'Accepted'] | ['s660457623', 's317100156'] | [2940.0, 2940.0] | [17.0, 17.0] | [34, 33] |
p02817 | u239653493 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S,T = input().split()\nptint(T+S)', 'S,T = input().split()\nprint(T+S)'] | ['Runtime Error', 'Accepted'] | ['s567187198', 's378205914'] | [2940.0, 2940.0] | [16.0, 18.0] | [32, 32] |
p02817 | u243159381 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a=list(input())\nprint(a[1]+a[0])', 'a,b=input().split()\nprint(a+b)', 'a,b=input().split()\nprint(b+a)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s103731018', 's586117321', 's734439266'] | [8936.0, 8996.0, 9016.0] | [27.0, 29.0, 25.0] | [32, 30, 30] |
p02817 | u243982259 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['import math\n\nprims = list()\n\nprims.append(2)\n\nbase = int(input())\n\ndef _is_prim(n):\n global prims\n for p in prims:\n if n == p:\n return True\n elif n % p == 0:\n return False\n \n return True\n\n\nbase_rt = int(math.sqrt(base))\nfor n in range(rt):\n if n < 2:\n continue\n elif n % 2 == 0:\n continue\n elif _is_prim(n):\n prims.append(n)\n\n\nwhile not _is_prim(base):\n base += 1\n\nprint(base) ', 'stdin = input().split()\nprint(stdin[1] + stdin[0])'] | ['Runtime Error', 'Accepted'] | ['s665432483', 's238592250'] | [3064.0, 2940.0] | [17.0, 17.0] | [491, 50] |
p02817 | u245870380 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S, T = map(str, input().split())\nprint(S+T)\n', 'S, T = map(str, input().split())\nprint(T+S)\n'] | ['Wrong Answer', 'Accepted'] | ['s225811661', 's330570455'] | [2940.0, 2940.0] | [17.0, 17.0] | [44, 44] |
p02817 | u246127272 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["a = input.split()\nprint(''.join(a))", 'a = input.split()\nprint(a[1] + a[0])', 'a = input().split()\nprint(a[1] + a[0])'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s470531162', 's803179271', 's811104086'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [35, 36, 38] |
p02817 | u247211039 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S, T = int.split()\nprint(T + S)', 'S, T = input().split()\nprint(T + S)'] | ['Runtime Error', 'Accepted'] | ['s992463673', 's392200805'] | [3064.0, 2940.0] | [17.0, 17.0] | [31, 35] |
p02817 | u250639998 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a=input()\nb=input()\nprint(b + a)', "line = input().split(' ')\nA = int(line[0])\nB = int(line[1])\nK = int(line[2])\nZ = 0\n\ndef p2(num1, num2, Z):\n if Z:\n return(0)\n else:\n if(num1 < num2):\n return (num2 - num1)\n Z = 1\n else:\n return(0)\n \nprint(str(p2(K, A, Z)) + ' ' + str(p2(K - A, B, Z)))", "line=input().split(' ')\nprint(line[1] + line[0])"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s008221665', 's341275327', 's197123778'] | [2940.0, 3064.0, 2940.0] | [17.0, 17.0, 18.0] | [32, 278, 48] |
p02817 | u251075661 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = input().split()\nprint(s + t)', 's,t = input()\n\nprint(s + t)', 's, t = input().split()\nprint(t + s)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s597393327', 's931357677', 's189181581'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [35, 27, 35] |
p02817 | u253191458 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = input().split()\nreturn t + s', 'def conc(s, t):\n return t[:2] + t[2:] + s', 's, t = input().split()\nprint(t + s)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s648105397', 's845510560', 's300971803'] | [2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [34, 42, 35] |
p02817 | u253952966 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["s = input()\nprint(s.replace(' ', ''))", "s = input()\nprint(s.replace(' ', '')", 's, t = input().split()\nprint(t + s)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s014263216', 's878572688', 's406007646'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [37, 36, 35] |
p02817 | u257050137 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S, T = input().split();print(S + T)', 'S, T = input().split();print(T + S)'] | ['Wrong Answer', 'Accepted'] | ['s303001898', 's348186179'] | [2940.0, 2940.0] | [17.0, 17.0] | [35, 35] |
p02817 | u257447294 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['in_list = input().split()\nA, B, K = int(in_list[0]), int(in_list[1]), int(in_list[2])\n\nfor k in range(K):\n if A > 0:\n A -= 1\n elif B > 0:\n B -= 1\n elif:\n pass\n\nprint(A, B)\n', 'a = input().split()\nprint(a[1]+a[0])'] | ['Runtime Error', 'Accepted'] | ['s464158260', 's725403839'] | [2940.0, 2940.0] | [17.0, 17.0] | [184, 36] |
p02817 | u262750042 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s = input().split()\nprint(s[1], s[0])', 's = input().split()\nprint(s[1] + s[0])'] | ['Wrong Answer', 'Accepted'] | ['s372672840', 's073552842'] | [2940.0, 2940.0] | [17.0, 17.0] | [37, 38] |
p02817 | u267029978 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['A,B = map(str,input().split())\nout = A+B\nprint(out)', 'A,B = map(str,input().split())\nout = B+A\nprint(out)'] | ['Wrong Answer', 'Accepted'] | ['s635125860', 's098602439'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 51] |
p02817 | u268318377 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S, T = input().split()\nprint(S+T)', 'S, T = input().split()\nprint(T+S)'] | ['Wrong Answer', 'Accepted'] | ['s671685979', 's283375247'] | [2940.0, 2940.0] | [17.0, 17.0] | [33, 33] |
p02817 | u268981216 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["st=input().split(' ')\nprint(st[0]+st[1])", "st=input()\nprint(st.replace(' ',''))", 'st=input().split()\nprint(st[0]+st[1])', 'st=input().split()\nprint(st[1]+st[0])\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s013025407', 's186759930', 's313220636', 's823066040'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [40, 36, 37, 38] |
p02817 | u269463683 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a,b,k = input().strip().split\na,b,k = [int(a), int(b), int(k)]\n\nfor i in range(c):\n if k < a:\n a = a-k\n elif k >= a+b:\n a = 0\n b = 0\n elif a+b > k > a:\n b = b-(k-a)\n\ta = 0', 's,t = input("S T").split()\nprint(t + s)', 'a,b,k = input().strip().split\na,b,k = [int(a), int(b), int(k)]\n\nif k < a:\n\ta = a-k\nelif k >= a+b:\n a = 0\n b = 0\nelif a+b > k > a:\n b = b-(k-a)\n\ta = 0\n', "a,b,k = input().strip().split\na,b,k = [int(a), int(b), int(k)]\n\nif k < a:\n\ta = a-k\nelif k >= a+b:\n\ta = 0\n\tb = 0\nelif a+b > k > a:\n\tb = b-(k-a)\n\ta = 0\n\nprint('{} {}'.format(a,b))", 'a,b,k = input().strip().split\na,b,k = [int(a), int(b), int(k)]\n\nif k < a:\n\ta = a-k\nelif k >= a+b:\n\ta = 0\n\tb = 0\nelif a+b > k > a:\n\tb = b-(k-a)\n a = 0', "a,b,k = input().strip().split()\na,b,k = [int(a), int(b), int(k)]\n\nif k < a:\n\ta = a-k\nelif k >= a+b:\n\ta = 0\n\tb = 0\nelif a+b > k > a:\n\tb = b-(k-a)\n\ta = 0\n\nprint('{} {}'.format(a,b))", 's,t = input().split()\nprint(t + s)'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s087322686', 's191375178', 's440037430', 's692999035', 's911533227', 's973422259', 's939068835'] | [2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [186, 39, 159, 177, 152, 179, 34] |
p02817 | u269724549 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t=map(input().split())\nprint(s+t)\n', 's,t=map(char,input().split())\nprint(s+t)\n', 's,t=input(),input()\nprint(t+s)\n', 's,t=input().split()\nprint(t+s)\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s258809858', 's282287000', 's980755940', 's033445732'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [36, 41, 31, 31] |
p02817 | u271064067 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['A = list(map(int,input().split()))\nfor i in range(A[2]):\n if A[0] > 0:\n A[0] -= 1\n elif A[1] > 1:\n A[1] -=1\nprint(A[0],A[1])\n', 'S,T= map(str,input().split())\nprint(T+S)\n'] | ['Runtime Error', 'Accepted'] | ['s202999412', 's599495461'] | [2940.0, 2940.0] | [18.0, 17.0] | [145, 41] |
p02817 | u271230052 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["s,t=input().split()\nprint=('{}{}'.format(t,s))", 's,t=map(str,input().split())\nprint(str(t)+str(s))'] | ['Wrong Answer', 'Accepted'] | ['s156407483', 's066252612'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 49] |
p02817 | u278379520 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S,T=input()\nprint(T+S)', 'S,T=input().split\nprint(T+S)', 'S,T=input().split()\nprint(T+S)\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s538073775', 's628522467', 's891136199'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [22, 28, 31] |
p02817 | u281172454 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['num = input()\n\nprint(num[2] + num[0])', 'num = input()\n\n\n\nnum2 = num.split()\n\nprint(num2[1] + num2[0])'] | ['Wrong Answer', 'Accepted'] | ['s522550823', 's993682951'] | [2940.0, 2940.0] | [17.0, 17.0] | [37, 61] |
p02817 | u281494025 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['A, B, K = map(int, input().split())\n\n\nif A + B <= K:\n print(0, 0)\n\nelif A <= K:\n C = K - A\n print(0, B-C)\n\nelse:\n print(A - K, B)\n', 'A, B, K = map(int, input().split())\n\n\nif A + B <= K:\n print(0, 0)\n\nelif A <= K:\n C = K - A\n print(0, B-C)\n\nelse:\n print(A - K, B)\n', 'S, T = input().split()\nprint(T+S)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s200053793', 's680844401', 's491579996'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [142, 142, 33] |
p02817 | u281610856 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = map(str, input().split())\nprint(s + t)', 's, t = map(str, input().split())\nprint(t + s)'] | ['Wrong Answer', 'Accepted'] | ['s512976694', 's687215003'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 45] |
p02817 | u284262180 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['S, T = map(str, input().split())\nprint(S+T)\n', 'S, T = map(str, input().split())\nprint(T+S)\n'] | ['Wrong Answer', 'Accepted'] | ['s748379067', 's439266846'] | [2940.0, 2940.0] | [17.0, 18.0] | [44, 44] |
p02817 | u284307352 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['#!/usr/bin/env python3\n\ndef main():\n N = map(int, open(0).read().split())\n\n\nmain()\n\n', '#!/usr/bin/env python3\n\ndef main():\n S, T = open(0).read().split()\n print(T + S)\n \n\nmain()\n\n'] | ['Wrong Answer', 'Accepted'] | ['s183831230', 's063367163'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 101] |
p02817 | u289288647 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["S, T = map(str, input().split())\nprint(''.join(S+T))\n", "S, T = map(str, input().split())\nprint(''.join(T+S))\n"] | ['Wrong Answer', 'Accepted'] | ['s292149745', 's657602388'] | [2940.0, 2940.0] | [17.0, 17.0] | [53, 53] |
p02817 | u291552830 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s, t = input().split()\nprint(s+t)\n', 's, t = input().split()\nprint(t+s)'] | ['Wrong Answer', 'Accepted'] | ['s950217435', 's979711935'] | [2940.0, 2940.0] | [17.0, 17.0] | [34, 33] |
p02817 | u293198424 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['a,b= input().split()\n\nprint(a+b)', 'a,b= input().split()\n\nprint(b+a)'] | ['Wrong Answer', 'Accepted'] | ['s538266888', 's530004179'] | [3064.0, 2940.0] | [17.0, 17.0] | [32, 32] |
p02817 | u295148058 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ["str_list = list(input().split(' '))\nprint(str_list[0]+str_list[1])\n", "str_list = list(input().split(' '))\nprint(str_list[1]+str_list[0])\n"] | ['Wrong Answer', 'Accepted'] | ['s416857236', 's896796861'] | [2940.0, 2940.0] | [17.0, 16.0] | [67, 67] |
p02817 | u295294832 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['H,W = [x for x in input().split()]\nprint(H+W)', 'H,W = [x for x in input().split()]\nprint(W+H)'] | ['Wrong Answer', 'Accepted'] | ['s941503582', 's652433561'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 45] |
p02817 | u299791633 | 2,000 | 1,048,576 | Given are two strings S and T consisting of lowercase English letters. Concatenate T and S in this order, without space in between, and print the resulting string. | ['s,t = input().split()\nprint(str(s)+str(t))', 's,t = input().split()\nprint(str(t)+str(s))'] | ['Wrong Answer', 'Accepted'] | ['s999552924', 's824646417'] | [2940.0, 2940.0] | [18.0, 17.0] | [42, 42] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.