Datasets:

problem_id
stringlengths
6
6
buggy_code
stringlengths
8
526k
fixed_code
stringlengths
12
526k
labels
listlengths
0
15
buggy_submission_id
int64
1
1.54M
fixed_submission_id
int64
2
1.54M
user_id
stringlengths
10
10
language
stringclasses
9 values
p02817
a, b = map(str, input().split()) print(b, a)
a, b = map(str, input().split()) print(b + a)
[ "call.arguments.change", "io.output.change" ]
618,971
618,972
u383713431
python
p02817
s=input().split() print("{}{}".format(s[0],s[1]))
s=input().split() print("{}{}".format(s[1],s[0]))
[ "literal.number.integer.change", "variable_access.subscript.index.change", "call.arguments.change", "io.output.change" ]
618,978
618,979
u811535236
python
p02817
s,t=input(),input() print(t+s)
s,t=input().split() print(t+s)
[]
618,980
618,981
u269724549
python
p02817
s, t = input.split() print("".join([t,s]))
s, t = input().split() print("".join([t,s]))
[ "call.add" ]
618,989
618,990
u766349820
python
p02817
a=input().split() print(a[0]+a[1])
a=input().split() print(a[1]+a[0])
[ "literal.number.integer.change", "variable_access.subscript.index.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
619,005
619,006
u042662066
python
p02817
S,T=map(str,input().split()) print(S+T)
S,T=map(str,input().split()) print(T+S)
[ "expression.operation.binary.remove" ]
619,033
619,034
u333731247
python
p02817
S,T = map(str, input().split()) print('{}{}'.format(S,T))
S,T = map(str, input().split()) print('{}{}'.format(T,S))
[ "call.arguments.change", "call.arguments.add" ]
619,037
619,038
u971096161
python
p02816
def xor_next(values): result = [0] * len(values) for i in range(len(values)): result[i] = values[i] ^ values[(i+1) % len(values)] return result def make_mp_table(values): result = [-1] * (len(values) + 1) j = -1 for i in range(len(values)): while j != -1 and values[j] != values[i]: j = result[j] j += 1 result[i+1] = j return result def mp_find(target, pattern, table): result = [] j = 0 for i in range(len(target)): while(j != -1 and pattern[j] != target[i]): j = table[j] j += 1 if j == len(pattern): result.append(i-(j-1)) j = table[j] return result def main(): n = int(input()) a = list(map(int, input().split())) b = list(map(int, input().split())) xa = xor_next(a) xb = xor_next(b) mp_t = make_mp_table(xa) xb += xb res = mp_find(xb, xa, mp_t) print(res) res.sort(reverse=True) for i in range(len(res)): k = n-res[i] if(k >= n): continue x = a[k] ^ b[0] print(str(k) + ' ' + str(x)) main()
def xor_next(values): result = [0] * len(values) for i in range(len(values)): result[i] = values[i] ^ values[(i+1) % len(values)] return result def make_mp_table(values): result = [-1] * (len(values) + 1) j = -1 for i in range(len(values)): while j != -1 and values[j] != values[i]: j = result[j] j += 1 result[i+1] = j return result def mp_find(target, pattern, table): result = [] j = 0 for i in range(len(target)): while(j != -1 and pattern[j] != target[i]): j = table[j] j += 1 if j == len(pattern): result.append(i-(j-1)) j = table[j] return result def main(): n = int(input()) a = list(map(int, input().split())) b = list(map(int, input().split())) xa = xor_next(a) xb = xor_next(b) mp_t = make_mp_table(xa) xb += xb res = mp_find(xb, xa, mp_t) res.sort(reverse=True) for i in range(len(res)): k = n-res[i] if(k >= n): continue x = a[k] ^ b[0] print(str(k) + ' ' + str(x)) main()
[ "call.remove" ]
619,061
619,062
u927078824
python
p02816
def Z_algorithm(s): n = len(s) A = [n] + [0] * (n-1) i, j = 1, 0 while i < n: while i + j < n and s[j] == s[i+j]: j += 1 A[i] = j if j == 0: i += 1 continue k = 1 while i + k < n and k + A[k] < j: A[i+k] = A[k] k += 1 i += k j -= k return A N = int(input()) A = [int(a) for a in input().split()] B = [int(a) for a in input().split()] AA = [A[i] ^ A[i-1] for i in range(N)] BB = [B[i] ^ B[i-1] for i in range(N)] T = Z_algorithm(AA + [-1] + BB + BB) for i in range(N, 0, -1): if T[N+i] >= N: print(N-i, A[-i%N] ^ B[0])
def Z_algorithm(s): n = len(s) A = [n] + [0] * (n-1) i, j = 1, 0 while i < n: while i + j < n and s[j] == s[i+j]: j += 1 A[i] = j if j == 0: i += 1 continue k = 1 while i + k < n and k + A[k] < j: A[i+k] = A[k] k += 1 i += k j -= k return A N = int(input()) A = [int(a) for a in input().split()] B = [int(a) for a in input().split()] AA = [A[i] ^ A[i-1] for i in range(N)] BB = [B[i] ^ B[i-1] for i in range(N)] T = Z_algorithm(AA + [-1] + BB + BB) for i in range(N, 0, -1): if T[N+i+1] >= N: print(N-i, A[-i%N] ^ B[0])
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "misc.off_by_one" ]
619,069
619,070
u864197622
python
p02816
def Z_algorithm(s): n = len(s) A = [n] + [0] * (n-1) i, j = 1, 0 while i < n: while i + j < n and s[j] == s[i+j]: j += 1 A[i] = j if j == 0: i += 1 continue k = 1 while i + k < n and k + A[k] < j: A[i+k] = A[k] k += 1 i += k j -= k return A N = int(input()) A = [int(a) for a in input().split()] B = [int(a) for a in input().split()] AA = [A[i] ^ A[i-1] for i in range(N)] BB = [B[i] ^ B[i-1] for i in range(N)] T = Z_algorithm(AA + BB + BB) for i in range(N)[::-1]: if T[N+i] >= N: print(N - i, A[-i%N] ^ B[0])
def Z_algorithm(s): n = len(s) A = [n] + [0] * (n-1) i, j = 1, 0 while i < n: while i + j < n and s[j] == s[i+j]: j += 1 A[i] = j if j == 0: i += 1 continue k = 1 while i + k < n and k + A[k] < j: A[i+k] = A[k] k += 1 i += k j -= k return A N = int(input()) A = [int(a) for a in input().split()] B = [int(a) for a in input().split()] AA = [A[i] ^ A[i-1] for i in range(N)] BB = [B[i] ^ B[i-1] for i in range(N)] T = Z_algorithm(AA + BB + BB) for i in range(N, 0, -1): if T[N+i] >= N: print(N-i, A[-i%N] ^ B[0])
[]
619,071
619,072
u864197622
python
p02816
def check(ccc, ddd, e, ans): m = 2147483647 g = 1000000007 for l in range(e): cl = ccc[l] if any(c != cl for c in ccc[l::e]): return dl = ddd[l] if any(d != dl for d in ddd[l::e]): return s = 0 for c in ccc[:e]: s = (s * g + c) % m t = 0 for d in ddd[:e]: t = (t * g + d) % m u = pow(g, e, m) for h in range(e): if s == t: bh = bbb[h] ans.update(((i - h) % n, aaa[i] ^ bh) for i in range(0, n, e)) return t = (t * g + ddd[(e + h) % n] - ddd[h] * u) % m def solve(n, aaa, bbb): ccc = [a1 ^ a2 for a1, a2 in zip(aaa, aaa[1:])] + [aaa[-1] ^ aaa[0]] ddd = [b1 ^ b2 for b1, b2 in zip(bbb, bbb[1:])] + [bbb[-1] ^ bbb[0]] ans = set() e = 1 while e * e <= n: if n % e != 0: e += 1 continue check(ccc, ddd, e, ans) check(ccc, ddd, n // e, ans) e += 1 return ans n = int(input()) aaa = list(map(int, input().split())) bbb = list(map(int, input().split())) ans = solve(n, aaa, bbb) print(''.join('{} {}\n'.format(*answer) for answer in ans))
def check(ccc, ddd, e, ans): m = 2147483647 g = 1000000007 for l in range(e): cl = ccc[l] if any(c != cl for c in ccc[l::e]): return dl = ddd[l] if any(d != dl for d in ddd[l::e]): return s = 0 for c in ccc[:e]: s = (s * g + c) % m t = 0 for d in ddd[:e]: t = (t * g + d) % m u = pow(g, e, m) for h in range(e): if s == t: bh = bbb[h] ans.update(((i - h) % n, aaa[i] ^ bh) for i in range(0, n, e)) return t = (t * g + ddd[(e + h) % n] - ddd[h] * u) % m def solve(n, aaa, bbb): ccc = [a1 ^ a2 for a1, a2 in zip(aaa, aaa[1:])] + [aaa[-1] ^ aaa[0]] ddd = [b1 ^ b2 for b1, b2 in zip(bbb, bbb[1:])] + [bbb[-1] ^ bbb[0]] ans = set() e = 1 while e * e <= n: if n % e != 0: e += 1 continue check(ccc, ddd, e, ans) check(ccc, ddd, n // e, ans) e += 1 return ans n = int(input()) aaa = list(map(int, input().split())) bbb = list(map(int, input().split())) ans = solve(n, aaa, bbb) print(''.join('{} {}\n'.format(*answer) for answer in sorted(ans)))
[ "call.add", "call.arguments.change" ]
619,075
619,076
u340781749
python
p02816
N = int(input()) A = list(map(int, input().split())) B = list(map(int, input().split())) C = [a1^a2 for a1, a2 in zip(A, A[1:])] + [A[0]^A[-1]] C = C + C D = [b1^b2 for b1, b2 in zip(B, B[1:])] + [B[0]^B[-1]] K = [] k = 0 while k < N: next_k = k is_first = True for i in range(N): if is_first and i>0 and C[k+i]==D[0]: next_k = k + i if C[k+i] != D[i]: if next_k == k: k = k + i + 1 else: if D[k+i-next_k] == C[k+i]: k = next_k else: k = k + i + 1 break if i == N-1: K.append(k) if next_k == k: break else: k = next_k if len(K) == 2: diff = K[1] - K[0] while K[-1] < N: K.append(K[-1]+diff) _ = K.pop() break for k in K: print(k, A[k]^B[0])
N = int(input()) A = list(map(int, input().split())) B = list(map(int, input().split())) C = [a1^a2 for a1, a2 in zip(A, A[1:])] + [A[0]^A[-1]] C = C + C D = [b1^b2 for b1, b2 in zip(B, B[1:])] + [B[0]^B[-1]] K = [] k = 0 while k < N: next_k = k is_first = True for i in range(N): if is_first and i>0 and C[k+i]==D[0]: next_k = k + i is_first = False if C[k+i] != D[i]: if next_k == k: k = k + i + 1 else: if D[k+i-next_k] == C[k+i]: k = next_k else: k = k + i + 1 break if i == N-1: K.append(k) if next_k == k: break else: k = next_k if len(K) == 2: diff = K[1] - K[0] while K[-1] < N: K.append(K[-1]+diff) _ = K.pop() break for k in K: print(k, A[k]^B[0])
[ "assignment.add" ]
619,098
619,099
u922449550
python
p02817
a, b = map(input().split()) print(b + a)
a, b = input().split() print(b + a)
[ "call.remove", "call.arguments.change" ]
619,232
619,233
u847033024
python
p02817
str_l = list(map(str, input().split())) print(''.join(str_l))
str_l = list(map(str, input().split())) print(''.join(list(reversed(str_l))))
[ "call.add", "call.arguments.add" ]
619,238
619,239
u905895868
python
p02817
s,t = input().split() s+=t print(s)
s,t=input().split() t+=s print(t)
[ "identifier.change", "call.arguments.change", "io.output.change" ]
619,256
619,257
u566529875
python
p02817
if __name__=="__main__": s,t=input.split() print(t+s)
if __name__=="__main__": s,t=input().split() print(t+s)
[ "call.add" ]
619,258
619,259
u964416605
python
p02817
x, y = map(int,input().split()) print(y+x)
x, y = input().split() print(y+x)
[ "call.remove", "call.arguments.change" ]
619,264
619,265
u680851063
python
p02817
x, y = map(int,input().split()) print(y+x)
x, y = input().split() print(y+x)
[ "call.remove", "call.arguments.change" ]
619,264
619,266
u680851063
python
p02817
# -*- coding: utf-8 -*- """ Created on Sat Jan 4 16:21:16 2020 @author: masat """ S, T = input().split() print(S+T)
# -*- coding: utf-8 -*- """ Created on Sat Jan 4 16:21:16 2020 @author: masat """ S, T = input().split() print(T+S)
[ "expression.operation.binary.remove" ]
619,287
619,288
u463864151
python
p02817
a = list(map(str, input().split())) print("{} {}".format(a[1], a[0]))
a = list(map(str, input().split())) print("{}{}".format(a[1], a[0]))
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
619,297
619,298
u031324264
python
p02817
print("".join(input().replace(" ","")[::-1]))
print("".join(input().split(" ")[::-1]))
[ "identifier.change", "call.arguments.change" ]
619,303
619,304
u188228787
python
p02817
str_list = input().split() str = str_list[0] + str_list[1] print(str)
str_list = input().split() str = str_list[1] + str_list[0] print(str)
[ "expression.operation.binary.remove" ]
619,309
619,310
u979591106
python
p02817
s,t = input().split() print(s + t)
s,t = input().split() print(t + s)
[ "expression.operation.binary.remove" ]
619,313
619,314
u951401193
python
p02817
print("".join(input().split()[-1]))
print("".join((input().split())[::-1]))
[ "call.arguments.change" ]
619,323
619,324
u978494963
python
p02817
from sys import stdin strings = list(stdin.readline().split()) print(string[1] + string[0])
import resource from sys import stdin strings = list(stdin.readline().split()) print(strings[1] + strings[0])
[ "identifier.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
619,329
619,330
u728804119
python
p02817
from sys import stdin strings = list(stdin.readline().split()) print(string[1] + string[0])
from sys import stdin strings = list(stdin.readline().split()) print(strings[1] + strings[0])
[ "identifier.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
619,329
619,331
u728804119
python
p02817
S,T = str(input()).split() print(S+T)
s, t = str(input()).split() print(t + s)
[ "misc.typo", "assignment.variable.change", "identifier.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
619,346
619,347
u710952331
python
p02817
a = input().split() print(a[0],a[1])
a = input().split() print(a[1]+a[0])
[ "call.arguments.change" ]
619,365
619,366
u876616721
python
p02817
def string(s, t): summ1 = 0 summ2 = 0 for i in range(len(s)): summ1 += ord(s[i]) for j in range(len(t)): summ2 += ord(t[j]) if summ1 > summ2: print(t, end="") print(s) else: print(s, end="") print(t) s, t = map(str, input().split()) string(s, t)
def string(s, t): summ1 = 0 summ2 = 0 for i in range(len(s)): summ1 += ord(s[i]) for j in range(len(t)): summ2 += ord(t[j]) if summ1 > summ2: print(t, end="") print(s) else: print(t, end="") print(s) s, t = map(str, input().split()) string(s, t)
[ "identifier.change", "call.arguments.change", "io.output.change" ]
619,377
619,378
u137214546
python
p02817
a,b = input().split() print(a,end="") print(b)
a,b = input().split() print(b,end="") print(a)
[ "identifier.change", "call.arguments.change", "io.output.change" ]
619,409
619,410
u046585946
python
p02817
S,T = input().split() ans = S + T print(ans)
S,T = input().split() ans = T + S print(ans)
[ "expression.operation.binary.remove" ]
619,413
619,414
u301319173
python
p02817
a=input() b=input() print(b+a)
a,b=input().split() print(b+a)
[ "assignment.variable.change", "call.remove", "call.add" ]
619,465
619,466
u342502598
python
p02817
s, t = map(str, input().split(" ")) print(s+t)
s, t = map(str, input().split(" ")) print(t+s)
[ "expression.operation.binary.remove" ]
619,479
619,480
u733608212
python
p02817
# -*- coding: utf-8 -*- a, b = input().split() pirnt("{}{}".format(b,a))
# -*- coding: utf-8 -*- a, b = input().split() print("{}{}".format(b,a))
[ "identifier.change", "call.function.change" ]
619,493
619,494
u980483345
python
p02817
print("".join(reverse(input("").split(" "))))
print("".join(reversed(input("").split(" "))))
[ "identifier.change", "call.function.change", "call.arguments.change" ]
619,519
619,520
u029711185
python
p02817
def main(): [s, t] = input().split() print(s + t) if __name__ == "__main__": main()
def main(): [s, t] = input().split() print(t + s) if __name__ == "__main__": main()
[ "expression.operation.binary.remove" ]
619,527
619,528
u954534284
python
p02817
inputValue = input() output = ''.join(inputValue.split()) print(output)
inputValue = input() output = ''.join(reversed(inputValue.split())) print(output)
[ "call.add", "call.arguments.change" ]
619,529
619,530
u151144935
python
p02817
from sys import stdin a,b = [x for x in stdin.readline().rstrip().split()] print(a+b)
from sys import stdin a,b = [x for x in stdin.readline().rstrip().split()] print(b+a)
[ "expression.operation.binary.remove" ]
619,540
619,541
u987164499
python
p02817
''' import math import fractions def make_divisors(n): divisors = [] for i in range(1, int(n**0.5)+1): if n % i == 0: divisors.append(i) if i != n // i: divisors.append(n//i) # divisors.sort() return divisors def bitlist(x,digit): res = [0 for i in range(digit)] now = x for i in range(digit): res[i]=now%2 now = now >> 1 return res ''' #a = list(map(int, input().split())) ''' n,m,t = list(map(int, input().split())) nb = [[] for i in range(n+1)] for i in range(n): a,b = list(map(int, input().split())) nb[a].append([b,i]) nb[b].append([a,i]) print(nb) order = [-1 for i in range(n+1)] order[1] = 0 noworder = 1 nbnow = [len(nb[i])-1 for i in range(n+1)] print(nbnow) queue = [[1,999999]] deque = 0 while(len(queue)>deque and len(queue)<20): nownum = queue[deque][0] nowpos = queue[deque][1] deque+=1 print("a",nownum,nowpos) while(True): if(nb[nownum][nbnow[nownum]][1] > nowpos): nbnow[nownum] -= 1 if(nbnow[nownum]<=-1): break if(nbnow[nownum]<=-1): continue nextnum = nb[nownum][nbnow[nownum]][0] nextpos = nb[nownum][nbnow[nownum]][1] print(nextnum,nextpos) if(order[nextnum]==-1): queue.append([nextnum,nextpos]) order[nextnum]=noworder noworder+=1 print(order) ''' #a = list(map(str, input().split())) a = list(map(str,input().split())) print(a[0]+a[1])
''' import math import fractions def make_divisors(n): divisors = [] for i in range(1, int(n**0.5)+1): if n % i == 0: divisors.append(i) if i != n // i: divisors.append(n//i) # divisors.sort() return divisors def bitlist(x,digit): res = [0 for i in range(digit)] now = x for i in range(digit): res[i]=now%2 now = now >> 1 return res ''' #a = list(map(int, input().split())) ''' n,m,t = list(map(int, input().split())) nb = [[] for i in range(n+1)] for i in range(n): a,b = list(map(int, input().split())) nb[a].append([b,i]) nb[b].append([a,i]) print(nb) order = [-1 for i in range(n+1)] order[1] = 0 noworder = 1 nbnow = [len(nb[i])-1 for i in range(n+1)] print(nbnow) queue = [[1,999999]] deque = 0 while(len(queue)>deque and len(queue)<20): nownum = queue[deque][0] nowpos = queue[deque][1] deque+=1 print("a",nownum,nowpos) while(True): if(nb[nownum][nbnow[nownum]][1] > nowpos): nbnow[nownum] -= 1 if(nbnow[nownum]<=-1): break if(nbnow[nownum]<=-1): continue nextnum = nb[nownum][nbnow[nownum]][0] nextpos = nb[nownum][nbnow[nownum]][1] print(nextnum,nextpos) if(order[nextnum]==-1): queue.append([nextnum,nextpos]) order[nextnum]=noworder noworder+=1 print(order) ''' #a = list(map(str, input().split())) a = list(map(str,input().split())) print(a[1]+a[0])
[ "literal.number.integer.change", "variable_access.subscript.index.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
619,559
619,560
u366541443
python
p02817
import sys def fastio(): from io import StringIO from atexit import register global input sys.stdin = StringIO(sys.stdin.read()) input = lambda : sys.stdin.readline().rstrip('\r\n') sys.stdout = StringIO() register(lambda : sys.__stdout__.write(sys.stdout.getvalue())) fastio() def debug(*var, sep = ' ', end = '\n'): print(*var, file=sys.stderr, end = end, sep = sep) INF = 10**20 MOD = 10**9 + 7 I = lambda:list(map(int,input().split())) # from math import gcd from math import ceil from collections import defaultdict as dd, Counter from bisect import bisect_left as bl, bisect_right as br s, t = input().split() print(t, s)
import sys def fastio(): from io import StringIO from atexit import register global input sys.stdin = StringIO(sys.stdin.read()) input = lambda : sys.stdin.readline().rstrip('\r\n') sys.stdout = StringIO() register(lambda : sys.__stdout__.write(sys.stdout.getvalue())) fastio() def debug(*var, sep = ' ', end = '\n'): print(*var, file=sys.stderr, end = end, sep = sep) INF = 10**20 MOD = 10**9 + 7 I = lambda:list(map(int,input().split())) # from math import gcd from math import ceil from collections import defaultdict as dd, Counter from bisect import bisect_left as bl, bisect_right as br s, t = input().split() print(t + s)
[ "call.arguments.change", "io.output.change" ]
619,571
619,572
u075489826
python
p02817
# coding: utf-8 import numpy as np from functools import lru_cache import time def main(): if True: N,X = list(map(str, input().split())) else: pass print(N+X) if __name__ =='__main__': main()
# coding: utf-8 import numpy as np from functools import lru_cache import time def main(): if True: N,X = list(map(str, input().split())) else: pass print(X+N) if __name__ =='__main__': main()
[ "expression.operation.binary.remove" ]
619,608
619,609
u721047793
python
p02817
s = input().split() print(s[1], s[0])
s = input().split() print(s[1] + s[0])
[ "call.arguments.change", "io.output.change" ]
619,610
619,611
u262750042
python
p02817
s, t = input().strip().split() return t + s
s, t = input().strip().split() print(t + s)
[ "function.return_value.change", "call.arguments.change" ]
619,624
619,625
u765815947
python
p02817
s,t=map(int,input().split()) print(s+t)
左,右=map(str,input().split()) print(右+左)
[ "assignment.value.change", "identifier.change", "call.arguments.change" ]
619,649
619,648
u130900604
python
p02817
S,T=map(str,input().split()) print(T,S)
S,T=map(str,input().split()) print(T+S)
[ "call.arguments.change", "io.output.change" ]
619,656
619,657
u343977188
python
p02817
S_T = str(input()) S = S_T.split(" ")[0] T = S_T.split(" ")[1] print(T, S)
S_T = str(input()) S = S_T.split(" ")[0] T = S_T.split(" ")[1] print(T + S)
[ "call.arguments.change", "io.output.change" ]
619,666
619,667
u000722083
python
p02817
a,b=input().split() print(a+b)
a,b=input().split() print(b+a)
[ "expression.operation.binary.remove" ]
619,688
619,689
u654528273
python
p02817
def solve(s, t): return s + t s, t = input().split() print(solve(s, t))
def solve(s, t): return t + s s, t = input().split() print(solve(s, t))
[ "expression.operation.binary.remove" ]
619,690
619,691
u879309973
python
p02817
a = input.split() print(a[1] + a[0])
a = input().split() print(a[1] + a[0])
[ "call.add" ]
619,696
619,697
u246127272
python
p02817
# 文字列の入力 a,b=map(str,input().split()) # 結果の出力 print(a+b)
# 文字列の入力 a,b=map(str,input().split()) # 結果の出力 print(b+a)
[ "expression.operation.binary.remove" ]
619,700
619,701
u183432736
python
p02817
word1, word2 = input().split() print(word1 + word2)
word1, word2 = input().split() print(word2 + word1)
[ "expression.operation.binary.remove" ]
619,709
619,710
u488925368
python
p02817
S,T = map(str,input().split()) print(S + T)
S,T = map(str,input().split()) print(T + S)
[ "expression.operation.binary.remove" ]
619,713
619,714
u923010184
python
p02817
S,T = map(str,imput().split()) print(S + T)
S,T = map(str,input().split()) print(T + S)
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.change", "expression.operation.binary.remove" ]
619,715
619,714
u923010184
python
p02817
s,t = [i for i in input().split()] print(s+t)
s,t = [i for i in input().split()] print(t+s)
[ "expression.operation.binary.remove" ]
619,725
619,726
u183840468
python
p02817
s,t = map(str,input());print(t+s)
s,t = map(str,input().split());print(t+s)
[ "call.add" ]
619,739
619,740
u291628833
python
p02817
s,t = input().split ans = t + s print(ans)
s,t = input().split() ans = t + s print(ans)
[ "call.add" ]
619,774
619,775
u184148551
python
p02817
s,t = input.split() print(t.lower()+s.lower())
s,t = input().split() print(t.lower() + s.lower())
[ "call.add" ]
619,778
619,779
u680601740
python
p02817
#!/usr/bin/env python3 from collections import defaultdict,deque from heapq import heappush, heappop from bisect import bisect_left, bisect_right import sys, random, itertools, math sys.setrecursionlimit(10**5) input = sys.stdin.readline sqrt = math.sqrt def LI(): return list(map(int, input().split())) def LF(): return list(map(float, input().split())) def LI_(): return list(map(lambda x: int(x)-1, input().split())) def II(): return int(input()) def IF(): return float(input()) def LS(): return list(map(list, input().split())) def S(): return list(input().rstrip()) def IR(n): return [II() for _ in range(n)] def LIR(n): return [LI() for _ in range(n)] def FR(n): return [IF() for _ in range(n)] def LFR(n): return [LI() for _ in range(n)] def LIR_(n): return [LI_() for _ in range(n)] def SR(n): return [S() for _ in range(n)] def LSR(n): return [LS() for _ in range(n)] mod = 1000000007 inf = float('INF') #solve def solve(): s, t = LS() print("".join(s+t)) return #main if __name__ == '__main__': solve()
#!/usr/bin/env python3 from collections import defaultdict,deque from heapq import heappush, heappop from bisect import bisect_left, bisect_right import sys, random, itertools, math sys.setrecursionlimit(10**5) input = sys.stdin.readline sqrt = math.sqrt def LI(): return list(map(int, input().split())) def LF(): return list(map(float, input().split())) def LI_(): return list(map(lambda x: int(x)-1, input().split())) def II(): return int(input()) def IF(): return float(input()) def LS(): return list(map(list, input().split())) def S(): return list(input().rstrip()) def IR(n): return [II() for _ in range(n)] def LIR(n): return [LI() for _ in range(n)] def FR(n): return [IF() for _ in range(n)] def LFR(n): return [LI() for _ in range(n)] def LIR_(n): return [LI_() for _ in range(n)] def SR(n): return [S() for _ in range(n)] def LSR(n): return [LS() for _ in range(n)] mod = 1000000007 inf = float('INF') #solve def solve(): s, t = LS() print("".join(t+s)) return #main if __name__ == '__main__': solve()
[ "expression.operation.binary.remove" ]
619,790
619,791
u423585790
python
p02817
S,T = input().split() U = S+T print(U)
S,T = input().split() U = T+S print(U)
[ "expression.operation.binary.remove" ]
619,792
619,793
u728095140
python
p02817
a, b = input().split(" ") a += b print(a)
a, b = input().split(" ") b += a print(b)
[ "identifier.change", "call.arguments.change", "io.output.change" ]
619,807
619,808
u406405116
python
p02817
# -*- coding: utf-8 -*- S, T=map(str, input().split()) print(S+T)
# -*- coding: utf-8 -*- S, T=map(str, input().split()) print(T+S)
[ "expression.operation.binary.remove" ]
619,819
619,820
u662062459
python
p02817
# -*- coding: utf-8 -*- import sys import math debug = False def log(text): if debug: print(text) def parse_input(lines_as_string = None): global debug lines = [] if lines_as_string is None: debug = False # for line in sys.stdin: # lines.append(line) lines.append(input()) else: debug = True lines = [e for e in lines_as_string.split("\n")][1:-1] (s, t) = [e for e in lines[0].split(" ")] return (s, t) def solve(s, t): return s + t def main(): # 出力 result = solve(*parse_input()) if isinstance(result, list): for r in result: print("%s" % r, sep='') else: print("%s" % result, sep='') if __name__ == '__main__': main()
# -*- coding: utf-8 -*- import sys import math debug = False def log(text): if debug: print(text) def parse_input(lines_as_string = None): global debug lines = [] if lines_as_string is None: debug = False # for line in sys.stdin: # lines.append(line) lines.append(input()) else: debug = True lines = [e for e in lines_as_string.split("\n")][1:-1] (s, t) = [e for e in lines[0].split(" ")] return (s, t) def solve(s, t): return t + s def main(): # 出力 result = solve(*parse_input()) if isinstance(result, list): for r in result: print("%s" % r, sep='') else: print("%s" % result, sep='') if __name__ == '__main__': main()
[ "expression.operation.binary.remove" ]
619,827
619,828
u000557170
python
p02817
def main(): s, t = input().split() ans = ''.join([s, t]) print(ans) if __name__ == '__main__': main()
def main(): s, t = input().split() ans = ''.join([t, s]) print(ans) if __name__ == '__main__': main()
[]
619,835
619,836
u219157465
python
p02817
S,T=list(map(str,input().split())) print(T,S)
S,T=list(map(str,input().split())) print(T+S)
[ "call.arguments.change", "io.output.change" ]
619,863
619,864
u079022693
python
p02817
k=input().split() p=k[0]+k[1] print(p)
k=input().split() p=k[1]+k[0] print(p)
[ "expression.operation.binary.remove" ]
619,865
619,866
u472279714
python
p02817
a = input().split() s=a[0] t=a[1] print(t&s)
a = input().split() s=a[0] t=a[1] print(t+s)
[ "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
619,884
619,885
u036531287
python
p02817
first, second = [input().split()] print(second+first)
first, second = input().split() print(second+first)
[]
619,898
619,899
u642682703
python
p02817
a,b = input().split() ans = a+b print(ans)
a,b = input().split() ans = b+a print(ans)
[ "expression.operation.binary.remove" ]
619,906
619,907
u092387689
python
p02817
S, T = list(map(int, input().split())) print(T+S)
S, T = list(map(str, input().split())) print(T+S)
[ "assignment.value.change", "identifier.change", "call.arguments.change" ]
619,916
619,917
u418527037
python
p02817
s,t = map(str,input().split()) print(s + t)
s,t = map(str,input().split()) print(t + s)
[ "expression.operation.binary.remove" ]
619,979
619,980
u865119809
python
p02817
str = input().split() print(str[0]+str[1], sep="")
str = input().split() print(str[1]+str[0], sep="")
[ "literal.number.integer.change", "variable_access.subscript.index.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
619,988
619,989
u076764813
python
p02817
st=input().split() print(st[0]+st[1])
st=input().split() print(st[1]+st[0])
[ "literal.number.integer.change", "variable_access.subscript.index.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
619,992
619,993
u268981216
python
p02817
st=input().split(' ') print(st[0]+st[1])
st=input().split() print(st[1]+st[0])
[ "literal.number.integer.change", "variable_access.subscript.index.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
619,994
619,993
u268981216
python
p02817
S,T = (str(x) for x in input().split()) print(S+T)
S,T = (str(x) for x in input().split()) print(T+S)
[ "expression.operation.binary.remove" ]
619,995
619,996
u866187137
python
p02817
S,T = map(input().split()) ans = T+S print(ans)
S,T = input().split() ans = T+S print(ans)
[ "call.remove", "call.arguments.change" ]
620,001
620,002
u151365505
python
p02817
S,T = list(input()) ans = T+S print(ans)
S,T = input().split() ans = T+S print(ans)
[ "call.remove", "call.add" ]
620,003
620,002
u151365505
python
p02817
s, t = input().rstrip().split() print(s + t)
s, t = input().rstrip().split() print(t + s)
[ "expression.operation.binary.remove" ]
620,010
620,011
u973013625
python
p02817
print("".join(input().split()))
print("".join(input().split()[::-1]))
[]
620,041
620,042
u782098901
python
p02817
a,b = input().split() print (a + b)
a,b = input().split() print (b + a)
[ "expression.operation.binary.remove" ]
620,068
620,069
u575207957
python
p02817
s,t = input().split(" ") print(t,s)
s,t = input().split(" ") print(t+s)
[ "call.arguments.change", "io.output.change" ]
620,078
620,079
u075109824
python
p02817
if __name__ == "__main__": A, B = input().split() print(A + B)
if __name__ == "__main__": A, B = input().split() print(B + A)
[ "expression.operation.binary.remove" ]
620,093
620,094
u932370518
python
p02817
s , t = input().split() ans = s+t print (ans)
s , t = input().split() ans = t+s print (ans)
[ "expression.operation.binary.remove" ]
620,097
620,098
u025463382
python
p02817
def main(): a, b = input().split() print(a + b) if __name__ == '__main__': main()
def main(): a, b = input().split() print(b + a) if __name__ == '__main__': main()
[ "expression.operation.binary.remove" ]
620,112
620,113
u846694620
python
p02817
S=input().split() print("".join(S))
S=input().split() print("".join(S[::-1]))
[]
620,124
620,125
u695811449
python
p02817
ST = split.input() print(ST[1] + ST[0], sep = "")
ST = input().split() print(ST[1] + ST[0], sep = "")
[ "call.add" ]
620,128
620,129
u529500825
python
p02817
# coding: utf-8 import sys import math import collections import itertools from inspect import currentframe INF = 10 ** 10 MOD = 10 ** 9 + 7 def input() : return sys.stdin.readline().strip() def gcd(x, y) : return y if x % y == 0 else gcd(y, x % y) def lcm(x, y) : return (x * y) // gcd(x, y) def I() : return int(input()) def MI() : return map(int, input().split()) def LI() : return [int(x) for x in input().split()] def RI(N) : return [int(input()) for _ in range(N)] def LRI(N) : return [[int(x) for x in input().split()] for _ in range(N)] def chkprint(*args) : names = {id(v):k for k,v in currentframe().f_back.f_locals.items()}; print(', '.join(names.get(id(arg),'???')+' = '+repr(arg) for arg in args)) S, T = input().split() print(S + T)
# coding: utf-8 import sys import math import collections import itertools from inspect import currentframe INF = 10 ** 10 MOD = 10 ** 9 + 7 def input() : return sys.stdin.readline().strip() def gcd(x, y) : return y if x % y == 0 else gcd(y, x % y) def lcm(x, y) : return (x * y) // gcd(x, y) def I() : return int(input()) def MI() : return map(int, input().split()) def LI() : return [int(x) for x in input().split()] def RI(N) : return [int(input()) for _ in range(N)] def LRI(N) : return [[int(x) for x in input().split()] for _ in range(N)] def chkprint(*args) : names = {id(v):k for k,v in currentframe().f_back.f_locals.items()}; print(', '.join(names.get(id(arg),'???')+' = '+repr(arg) for arg in args)) S, T = input().split() print(T + S)
[ "expression.operation.binary.remove" ]
620,169
620,170
u102278909
python
p02817
x,y = map(str,input().split()) x += y print(x)
x,y = map(str,input().split()) y += x print(y)
[ "identifier.change", "call.arguments.change", "io.output.change" ]
620,175
620,176
u487594898
python
p02817
s,t = input().split(" ") print(t+" "+s)
s,t = input().split(" ") print(t+s)
[ "expression.operation.binary.remove" ]
620,179
620,180
u899929023
python
p02817
S,T = input().split() str=S+T print(str)
S,T = input().split() str=T+S print(str)
[ "expression.operation.binary.remove" ]
620,195
620,196
u991619971
python
p02817
S, T = map(str, input().split()) print(S,end="") print(T)
S, T = map(str, input().split()) print(T,end="") print(S)
[ "identifier.change", "call.arguments.change", "io.output.change" ]
620,199
620,200
u698902360
python
p02817
a , b =map(str,input().split()) ans = a + b print(ans)
a , b =map(str,input().split()) ans = b + a print(ans)
[ "expression.operation.binary.remove" ]
620,209
620,210
u676258045
python
p02817
a,b=(input().split()) print(a+b)
a,b=(input().split()) print(b+a)
[ "expression.operation.binary.remove" ]
620,219
620,220
u608493167
python
p02817
#!/usr/bin/python3 # -*- coding: utf-8 -*- a, b = input().split() print(a+b)
#!/usr/bin/python3 # -*- coding: utf-8 -*- a, b = input().split() print(b+a)
[ "expression.operation.binary.remove" ]
620,237
620,238
u190616335
python
p02817
a = list(map(int,input().split())) print(a[1],a[0])
a = list(map(str,input().split())) print(a[1] + a[0])
[ "assignment.value.change", "identifier.change", "call.arguments.change", "io.output.change" ]
620,241
620,242
u861071267
python
p02817
if __name__ == "__main__": S, T = input().split() print(S + T)
if __name__ == "__main__": S, T = input().split() print(T + S)
[ "expression.operation.binary.remove" ]
620,243
620,244
u783506895
python
p02817
# -*- coding: utf-8 -*- n, k = map(str, input().split()) print(n+k)
# -*- coding: utf-8 -*- n, k = map(str, input().split()) print(k+n)
[ "expression.operation.binary.remove" ]
620,256
620,257
u214245159
python
p02817
s,t = input().split( ) print(s+t)
s,t = input().split( ) print(t+s)
[ "expression.operation.binary.remove" ]
620,260
620,261
u520276780
python
p02817
a, b = input().split() print(b,a)
a, b = input().split() print(b,a, sep="")
[ "call.arguments.add" ]
620,266
620,267
u178432859
python
p02817
import os nyu = input().split() S=nyu[0].strip() T=nyu[1].strip() print(S+T)
import os nyu = input().split() S=nyu[0].strip() T=nyu[1].strip() print(T+S)
[ "expression.operation.binary.remove" ]
620,272
620,273
u175701055
python
p02817
s, t = input().split() print(s+t)
s, t = input().split() print(t+s)
[ "expression.operation.binary.remove" ]
620,274
620,275
u955488057
python