buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, b, c;
cin >> a >> b >> c;
cout << c << " " << b << " " << a;
return 0;
}
| #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int a, b, c;
cin >> a >> b >> c;
cout << c << " " << a << " " << b;
return 0;
} | [["-", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 63 |
#include <algorithm>
#include <assert.h>
#include <cmath>
#include <iostream>
#include <map>
#include <memory.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <unordered_map>
#include <unordered_set>
#include <vec... | #include <algorithm>
#include <assert.h>
#include <cmath>
#include <iostream>
#include <map>
#include <memory.h>
#include <queue>
#include <set>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <unordered_map>
#include <unordered_set>
#include <vec... | [["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]] | 1 | 128 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.List;
class Main {
public static void main(String[] args) throws Exception {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.List;
class Main {
public static void main(String[] args) throws Exception {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<... | [["+", 3, 4, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 307 |
# -*- coding: utf-8 -*-
BOX = list(map(int, input().split()))
print([BOX[2], BOX[0], BOX[1]]) | # -*- coding: utf-8 -*-
BOX = list(map(int, input().split()))
print(BOX[2], BOX[0], BOX[1]) | [["-", 0, 1, 0, 652, 3, 4, 0, 634, 0, 70], ["-", 0, 652, 3, 4, 0, 634, 0, 206, 0, 73]] | 5 | 37 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y, Z;
cin >> X >> Y >> Z;
printf("%d %d %d ¥n", Z, X, Y);
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int X, Y, Z;
cin >> X >> Y >> Z;
printf("%d %d %d\n", Z, X, Y);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 40 |
#include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int i, a[3], b[3];
for (i = 0; i < 3; i++) {
cin >> a[i];
}
b[0] = a[2];
b[1] = a[1];
b[2] = a[0];
for (i = 0; i < 3; i++) {
cout << b[i] << " ";
}
return 0;
} | #include <iomanip>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int i, a[3], b[3];
for (i = 0; i < 3; i++) {
cin >> a[i];
}
b[0] = a[2];
b[1] = a[0];
b[2] = a[1];
for (i = 0; i < 3; i++) {
cout << b[i] << " ";
}
return 0;
} | [["-", 0, 1, 0, 11, 12, 69, 341, 342, 0, 13], ["+", 0, 1, 0, 11, 12, 69, 341, 342, 0, 13]] | 1 | 110 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a;
int b;
int c;
cin >> a;
cin >> b;
cin >> c;
int x;
x = a;
a = b;
c = a;
x = a;
a = c;
c = x;
cout << a << " " << b << " " << c << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a;
int b;
int c;
cin >> a;
cin >> b;
cin >> c;
int x;
x = a;
a = b;
b = x;
x = a;
a = c;
c = x;
cout << a << " " << b << " " << c << endl;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22]] | 1 | 78 |
X, Y, Z = map(int, input().split())
"""
temp = Y
Y = X
X = temp
temp = Z
Z = X
X = temp
"""
print(Z, Y, X) | X, Y, Z = map(int, input().split())
"""
temp = Y
Y = X
X = temp
temp = Z
Z = X
X = temp
"""
print(Z, X, Y) | [["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22]] | 5 | 29 |
#include <algorithm>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <fstream>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespac... | #include <algorithm>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <fstream>
#include <iostream>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
using namespac... | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 125 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int a = s.nextInt();
int b = s.nextInt();
int c = s.nextInt();
System.out.print(c + " " + b + " " + a);
}
} | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int a = s.nextInt();
int b = s.nextInt();
int c = s.nextInt();
System.out.print(c + " " + a + " " + b);
}
}
| [["-", 3, 4, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 3, 4, 0, 16, 31, 16, 31, 16, 12, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 83 |
import sys
a, b, c = int(sys.stdin.readline().split())
print(c, a, b) | import sys
a, b, c = map(int, sys.stdin.readline().split())
print(c, a, b) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21]] | 5 | 30 |
#include <bits/stdc++.h>
using namespace std;
int A, B, C;
int main() {
cin >> A >> B >> C;
int tmp = A;
A = B;
B = tmp;
tmp = C;
C = A;
A = C;
cout << A << " " << B << " " << C << endl;
} | #include <bits/stdc++.h>
using namespace std;
int A, B, C;
int main() {
cin >> A >> B >> C;
int tmp = A;
A = B;
B = tmp;
tmp = C;
C = A;
A = tmp;
cout << A << " " << B << " " << C << endl;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22]] | 1 | 70 |
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
swap(a, b);
swap(a, c);
cout << a << " " << b << "" << c << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
// 整数の入力
int a, b, c;
cin >> a >> b >> c;
swap(a, b);
swap(a, c);
// 出力
cout << a << " " << b << " " << c << endl;
return 0;
} | [["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]] | 1 | 61 |
/* Author : bitshar */
// #pragma GCC optimize ("-O3")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
ll MOD = 1e9 + 7;
#define forn(i, e) for (ll i = 0; i < e; i++)
#define forsn(i, s, e) for (ll i = s; i < e; i++)
#... | /* Author : bitshar */
// #pragma GCC optimize ("-O3")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
ll MOD = 1e9 + 7;
#define forn(i, e) for (ll i = 0; i < e; i++)
#define forsn(i, s, e) for (ll i = s; i < e; i++)
#... | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 343 |
x, y, z = input().split()
print(" ".join([y,z,x])) | x, y, z = input().split()
print(" ".join([z,x,y])) | [["-", 3, 4, 0, 652, 3, 4, 0, 634, 0, 22], ["-", 3, 4, 0, 652, 3, 4, 0, 634, 0, 21], ["+", 3, 4, 0, 652, 3, 4, 0, 634, 0, 21], ["+", 3, 4, 0, 652, 3, 4, 0, 634, 0, 22]] | 5 | 30 |
import java.util.Scanner;
import java.util.StringJoiner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String x = scanner.nextLine();
String y = scanner.nextLine();
String z = scanner.nextLine();
String result = String.join(" ", z, x, y);
... | import java.util.Scanner;
import java.util.StringJoiner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String x = scanner.next();
String y = scanner.next();
String z = scanner.next();
String result = String.join(" ", z, x, y);
System.ou... | [["-", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22]] | 3 | 96 |
if __name__ == '__main__':
a,b,c = raw_input().split(" ")
a,b = b,a
a,c = c,a
stdout(a, b, c) | if __name__ == '__main__':
a,b,c = input().split(" ")
a,b = b,a
a,c = c,a
print(a, b, c) | [["-", 0, 662, 12, 652, 63, 319, 500, 652, 63, 22], ["+", 0, 662, 12, 652, 63, 319, 500, 652, 63, 22], ["-", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22], ["+", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22]] | 5 | 45 |
#include <bits/stdc++.h>
using namespace std;
#define sf(n) scanf("%d", &n)
#define pd(n) printf("%.12lf", n)
#define pf(n) printf("%d", n)
#define p() printf("\n")
#define ps() printf(" ")
#define ll long long
#define ull unsigned long long
#define MAX 1e9
const int mod = 1000 * 1000 * 1000 + 7;
#define ex 1e18
#def... | #include <bits/stdc++.h>
using namespace std;
#define sf(n) scanf("%d", &n)
#define pd(n) printf("%.12lf", n)
#define pf(n) printf("%d", n)
#define p() printf("\n")
#define ps() printf(" ")
#define ll long long
#define ull unsigned long long
#define MAX 1e9
const int mod = 1000 * 1000 * 1000 + 7;
#define ex 1e18
#def... | [["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]] | 1 | 213 |
from sys import stdin, stdout
l = list(map(int, stdin.readline().rstrip().split(' ')))
f=[]
i=-1
n = 0
while(n<len(l)):
f.append(l[i])
i = i+1
n= n+1
print(f) | from sys import stdin, stdout
l = list(map(int, stdin.readline().rstrip().split(' ')))
f=[]
i=-1
n = 0
while(n<len(l)):
f.append(l[i])
i = i+1
n= n+1
print(*f,sep=" ") | [["+", 0, 1, 0, 652, 3, 4, 0, 661, 0, 48], ["+", 0, 656, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 141, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 653, 0, 32], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 654], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 655]] | 5 | 76 |
#include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
cout << z << " " << x << " " << z;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
cout << z << " " << x << " " << y;
return 0;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 46 |
#include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
#define ll long long int
#define inf std::numeric_limits<double>::infinity()
#define DECI(n) fixed << showpoint << setprecision(n)
#define MOD 1000000007LL
#define FOR(i, start, end) for (int i = start; i < end; i++)
#define FORR(i, end... | #include <bits/stdc++.h>
#include <iostream>
#include <math.h>
using namespace std;
#define ll long long int
#define inf std::numeric_limits<double>::infinity()
#define DECI(n) fixed << showpoint << setprecision(n)
#define MOD 1000000007LL
#define FOR(i, start, end) for (int i = start; i < end; i++)
#define FORR(i, end... | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 159 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int z = sc.nextInt();
int a = x;
int b = y;
int c = z;
int aux = a, aux1 = c;
a = b;
b = aux;
c = a;
a = aux... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int z = sc.nextInt();
int a = x;
int b = y;
int c = z;
int aux = a, aux1 = c;
a = b;
b = aux;
c = a;
a = aux... | [["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 491], ["+", 0, 23, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 123 |
x, y, z = input().split()
print(z + " " + y + " " + x) | x, y, z = input().split()
print(z + " " + x + " " + y) | [["-", 3, 4, 0, 657, 31, 657, 31, 657, 12, 22], ["+", 3, 4, 0, 657, 31, 657, 31, 657, 12, 22], ["-", 0, 1, 0, 652, 3, 4, 0, 657, 12, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 22]] | 5 | 29 |
/*
--> WHEN IT'S OBVIOUS THAT THE GOAL CANNOT BE REACHED,
DON'T ADJUST THE GOALS,
ADJUST THE ACTION STEPS.
--> THE WAY YOU CONQUER SELF-DOUBT IS BY DOING THINGS THAT MAKE YOU
UNCOMFORTABLE.
--> IT IS DURING OUR DARKEST MOMENTS WE MUST FOCUS TO SEE LIGHT.
*/
#include <algorithm>
#include <climits>
#in... | /*
--> WHEN IT'S OBVIOUS THAT THE GOAL CANNOT BE REACHED,
DON'T ADJUST THE GOALS,
ADJUST THE ACTION STEPS.
--> THE WAY YOU CONQUER SELF-DOUBT IS BY DOING THINGS THAT MAKE YOU
UNCOMFORTABLE.
--> IT IS DURING OUR DARKEST MOMENTS WE MUST FOCUS TO SEE LIGHT.
*/
#include <algorithm>
#include <climits>
#in... | [["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 336 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
int a[3];
for (int i = 0; i < 3; i++)
cin >> a[i];
cout << a[2] << ' ' << a[0] << a[1] << '\n';
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int a[3];
for (int i = 0; i < 3; i++)
cin >> a[i];
cout << a[2] << ' ' << a[0] << ' ' << a[1] << '\n';
return 0;
} | [["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 125], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]] | 1 | 68 |
#include <bits/stdc++.h>
typedef long long ll;
using namespace std;
#define all(x) (x).begin(), (x).end()
#define eb emplace_back
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define sz(x) ((int)(x).size())
#define rep(x, y, z) for (int x = y; x < z; x++)
#define per(x, z, y) for (int x... | #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
#define all(x) (x).begin(), (x).end()
#define eb emplace_back
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define sz(x) ((int)(x).size())
#define rep(x, y, z) for (int x = y; x < z; x++)
#define per(x, z, y) for (int x... | [["-", 0, 1, 0, 2, 3, 4, 0, 66, 28, 22], ["+", 0, 1, 0, 2, 3, 4, 0, 66, 28, 22]] | 1 | 167 |
#include <stdio.h>
int main() {
int x, y, z, temp;
scanf("%d %d %d", x, y, z);
temp = x;
x = y;
y = temp;
temp = x;
x = z;
z = temp;
printf("%d %d %d", x, y, z);
return 0;
} | #include <stdio.h>
int main() {
int x, y, z, temp;
scanf("%d %d %d", &x, &y, &z);
temp = x;
x = y;
y = temp;
temp = x;
x = z;
z = temp;
printf("%d %d %d", x, y, z);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 70 |
#include <bits/stdc++.h>
#define ll long long int
#define vi vector<int>
#define vl vector<long long>
#define fin(ar, k, n) \
for (int i = k; i < n; i++) \
cin >> ar[i]
#define fout(ar, k, n) ... | #include <bits/stdc++.h>
#define ll long long int
#define vi vector<int>
#define vl vector<long long>
#define fin(ar, k, n) \
for (int i = k; i < n; i++) \
cin >> ar[i]
#define fout(ar, k, n) ... | [["-", 0, 163, 0, 14, 8, 9, 0, 171, 0, 184], ["-", 0, 163, 0, 14, 8, 9, 0, 171, 141, 22], ["+", 0, 163, 0, 14, 8, 9, 0, 171, 0, 172], ["+", 0, 163, 0, 14, 8, 9, 0, 171, 141, 22]] | 1 | 246 |
a,b,c = input().split()
print(str(c)+" "+str(b)+" "+str(a)) | a,b,c = input().split()
print(str(c)+" "+str(a)+" "+str(b)) | [["-", 31, 657, 31, 657, 12, 652, 3, 4, 0, 22], ["+", 31, 657, 31, 657, 12, 652, 3, 4, 0, 22], ["-", 3, 4, 0, 657, 12, 652, 3, 4, 0, 22], ["+", 3, 4, 0, 657, 12, 652, 3, 4, 0, 22]] | 5 | 38 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int Array[3];
for (int i = 0; i < 3; i++) {
cin >> Array[i];
}
swap(Array[0], Array[1]);
swap(Array[0], Array[2]);
for (int i = 0; i < 3; i++) {
cout << Array[i];
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int Array[3];
for (int i = 0; i < 3; i++) {
cin >> Array[i];
}
swap(Array[0], Array[1]);
swap(Array[0], Array[2]);
for (int i = 0; i < 3; i++) {
cout << Array[i] << " ";
}
} | [["+", 0, 7, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 90 |
#include <bits/stdc++.h>
using namespace std;
class temp {
public:
int value;
};
void swapVal(temp t1, temp t2) {
swap(t1.value, t2.value);
return;
}
int main() {
temp A, B, C;
cin >> A.value >> B.value >> C.value;
swapVal(A, B);
swapVal(A, C);
cout << A.value << " " << B.value << " " << C.value << endl... | #include <bits/stdc++.h>
using namespace std;
class temp {
public:
int value;
};
void swapVal(temp &t1, temp &t2) {
swap(t1.value, t2.value);
return;
}
int main() {
temp A, B, C;
cin >> A.value >> B.value >> C.value;
swapVal(A, B);
swapVal(A, C);
cout << A.value << " " << B.value << " " << C.value << en... | [["+", 49, 53, 54, 55, 0, 56, 49, 352, 0, 67]] | 1 | 108 |
#include <stdio.h>
int main(void) {
int x;
int y;
int z;
scanf("%d", &x);
scanf("%d", &y);
scanf("%d", &z);
printf("%d", z);
printf("%d", x);
printf("%d", y);
return 0;
} | #include <stdio.h>
int main(void) {
int x;
int y;
int z;
scanf("%d", &x);
scanf("%d", &y);
scanf("%d", &z);
printf("%d", z);
printf(" %d", x);
printf(" %d", y);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 78 |
a = [i for i in input().split()]
print(a[2], a[1], a[0]) | a = [i for i in input().split()]
print(a[2], a[0], a[1]) | [["-", 0, 1, 0, 652, 3, 4, 0, 206, 206, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 206, 206, 612]] | 5 | 32 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int X = in.nextInt();
int Y = in.nextInt();
int Z = in.nextInt();
int T = 0;
T = X;
X = Y;
Y = T;
X = Z;
Z = T;
System.out.println(X + " " + Y + " " +... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int X = in.nextInt();
int Y = in.nextInt();
int Z = in.nextInt();
int T = 0;
T = X;
X = Y;
Y = T;
T = X;
X = Z;
Z = T;
System.out.println(X + " " ... | [["+", 0, 195, 8, 196, 0, 1, 0, 11, 31, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 17, 32], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 12, 22], ["+", 8, 498, 0, 195, 8, 196, 0, 1, 0, 35]] | 3 | 108 |
#include <iostream>
#include <utility>
int main(void) {
int x, y, z;
scanf("%d %d %d", &x, &y, &z);
using std::swap;
swap(x, y);
swap(x, z);
printf("%d, %d, %d\n", x, y, z);
return 0;
} | #include <iostream>
#include <utility>
int main(void) {
int x, y, z = 0;
scanf("%d %d %d\n", &x, &y, &z);
using std::swap;
swap(x, y);
swap(x, z);
printf("%d %d %d\n", x, y, z);
return 0;
} | [["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 70 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a, b, c;
cout << c << " " << a << " " << b;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << c << " " << a << " " << b;
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 152], ["-", 8, 9, 0, 1, 0, 34, 12, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152]] | 1 | 43 |
#include <bits/stdc++.h>
#define FOR(i, a, n) for (int(i) = (int)(a); (i) < (int)(n); ++(i))
#define FORe(i, a, n) for (int(i) = (int)(a); (i) <= (int)(n); ++(i))
#define rFOR(i, a, n) for (int(i) = (int)(n)-1; (i) >= (int)(a); --(i))
#define REP(i, n) FOR((i), 0, (n))
#define REPe(i, n) FORe((i), 0, (n))
#define rREP(... | #include <bits/stdc++.h>
#define FOR(i, a, n) for (int(i) = (int)(a); (i) < (int)(n); ++(i))
#define FORe(i, a, n) for (int(i) = (int)(a); (i) <= (int)(n); ++(i))
#define rFOR(i, a, n) for (int(i) = (int)(n)-1; (i) >= (int)(a); --(i))
#define REP(i, n) FOR((i), 0, (n))
#define REPe(i, n) FORe((i), 0, (n))
#define rREP(... | [["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 199 |
// ABC 161
// inputに入力データ全体が入る
function Main(input) {
// BCA
const A = parseInt(input.split(" ")[1], 10);
const B = parseInt(input.split(" ")[2], 10);
const C = parseInt(input.split(" ")[0], 10);
console.log(A + " " + B + " " + C)
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
| // ABC 161
// inputに入力データ全体が入る
function Main(input) {
// BCA
const A = parseInt(input.split(" ")[2], 10);
const B = parseInt(input.split(" ")[0], 10);
const C = parseInt(input.split(" ")[1], 10);
console.log(A + " " + B + " " + C)
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
| [["-", 0, 200, 51, 2, 3, 3, 0, 69, 71, 555], ["+", 0, 200, 51, 2, 3, 3, 0, 69, 71, 555]] | 2 | 109 |
#include <stdio.h>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%d %d %d¥n", c, a, b);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%d %d %d\n", c, a, b);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 1 | 47 |
def main(str)
a, b, c = str.split(" ")
[c, a, b].join(" ")
end
main($stdin.read.chomp) | def main(str)
a, b, c = str.split(" ")
[c, a, b].join(" ")
end
puts main($stdin.read.chomp) | [["+", 36, 36, 36, 36, 0, 493, 0, 652, 735, 22]] | 4 | 42 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define all(v) ((v).begin()), ((v).end())
#define clr(v, val) memset(v, val, sizeof v)
#define watch(x) cout << (#x) << " is " << (x) << endl
#define endl "\n"
void Run() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
#ifndef ONLINE_JUD... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define all(v) ((v).begin()), ((v).end())
#define clr(v, val) memset(v, val, sizeof v)
#define watch(x) cout << (#x) << " is " << (x) << endl
#define endl "\n"
void Run() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
#ifndef ONLINE_JUD... | [["-", 0, 14, 8, 9, 0, 1, 0, 2, 63, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 130 |
#include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x;
cin >> y;
cin >> z;
cout << z << " " << y << " " << x << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int x, y, z;
cin >> x;
cin >> y;
cin >> z;
cout << z << " " << x << " " << y << endl;
return 0;
} | [["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]] | 1 | 52 |
a, b, c = map(int, input())
print("{} {} {}".format(c, a, b)) | a, b, c = map(int, input().split())
print("{} {} {}".format(c, a, b)) | [["+", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["+", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 29 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define vec vector<ll>
#define sortv(a) \
; \
sort(a.begin(), a.end());
#define rev(a) ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define vec vector<ll>
#define sortv(a) \
; \
sort(a.begin(), a.end());
#define rev(a) ... | [["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 152], ["-", 8, 9, 0, 1, 0, 34, 12, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152]] | 1 | 116 |
a, b, c = map(int,input().split())
a, b, c = b, a, c
a, b, c = c, a, b
print(a, b, c)
| a, b, c = map(int,input().split())
a, b, c = b, a, c
a, b, c = c, b, a
print(a, b, c)
| [["-", 0, 656, 0, 1, 0, 662, 12, 432, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 432, 0, 21], ["+", 0, 656, 0, 1, 0, 662, 12, 432, 0, 21], ["+", 0, 656, 0, 1, 0, 662, 12, 432, 0, 22]] | 5 | 48 |
a,b,c=(int(x) for x in input().split())
print(str(a)+" "+str(c)+" "+str(b))
| a,b,c=(int(x) for x in input().split())
print(str(c)+" "+str(a)+" "+str(b))
| [["-", 31, 657, 31, 657, 31, 652, 3, 4, 0, 22], ["+", 31, 657, 31, 657, 31, 652, 3, 4, 0, 22], ["-", 31, 657, 31, 657, 12, 652, 3, 4, 0, 22], ["+", 31, 657, 31, 657, 12, 652, 3, 4, 0, 22]] | 5 | 47 |
x, y, z = gets.chomp.split.map(&to_i)
puts [z, x, y].join(" ") | x, y, z = gets.chomp.split.map(&:to_i)
puts [z, x, y].join(" ") | [["-", 0, 662, 12, 652, 3, 4, 0, 752, 0, 22], ["+", 0, 662, 12, 652, 3, 4, 0, 752, 0, 753]] | 4 | 32 |
int = gets.split(" ").chomp.map(&:to_i)
print "#{int[2]} #{int[0]} #{int[1]}" | # Your code here!
int = gets.chomp.split(" ").map(&:to_i)
print "#{int[2]} #{int[0]} #{int[1]}"
| [["+", 0, 662, 12, 652, 486, 652, 486, 652, 735, 22], ["+", 0, 493, 0, 662, 12, 652, 486, 652, 17, 131], ["-", 0, 493, 0, 662, 12, 652, 486, 652, 17, 131], ["-", 0, 493, 0, 662, 12, 652, 486, 652, 735, 22]] | 4 | 41 |
a = list(map(int(input().split())))
n = len(a)-1
i = 0
for _ in range(len(a)-1):
temp = a[i]
a[i] = a[n-1]
a[n-1] = temp
n+=1
for i in a:
print(i,end=" ")
| a = list(map(int,input().split()))
n = len(a)-1
i = 0
for _ in range(len(a)-1):
temp = a[i]
a[i] = a[n-1]
a[n-1] = temp
n+=1
for i in a:
print(i,end=" ")
| [["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 21], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 85 |
#include <bits/stdc++.h>
using namespace std;
#define REP(i, s) for (int i = 0; i < s; ++i)
#define ALL(v) (v).begin(), (v).end()
#define COUT(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << endl
#define EACH(i, s) \
for (__typeof__((s).begin()... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, s) for (int i = 0; i < s; ++i)
#define ALL(v) (v).begin(), (v).end()
#define COUT(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << endl
#define EACH(i, s) \
for (__typeof__((s).begin()... | [["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22]] | 1 | 500 |
<?php
$array = explode(trim(fgets(STDIN)));
echo $array[2] . " " . $array[0] . " " . $array[1] . "\n"; | <?php
$array = explode(" ", trim(fgets(STDIN)));
echo $array[2] . " " . $array[0] . " " . $array[1] . "\n"; | [["+", 12, 613, 3, 3, 0, 28, 0, 609, 0, 62], ["+", 12, 613, 3, 3, 0, 28, 0, 609, 0, 610], ["+", 0, 1, 0, 11, 12, 613, 3, 3, 0, 21]] | 6 | 46 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
swap(a, b);
swap(a, c);
cout << a << ' ' << b << ' ' << 'c' << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
swap(a, b);
swap(a, c);
cout << a << ' ' << b << ' ' << c << endl;
return 0;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 104]] | 1 | 64 |
#define _CRT_SECURE_NO_WARNINGS
#include <bits/stdc++.h>
#include <chrono>
#include <random>
using namespace std;
#define int long long
#define ll long long
//#define double long double
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
const int INF = 2e9;
const int MB = 32;
const int MOD = 9982... | #define _CRT_SECURE_NO_WARNINGS
#include <bits/stdc++.h>
#include <chrono>
#include <random>
using namespace std;
#define int long long
#define ll long long
//#define double long double
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
const int INF = 2e9;
const int MB = 32;
const int MOD = 9982... | [["-", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 130 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i < n + 1; i++)
#define sort(A) sort(A.begin(), A.end())
#define reverse(A) reverse(A.begin(), A.end())
typedef long long ll;
int main() {
int a, b, c;
cin >> a >> b >> c;
swap(a, b);
... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i < n + 1; i++)
#define sort(A) sort(A.begin(), A.end())
#define reverse(A) reverse(A.begin(), A.end())
typedef long long ll;
int main() {
int a, b, c;
cin >> a >> b >> c;
swap(a, b);
... | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 92 |
#include <iostream>
using namespace std;
void swap(int &a, int &b) {
int temp = a;
a = b;
b = temp;
}
int main() {
int a, b, c;
cin >> a, b, c;
swap(a, b);
swap(a, c);
cout << a << " " << b << " " << c << endl;
} | #include <iostream>
using namespace std;
void swap(int &a, int &b) {
int temp = a;
a = b;
b = temp;
}
int main() {
int a, b, c;
cin >> a >> b >> c;
swap(a, b);
swap(a, c);
cout << a << " " << b << " " << c << endl;
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 152], ["-", 8, 9, 0, 1, 0, 34, 12, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152]] | 1 | 85 |
base = input().split()
print(int(base[2]),int(base[1]),int(base[0])) | base = input().split()
print(int(base[2]),int(base[0]),int(base[1])) | [["-", 3, 4, 0, 652, 3, 4, 0, 206, 206, 612], ["+", 3, 4, 0, 652, 3, 4, 0, 206, 206, 612]] | 5 | 35 |
#include <stdio.h>
int main(void) {
int tmp, a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%d%d%d", c, a, b);
return 0;
} | #include <stdio.h>
int main(void) {
int tmp, a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%d %d %d", c, a, b);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 50 |
#include <bits/stdc++.h>
using namespace std;
int a[10001];
int main() {
scanf("%d %d %d", &a[1], &a[2], &a[3]);
printf("%d %d %d", a[3], a[2], a[1]);
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a[10001];
int main() {
scanf("%d %d %d", &a[1], &a[2], &a[3]);
printf("%d %d %d", a[3], a[1], a[2]);
return 0;
} | [["-", 0, 2, 3, 4, 0, 69, 341, 342, 0, 13], ["+", 0, 2, 3, 4, 0, 69, 341, 342, 0, 13]] | 1 | 68 |
#include <stdio.h>
int main() {
int X, Y, Z, tmp = 0;
char s[101];
// 整数の入力
scanf("%d %d %d", &X, &Y, &Z);
tmp = X;
X = Y;
Y = tmp;
tmp = Z;
X = Z;
Z = tmp;
// 出力
printf("%d %d %d\n", X, Y, Z);
return 0;
} | #include <stdio.h>
int main() {
int X, Y, Z, tmp = 0;
char s[101];
// 整数の入力
scanf("%d %d %d", &X, &Y, &Z);
tmp = X;
X = Y;
Y = tmp;
tmp = X;
X = Z;
Z = tmp;
// 出力
printf("%d %d %d", X, Y, Z);
return 0;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 84 |
#include <stdio.h>
int main() {
int x, y, z, a, b, c;
scanf("%d%d%d", &x, &y, &z);
a = z;
b = x;
c = y;
printf("%d%d%d", a, b, c);
return 0;
} | #include <stdio.h>
int main() {
int x, y, z, a, b, c;
scanf("%d%d%d", &x, &y, &z);
a = z;
b = x;
c = y;
printf("%d %d %d", a, b, c);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 65 |
x, y, z = input().split(" ")
print("{} {} {}".format(x,y,z)) | x, y, z = input().split(" ")
print("{} {} {}".format(z,x,y)) | [["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 21], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 21], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 22]] | 5 | 31 |
#include <stdio.h>
int main() {
int a, b, c, d, e;
scanf("%d %d %d", &a, &b, &c);
d = a;
b = d;
a = b;
e = c;
c = a;
a = e;
printf("%d %d %d", a, b, c);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, d, e;
scanf("%d %d %d", &a, &b, &c);
d = b;
b = a;
a = d;
e = c;
c = a;
a = e;
printf("%d %d %d", a, b, c);
return 0;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22]] | 0 | 75 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
int a, b, c;
int main() {
scanf("%d %d %d", &a, &b, &c);
printf("%d %d %d\n", &c, &a, &b);
return 0;
} | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
int a, b, c;
int main() {
scanf("%d %d %d", &a, &b, &c);
printf("%d %d %d\n", c, a, b);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 1 | 63 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
int X, Y, Z;
cin >> X >> Y >> Z;
printf("%d &d %d", Z, X, Y);
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int X, Y, Z;
cin >> X >> Y >> Z;
printf("%d %d %d", Z, X, Y);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 41 |
a,b,c = map(int, input().strip())
print(c,a,b) | a,b,c = map(int, input().strip().split())
print(c,a,b)
| [["+", 12, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["+", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 26 |
#include <stdio.h>
int main() {
int X = 0, Y = 0, Z = 0;
scanf("%d %d %d", &X, &Y, &Z);
int tmp = Y;
Y = X;
X = tmp;
tmp = Z;
Z = X;
X = tmp;
Z = X;
printf("%d %d %d", X, Y, Z);
return 0;
} |
#include <stdio.h>
int main() {
int X = 0, Y = 0, Z = 0;
scanf("%d %d %d", &X, &Y, &Z);
int tmp = Y;
Y = X;
X = tmp;
tmp = Z;
Z = X;
X = tmp;
printf("%d %d %d", X, Y, Z);
return 0;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 32], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 82 |
#include <bits/stdc++.h>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
#define rep(i, N) for (ll i = 0; i < (N); i++)
typedef long long ll;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
ll a, b, c;
cin >> a >> b >> c;
cout << c << " " << b << " " << a << endl;
} | #include <bits/stdc++.h>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
#define rep(i, N) for (ll i = 0; i < (N); i++)
typedef long long ll;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
ll a, b, c;
cin >> a >> b >> c;
cout << c << " " << a << " " << b << endl;
} | [["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]] | 1 | 78 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
int Z = sc.nextInt();
int A = Z;
int B = Y;
int C = X;
System.out.println(A + " " + B + " " + C);
}
} | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
int Z = sc.nextInt();
int A = Z;
int B = X;
int C = Y;
System.out.println(A + " " + B + " " + C);
}
} | [["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 22], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 51, 22]] | 3 | 97 |
x,y,z = list(map(int,input().split()))
def swap(a,b):
temp = a
a = b
b = tmp
return (a,b)
x,y = swap(x,y)
x, z = swap(x, z)
print(x,y,z) | x,y,z = list(map(int,input().split()))
def swap(a,b):
tmp = a
a = b
b = tmp
return (a,b)
x,y = swap(x,y)
x,z = swap(x, z)
print(x,y,z) | [["-", 0, 14, 8, 196, 0, 1, 0, 662, 31, 22], ["+", 0, 14, 8, 196, 0, 1, 0, 662, 31, 22]] | 5 | 72 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << c << " " << b << " " << a;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << c << " " << a << " " << b << endl;
}
| [["-", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 43 |
A,B,C = map(int(input().slice()))
print(C,A,B) | A,B,C = map(int, input().split())
print(C,A,B) | [["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["-", 0, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["+", 12, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 27 |
e =list(map(int,input().split()))
a = e[0]
b = e[1]
e[0] = b
e[1] = a
c = e[1]
d = e[2]
e[1]= d
e[2]= c
for i in range(3):
print(e[i], end =" ") | e =list(map(int,input().split()))
a = e[0]
b = e[1]
e[0] = b
e[1] = a
c = e[0]
d = e[2]
e[0]= d
e[2]= c
for i in range(3):
print(e[i], end =" ") | [["-", 0, 656, 0, 1, 0, 662, 12, 206, 206, 612], ["+", 0, 656, 0, 1, 0, 662, 12, 206, 206, 612], ["-", 0, 656, 0, 1, 0, 662, 31, 206, 206, 612], ["+", 0, 656, 0, 1, 0, 662, 31, 206, 206, 612]] | 5 | 86 |
#include <stdio.h>
int main(void) {
int X, Y, Z, A, B, C;
scanf("%d %d %d", X, Y, Z);
B = X;
C = Y;
A = Z;
printf("%d %d %d", A, B, C);
return 0;
} | #include <stdio.h>
int main(void) {
int X, Y, Z, A, B, C;
scanf("%d %d %d", &X, &Y, &Z);
B = X;
C = Y;
A = Z;
printf("%d %d %d", A, B, C);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 63 |
#include <stdio.h>
int main() {
int x, y, z, a, b;
scanf("%d%d%d", &x, &y, &z);
a = x;
a = y;
y = a;
b = x;
x = z;
z = b;
printf("%d ", x);
printf("%d ", y);
printf("%d", z);
return 0;
}
| #include <stdio.h>
int main() {
int x, y, z, a, b;
scanf("%d%d%d", &x, &y, &z);
a = x;
x = y;
y = a;
b = x;
x = z;
z = b;
printf("%d ", x);
printf("%d ", y);
printf("%d", z);
return 0;
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22]] | 0 | 89 |
A,B,C = map(int, input().split())
tmp = A
A = B
B = tmp
tmp = A
A = C
C = tmp
print(A, end="")
print(B, end="")
print(C, end="") | A,B,C = map(int, input().split())
tmp = A
A = B
B = tmp
tmp = A
A = C
C = tmp
print(A, end=" ")
print(B, end=" ")
print(C, end=" ") | [["+", 0, 652, 3, 4, 0, 653, 51, 557, 0, 6]] | 5 | 63 |
function Main(input) {
var tmp = input.split(" ");
var a = parseInt(tmp[0], 10);
var b = parseInt(tmp[1], 10);
var c = parseInt(tmp[1], 10);
console.log(c + " " + a + " " + b);
}
//*この行以降は編集しないでください(標準入出力から一度に読み込み、Mainを呼び出します)
Main(require("fs").readFileSync("/dev/stdin", "utf8")); | function Main(input) {
var tmp = input.split(" ");
var a = parseInt(tmp[0], 10);
var b = parseInt(tmp[1], 10);
var c = parseInt(tmp[2], 10);
console.log(c + " " + a + " " + b);
}
//*この行以降は編集しないでください(標準入出力から一度に読み込み、Mainを呼び出します)
Main(require("fs").readFileSync("/dev/stdin", "utf8")); | [["-", 0, 200, 51, 2, 3, 3, 0, 69, 71, 555], ["+", 0, 200, 51, 2, 3, 3, 0, 69, 71, 555]] | 2 | 99 |
x, y, z = map(int, input().split())
x, y = x, y
x, z = z, x
print(x, y ,z) | x, y, z = map(int, input().split())
x, y = y, x
x, z = z, x
print(x, y ,z)
| [["-", 0, 656, 0, 1, 0, 662, 12, 432, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 432, 0, 21], ["+", 0, 656, 0, 1, 0, 662, 12, 432, 0, 21], ["+", 0, 656, 0, 1, 0, 662, 12, 432, 0, 22]] | 5 | 40 |
$s = fgets(STDIN);
$s = preg_replace('/\s+/', ' ', $s);
$s = explode(' ', $s);
echo $s[2] . " " . $s[0] . " " . $s[1]; | <?php
$s = fgets(STDIN);
$s = preg_replace('/\s+/', ' ', $s);
$s = explode(' ', $s);
echo $s[2] . " " . $s[0] . " " . $s[1];
?> | [["+", 36, 36, 36, 36, 36, 36, 0, 493, 0, 605], ["+", 36, 36, 36, 36, 36, 36, 0, 493, 0, 611]] | 6 | 65 |
x, y, z = map(str, input().split())
a = [x, y, z]
a[0], a[1] = a[1], a[0]
a[0], a[2] = a[2], a[0]
b = ''.join(a)
print(int(b)) | x, y, z = map(str, input().split())
a = [x, y, z]
a[0], a[1] = a[1], a[0]
a[0], a[2] = a[2], a[0]
b = ' '.join(a)
print(b) | [["+", 0, 662, 12, 652, 63, 319, 500, 557, 0, 6], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 81 |
array = list(map(int, input().split()))
tmp = array[0]
array[0] = array[2]
array[2] = tmp
tmp = array[0]
array[0] = array[1]
array[1] = tmp
print("%d %d %d" %(array[0], array[1], array[2])) | array = list(map(int, input().split()))
tmp = array[0]
array[0] = array[1]
array[1] = tmp
tmp = array[0]
array[0] = array[2]
array[2] = tmp
print("%d %d %d" %(array[0], array[1], array[2])) | [["-", 0, 656, 0, 1, 0, 662, 12, 206, 206, 612], ["+", 0, 656, 0, 1, 0, 662, 12, 206, 206, 612], ["-", 0, 656, 0, 1, 0, 662, 31, 206, 206, 612], ["+", 0, 656, 0, 1, 0, 662, 31, 206, 206, 612]] | 5 | 82 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
swap(x, y);
swap(y, z);
cout << x << " " << y << " " << z;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int x, y, z;
cin >> x >> y >> z;
swap(x, y);
swap(x, z);
cout << x << " " << y << " " << z;
}
| [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 1 | 57 |
str = input().split()
new = []
new.append(str[2])
new.append(str[1])
new.append(str[0])
print(new[0] + " " + new[1] + " " + new[2]) | str = input().split()
new = []
new.append(str[2])
new.append(str[0])
new.append(str[1])
print(new[0] + " " + new[1] + " " + new[2])
| [["-", 0, 1, 0, 652, 3, 4, 0, 206, 206, 612], ["+", 0, 1, 0, 652, 3, 4, 0, 206, 206, 612]] | 5 | 65 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int arr[3];
cin >> arr[0] >> arr[1] >> arr[2];
cout << arr[2] << " " << arr[1] << " " << arr[0] << " " << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int arr[3];
cin >> arr[0] >> arr[1] >> arr[2];
cout << arr[2] << " " << arr[0] << " " << arr[1] << " " << endl;
}
| [["-", 31, 16, 31, 16, 12, 69, 341, 342, 0, 13], ["+", 31, 16, 31, 16, 12, 69, 341, 342, 0, 13]] | 1 | 66 |
#include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <map>
#include <queue>
using namespace std;
int main() {
int a, b, c, d;
while (~scanf("%d", &a, &b, &c)) {
swap(a, b);
swap(a, c);
printf("%d %d %d\n", a, b, c);
}
} | #include <algorithm>
#include <bits/stdc++.h>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <map>
#include <queue>
using namespace std;
int main() {
int a, b, c, d;
while (~scanf("%d%d%d", &a, &b, &c)) {
swap(a, b);
swap(a, c);
printf("%d %d %d\n", a, b, c);
}
} | [["-", 51, 91, 28, 2, 3, 4, 0, 5, 0, 6], ["+", 51, 91, 28, 2, 3, 4, 0, 5, 0, 6]] | 1 | 82 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long x, y, z;
cin >> x >> y >> x;
swap(x, y);
swap(x, z);
cout << x << " " << y << " " << z << "\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long x, y, z;
cin >> x >> y >> z;
swap(x, y);
swap(x, z);
cout << x << " " << y << " " << z << "\n";
return 0;
}
| [["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 65 |
// by Top1
#include <bits/stdc++.h>
#define f first
#define s second
#define int long long
#define ld long double
#define ull unsigned long long
#define pii pair<int, int>
#define pll pair<long, long>
#define mp make_pair
#define pb push_back
#define pf push_front
#define pp pop_back
#define cerr cout
#define rev reve... | // by Top1
#include <bits/stdc++.h>
#define f first
#define s second
#define int long long
#define ld long double
#define ull unsigned long long
#define pii pair<int, int>
#define pll pair<long, long>
#define mp make_pair
#define pb push_back
#define pf push_front
#define pp pop_back
#define cerr cout
#define rev reve... | [["-", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 1, 0, 16, 31, 16, 31, 16, 12, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 196 |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
String a = s.next();
String b = s.next();
String c = s.next();
String tempStr = "";
tempStr = a;
a = b;
b = tempStr;
tempStr = a;
a = c;
c = a;
S... | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
String a = s.next();
String b = s.next();
String c = s.next();
String tempStr = "";
tempStr = a;
a = b;
b = tempStr;
tempStr = a;
a = c;
c = tempStr;... | [["-", 0, 195, 8, 196, 0, 1, 0, 11, 12, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 11, 12, 22]] | 3 | 113 |
from sys import stdin
a,b,c = map(int,input().split())
print("{} {} {}".format(c,b,a)) | from sys import stdin
a,b,c = map(int,input().split())
print("{} {} {}".format(c,a,b)) | [["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 21], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 21], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 22]] | 5 | 37 |
#include <iostream>
using namespace std;
void swap(int &a, int &b) {
int temp = a;
a = b;
b = temp;
}
int main() {
int x, y, z;
cin >> x >> y >> z;
swap(x, y);
swap(x, z);
cout << x << "" << y << "" << z;
return 0;
} | #include <iostream>
using namespace std;
void swap(int &a, int &b) {
int temp = a;
a = b;
b = temp;
}
int main() {
int x, y, z;
cin >> x >> y >> z;
swap(x, y);
swap(x, z);
cout << x << " " << y << " " << z;
return 0;
} | [["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 84 |
arr = map(int, input().split())
print(arr[2], arr[0], arr[1]) | arr = list(map(int, input().split()))
print(arr[2], arr[0], arr[1])
| [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 31 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl '\n'
#define _overload1(_1, _2, _3, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for (ll i = (ll)(a); i < (ll)(b); ++i)
#define rep(...) _overload1(__VA_ARGS__, repi, _rep, )(__VA_ARGS__)
#define _overload2(_1, _2,... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl '\n'
#define _overload1(_1, _2, _3, name, ...) name
#define _rep(i, n) repi(i, 0, n)
#define repi(i, a, b) for (ll i = (ll)(a); i < (ll)(b); ++i)
#define rep(...) _overload1(__VA_ARGS__, repi, _rep, )(__VA_ARGS__)
#define _overload2(_1, _2,... | [["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]] | 1 | 269 |
#include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
printf("%d %d %d", &c, &a, &b);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c;
scanf("%d %d %d", &a, &b, &c);
printf("%d %d %d", c, a, b);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 1 | 50 |
number = gets.split.map(&:to_i)
number.rotate.each do |n|
print n, " "
end | number = gets.split.map(&:to_i)
number.rotate(2).each do |n|
print n, " "
end | [["+", 0, 493, 0, 652, 486, 652, 3, 4, 0, 24], ["+", 0, 493, 0, 652, 486, 652, 3, 4, 0, 612], ["+", 0, 493, 0, 652, 486, 652, 3, 4, 0, 25]] | 4 | 27 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int N = 1e5 + 11;
const int M = 1e6 + 11;
const int MOD = 1e9 + 7;
int main(int argc, char **args) {
int x, y, z;
cin >> x >> y >> z;
swap(x, y);
swap(x, z);
cout << x << " " << y << " " << y << "\n";
re... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int N = 1e5 + 11;
const int M = 1e6 + 11;
const int MOD = 1e9 + 7;
int main(int argc, char **args) {
int x, y, z;
cin >> x >> y >> z;
swap(x, y);
swap(x, z);
cout << x << " " << y << " " << z << "\n";
re... | [["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]] | 1 | 109 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << c << " " << b << " " << a << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < n; i++)
#include <vector>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << c << " " << a << " " << b << endl;
return 0;
} | [["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]] | 1 | 58 |
#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const ll LL_MAX = LLONG_MAX;
struct In {
template <typename T> operator T() {
T x;
cin >> x;
return x;
}
};
In in;
template <typename T, typename U> void forin(T *x, U n) {
for (... | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const ll LL_MAX = LLONG_MAX;
struct In {
template <typename T> operator T() {
T x;
cin >> x;
return x;
}
};
In in;
template <typename T, typename U> void forin(T *x, U n) {
for (... | [["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 125], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 17, 151]] | 1 | 229 |
x = list(map(int,input().split()))
copy = x[0]
x[0] = x[1]
x[1] = copy
print(x)
copy = x[0]
x[0] = x[2]
x[2] = copy
print(" ".join([str(i) for i in x])) | x = list(map(int,input().split()))
copy = x[0]
x[0] = x[1]
x[1] = copy
copy = x[0]
x[0] = x[2]
x[2] = copy
print(" ".join([str(i) for i in x])) | [["-", 36, 36, 0, 656, 0, 1, 0, 652, 63, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 83 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
cout << c + ' ' + a + ' ' + b << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string a, b, c;
cin >> a >> b >> c;
cout << c + ' ' + a + ' ' + b << endl;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78]] | 1 | 45 |
#include <bits/stdc++.h>
using namespace std;
int main(void) {
using namespace std;
int X, Y, Z;
scanf("%d %d %d", &X, &Y, &Z);
swap(X, Y);
swap(X, Z);
printf("%d, %d, %d\n", X, Y, Z);
} | #include <bits/stdc++.h>
using namespace std;
int main(void) {
using namespace std;
int X, Y, Z;
scanf("%d %d %d", &X, &Y, &Z);
swap(X, Y);
swap(X, Z);
printf("%d %d %d\n", X, Y, Z);
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 68 |
a,b,c = gets.split.map(&:to_i)
puts "#{c} #{b} #{a}" | a,b,c = gets.split.map(&:to_i)
puts "#{c} #{a} #{b}" | [["-", 0, 652, 3, 4, 0, 557, 0, 284, 0, 22], ["+", 0, 652, 3, 4, 0, 557, 0, 284, 0, 22]] | 4 | 29 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.