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 |
|---|---|---|---|---|
#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
//#include <intrin.h>
#define fore(i, a, b) for (int i = a; i < (b); i++)
#define fr(i, a, b) for (int i = a - 1; i >= b; i--)
#define fast \
ios_base::sync_with_stdio(... | #define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
//#include <intrin.h>
#define fore(i, a, b) for (int i = a; i < (b); i++)
#define fr(i, a, b) for (int i = a - 1; i >= b; i--)
#define fast \
ios_base::sync_with_stdio(... | [["+", 0, 16, 12, 23, 0, 41, 15, 23, 0, 24], ["+", 8, 9, 0, 1, 0, 16, 12, 23, 0, 25]] | 1 | 160 |
#include <iostream>
using namespace std;
int s, w;
int main() {
cin >> s >> w;
if (s < w)
cout << "unsafe";
else
cout << "safe";
}
| #include <iostream>
using namespace std;
int s, w;
int main() {
cin >> s >> w;
if (s <= w)
cout << "unsafe";
else
cout << "safe";
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 42 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
if (sc.nextInt() > sc.nextInt()) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
if (sc.nextInt() <= sc.nextInt()) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
} | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 19]] | 3 | 76 |
#include <iostream>
#include <string>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
cout << (s > w) ? "safe" : "unsafe";
cout << endl;
return 0;
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
cout << ((s > w) ? "safe" : "unsafe");
cout << endl;
return 0;
} | [["+", 0, 16, 12, 23, 0, 41, 15, 23, 0, 24], ["+", 8, 9, 0, 1, 0, 16, 12, 23, 0, 25]] | 1 | 48 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#define ll long long int
#define all(x) x.begin(), x.end()
#define MOD 1000000007
using namespace std;
void s... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#define ll long long int
#define all(x) x.begin(), x.end()
#define MOD 1000000007
using namespace std;
void s... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 120 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int s, w;
cin >> s >> w;
if (w >= s)
cout << "UNSAFE\n";
else
cout << "SAFE\n";
return 0;
}
|
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int s, w;
cin >> s >> w;
if (w >= s)
cout << "unsafe\n";
else
cout << "safe\n";
return 0;
}
| [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 64 |
s,w=map(int,input().split())
print(("un"if w>=s//2 else "")+"safe") | s,w=map(int,input().split())
print(("un"if w>=s else "")+"safe") | [["-", 31, 23, 0, 41, 0, 666, 0, 657, 17, 676], ["-", 31, 23, 0, 41, 0, 666, 0, 657, 12, 612]] | 5 | 37 |
S, W = map(int, input().split())
def f():
if W > S:
return "unsafe"
else:
return "safe"
print(f()) | S, W = map(int, input().split())
def f():
if W >= S:
return "unsafe"
else:
return "safe"
print(f())
| [["-", 0, 14, 8, 196, 0, 57, 15, 666, 667, 47], ["+", 0, 14, 8, 196, 0, 57, 15, 666, 667, 20]] | 5 | 42 |
S, W = readline.split(" ").map { |x| x.to_i }
puts (S < W ? "unsafe" : "safe") | S, W = readline.split(" ").map { |x| x.to_i }
puts (S <= W ? "unsafe" : "safe") | [["-", 3, 4, 0, 739, 0, 754, 15, 738, 17, 18], ["+", 3, 4, 0, 739, 0, 754, 15, 738, 17, 19]] | 4 | 36 |
#include <iostream>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
cout << (s > w ? "unsafe" : "safe") << endl;
} | #include <iostream>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
cout << (s > w ? "safe" : "unsafe") << endl;
} | [["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 41 |
#include <bits/stdc++.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define rep(i... | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define rep(i... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 212 |
#include <stdio.h>
int main(int argc, char **argv) {
int sheeps, wolves;
scanf("%d %d", &sheeps, &wolves);
if (sheeps < wolves) {
printf("unsafe");
} else {
printf("safe");
}
return 0;
} | #include <stdio.h>
int main(int argc, char **argv) {
int sheeps, wolves;
scanf("%d%d", &sheeps, &wolves);
if (sheeps > wolves) {
printf("safe");
} else {
printf("unsafe");
}
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47]] | 0 | 61 |
import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int s = sc.nextInt();
int w = sc.nextInt();
if (w >= s / 2) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
}
|
import java.util.Scanner;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int s = sc.nextInt();
int w = sc.nextInt();
if (w >= s) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
}
}
| [["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 12, 499]] | 3 | 89 |
S, W = map(int, input().split(' '))
print('safe' if S <= W else 'unsafe') | S, W = map(int, input().split(' '))
print('unsafe' if S <= W else 'safe') | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 33 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
(w >= s) ? cout << "unssafe" << endl : cout << "safe" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
(w >= s) ? cout << "unsafe" << endl : cout << "safe" << endl;
return 0;
}
| [["-", 0, 41, 64, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 41, 64, 16, 31, 16, 12, 5, 0, 6]] | 1 | 48 |
#include <stdio.h>
int m, n;
int main() {
scanf("%d%d", &m, &n);
puts(m >= n ? "safe" : "unsafe");
return 0;
} | #include <stdio.h>
int m, n;
int main() {
scanf("%d%d", &m, &n);
puts(m > n ? "safe" : "unsafe");
return 0;
} | [["-", 0, 2, 3, 4, 0, 41, 15, 16, 17, 20], ["+", 0, 2, 3, 4, 0, 41, 15, 16, 17, 47]] | 1 | 44 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (2 * s <= w) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s <= w) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
}
| [["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 48]] | 1 | 52 |
input_line = input().split()
S = int(input_line[0])
W = int(input_line[1])
print(S, W)
if S > W:
print("safe", end='')
else:
print("unsafe", end='')
| input_line = input().split()
S = int(input_line[0])
W = int(input_line[1])
# print(S, W)
if S > W:
print("safe", end='')
else:
print("unsafe", end='')
| [["-", 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, 21], ["-", 0, 656, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 62 |
<?php
fscanf(STDIN, "%d%d", $a, $b);
echo $a>=$b ? "safe" : "unsafe"; | <?php
fscanf(STDIN, "%d%d", $a, $b);
echo $a>$b ? "safe" : "unsafe"; | [["-", 0, 493, 0, 608, 0, 41, 15, 16, 17, 20], ["+", 0, 493, 0, 608, 0, 41, 15, 16, 17, 47]] | 6 | 31 |
s, w = map(int, input().split())
print('safe' if s >= w else 'unsafe') | s, w = map(int, input().split())
print('safe' if s > w else 'unsafe')
| [["-", 0, 652, 3, 4, 0, 41, 0, 666, 667, 20], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 667, 47]] | 5 | 30 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define bs binary_search
#define pb push_back
#define pp pair<ll, ll>
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define fastio \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define bs binary_search
#define pb push_back
#define pp pair<ll, ll>
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 152 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl '\n'
#define mod 1000000007
#define dd double
#define ld long double
#define f(i, a, b) for (ll i = a; i < b; i++)
#define fr(i, a, b) for (ll i = b; i >= a; i--)
#define vec vector<ll>
#define pb push_back
#define mp make_pair
#define pii ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl '\n'
#define mod 1000000007
#define dd double
#define ld long double
#define f(i, a, b) for (ll i = a; i < b; i++)
#define fr(i, a, b) for (ll i = b; i >= a; i--)
#define vec vector<ll>
#define pb push_back
#define mp make_pair
#define pii ... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 219 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fi first
#define se second
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define rep1(i, n) for (int i = 1; i <= (int)(n); ++i)
#define rep11(i, n) for (int i = 1; i < (int)(n); ++i)
#define rep0(i, n) for (int i = 1; i <= (int)(n); ++i)... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fi first
#define se second
#define rep(i, n) for (int i = 0; i < (int)(n); ++i)
#define rep1(i, n) for (int i = 1; i <= (int)(n); ++i)
#define rep11(i, n) for (int i = 1; i < (int)(n); ++i)
#define rep0(i, n) for (int i = 1; i <= (int)(n); ++i)... | [["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13], ["-", 0, 30, 0, 14, 8, 9, 0, 37, 0, 35]] | 1 | 139 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a >= b)
cout << "unsafe";
else
cout << "safe";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a <= b)
cout << "unsafe";
else
cout << "safe";
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 42 |
int main(void) {
int S, W;
scanf("%d, %d", &S, &W);
if (S > W) {
printf("safe");
} else {
printf("unsafe");
}
return 0;
}
| int main(void) {
int S, W;
scanf("%d %d", &S, &W);
if (S > W) {
printf("safe");
} else {
printf("unsafe");
}
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 53 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int i, j;
cin >> i >> j;
if (i >= j)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int i, j;
cin >> i >> j;
if (i <= j)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 49 |
#include <stdio.h>
int main(void) {
int S, W;
scanf("%d %d", &S, &W);
if (W >= S / 2) {
printf("unsafe\n");
} else {
printf("safe\n");
}
}
| #include <stdio.h>
int main() {
int S, W;
scanf("%d %d", &S, &W);
if (W >= S) {
printf("unsafe\n");
} else {
printf("safe\n");
}
return 0;
}
| [["-", 0, 14, 49, 53, 54, 55, 0, 56, 39, 40], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 35]] | 0 | 56 |
#include <iostream>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s / 2 <= w) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s <= w) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 52 |
package abcxxx;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int numOfSheep = scanner.nextInt();
int numOfWolf = scanner.nextInt();
if (numOfSheep < numOfWolf) {
System.out.println("unsafe");
} else {
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int numOfSheep = scanner.nextInt();
int numOfWolf = scanner.nextInt();
if (numOfSheep <= numOfWolf) {
System.out.println("unsafe");
} else {
System.out.pr... | [["-", 36, 36, 36, 36, 0, 493, 0, 501, 0, 483], ["-", 36, 36, 36, 36, 0, 493, 0, 501, 0, 22], ["-", 36, 36, 36, 36, 0, 493, 0, 501, 0, 35], ["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 19]] | 3 | 95 |
s ,w = input(). int(" ")
s=int(s)
w=int(w)
if w >= s :
print("unsafe")
else :
print("safe") | s ,w = input(). split(" ")
s=int(s)
w=int(w)
if w >= s :
print("unsafe")
else :
print("safe")
| [["-", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22]] | 5 | 45 |
s,w = map(int,input().split())
if w > s:
print("unsafe")
else:
print("safe") | s,w = map(int,input().split())
if w > s or w == s:
print("unsafe")
else:
print("safe") | [["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 354], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 22], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 60]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s > w)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s > w)
cout << "safe" << endl;
else
cout << "unsafe" << endl;
} | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 46 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int INF = 1 << 30;
const long long LINF = 1LL << 60;
const long long MOD = (long long)1e9 + 7;
int main() {
int s, w;
cin >> s >> w;
cout << (s >= w ? "safe" : "unsafe") << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int INF = 1 << 30;
const long long LINF = 1LL << 60;
const long long MOD = (long long)1e9 + 7;
int main() {
int s, w;
cin >> s >> w;
cout << (s > w ? "safe" : "unsafe") << endl;
return 0;
}
| [["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 20], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 47]] | 1 | 80 |
s, w = input().split()
if int(w) > int(s):
print('unsafe')
else:
print('safe') | s, w = input().split()
if int(w) >= int(s):
print('unsafe')
else:
print('safe') | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20]] | 5 | 36 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String[] array = in.readLine().split(" ");
int S = Integer... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String[] array = in.readLine().split(" ");
int S = Integer... | [["-", 0, 492, 3, 4, 0, 510, 15, 16, 17, 20], ["+", 0, 492, 3, 4, 0, 510, 15, 16, 17, 47]] | 3 | 118 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new Str... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new Str... | [["-", 0, 492, 3, 4, 0, 510, 15, 16, 17, 20], ["+", 0, 492, 3, 4, 0, 510, 15, 16, 17, 47]] | 3 | 122 |
#include <stdio.h>
int main(void) {
int S, W;
scanf("%d %d", &S, &W);
if (S >= W) {
printf("safe\n");
} else {
printf("unsafe\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int S, W;
scanf("%d %d", &S, &W);
if (W >= S) {
printf("unsafe\n");
} else {
printf("safe\n");
}
return 0;
} | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 12, 22], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 57 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W > S) {
//
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W >= S) {
//
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 51 |
S, W = [int(s) for s in input.split()]
if W >= S:
print("unsafe")
else:
print("safe") | S, W = [int(s) for s in input().split()]
if W >= S:
print("unsafe")
else:
print("safe") | [["+", 12, 652, 63, 319, 500, 652, 3, 4, 0, 24], ["+", 12, 652, 63, 319, 500, 652, 3, 4, 0, 25]] | 5 | 37 |
#include <bits/stdc++.h>
int main() {
int s, w;
std::cin >> s >> w;
std::cout << (w > s ? "unsafe" : "safe");
} | #include <bits/stdc++.h>
int main() {
int s, w;
std::cin >> s >> w;
std::cout << (w >= s ? "unsafe" : "safe");
} | [["-", 0, 16, 12, 23, 0, 41, 15, 16, 17, 47], ["+", 0, 16, 12, 23, 0, 41, 15, 16, 17, 20]] | 1 | 39 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using Graph = vector<vector<ll>>;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++)
#define rrep(i, n, m) for (ll i = n; i >= (ll)(m); i--)
const int dx[4] = {1, 0, -1, 0... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<ll, ll>;
using Graph = vector<vector<ll>>;
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define rep2(i, m, n) for (ll i = m; i < (ll)(n); i++)
#define rrep(i, n, m) for (ll i = n; i >= (ll)(m); i--)
const int dx[4] = {1, 0, -1, 0... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 251 |
#include <iostream>
using namespace std;
int main() {
int S = 0, W = 0;
cin >> S >> W;
if (W >= S) {
cout << "safe" << endl;
} else {
cout << "unsafe" << endl;
}
}
| #include <iostream>
using namespace std;
int main() {
int S = 0, W = 0;
cin >> S >> W;
if (W >= S) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 54 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner i = new Scanner(System.in);
int S = i.nextInt();
int W = i.nextInt();
System.out.println(S <= W ? "safe" : "unsafe");
}
} | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner i = new Scanner(System.in);
int S = i.nextInt();
int W = i.nextInt();
System.out.println(S <= W ? "unsafe" : "safe");
}
} | [["-", 0, 492, 3, 4, 0, 510, 64, 5, 0, 491], ["+", 0, 492, 3, 4, 0, 510, 64, 5, 0, 491], ["-", 0, 492, 3, 4, 0, 510, 75, 5, 0, 491], ["+", 0, 492, 3, 4, 0, 510, 75, 5, 0, 491]] | 3 | 72 |
#include <iostream>
using namespace std;
int main(void)
{
int s, w;
cin >> s >> w;
if (w >= s)
cout << "safe\n";
else
cout << "unsafe\n";
return 0;
} | #include <iostream>
using namespace std;
int main(void)
{
int s, w;
cin >> s >> w;
if (w >= s)
cout << "unsafe\n";
else
cout << "safe\n";
return 0;
} | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 48 |
s, w = list(map(int,input().split()))
if w > s:
print('unsafe')
else:
print('safe') | s, w = list(map(int,input().split()))
if w >= s:
print('unsafe')
else:
print('safe') | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20]] | 5 | 38 |
#include <bits/stdc++.h>
using namespace std;
// typedef
typedef long long ll;
typedef vector<int> vi;
typedef vector<string> vs;
// define
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
////////////////////////////////////////////////////////////////////
using namespace std;
int m... | #include <bits/stdc++.h>
using namespace std;
// typedef
typedef long long ll;
typedef vector<int> vi;
typedef vector<string> vs;
// define
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
////////////////////////////////////////////////////////////////////
using namespace std;
int m... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 95 |
#include <bits/stdc++.h>
using namespace std;
void readtxt() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
}
int main() {
// readtxt();
int s, w;
cin >> s >> w;
if (w > s)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | #include <bits/stdc++.h>
using namespace std;
void readtxt() {
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
}
int main() {
// readtxt();
int s, w;
cin >> s >> w;
if (w >= s)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 82 |
s, w = map(int, input())
print("unsafe" if s <= w else "safe") | s, w = map(int, input().split())
print("unsafe" if s <= w else "safe") | [["+", 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 <bits/stdc++.h>
#define ll long long
#define double long double
#define rep(i, n) for (int i = 0; i < (n); i++)
#define REP(i, n) for (int i = 1; i <= (n); i++)
#define mod (ll)(1e9 + 7)
#define inf (ll)(3e18 + 7)
#define pi (double)acos(-1)
#define P pair<int, int>
#define PiP pair<int, pair<int, int>>
#defin... | #include <bits/stdc++.h>
#define ll long long
#define double long double
#define rep(i, n) for (int i = 0; i < (n); i++)
#define REP(i, n) for (int i = 1; i <= (n); i++)
#define mod (ll)(1e9 + 7)
#define inf (ll)(3e18 + 7)
#define pi (double)acos(-1)
#define P pair<int, int>
#define PiP pair<int, pair<int, int>>
#defin... | [["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6]] | 1 | 90 |
#include <iostream>
#include <string>
using namespace std;
int main() {
int S;
int W;
cin >> S >> W;
if (S < W) {
cout << "unsafe" << endl;
} else if (S > W) {
cout << "safe" << endl;
}
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int S;
int W;
cin >> S >> W;
if (S <= W) {
cout << "unsafe" << endl;
} else if (S > W) {
cout << "safe" << endl;
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 59 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s <= w) {
cout << "safe" << endl;
} else {
cout << "unsafe" << endl;
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s <= w) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 53 |
#include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S >= W) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S > W) {
cout << "safe" << endl;
} else {
cout << "unsafe" << endl;
}
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 53 |
S,W=map(int,input().split())
if(W>S):
print("unsafe")
else:
print("safe") | S,W=map(int,input().split())
if(W>=S):
print("unsafe")
else:
print("safe")
| [["-", 0, 656, 0, 57, 15, 23, 0, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 23, 0, 666, 667, 20]] | 5 | 37 |
# coding:utf-8
a,b=map(int,input().split())
if "a" <= "b":
print("unsafe")
else:
print("safe")
| # coding:utf-8
a,b=map(int,input().split())
if a <= b:
print("unsafe")
else:
print("safe")
| [["-", 0, 656, 0, 57, 15, 666, 0, 557, 0, 654], ["-", 0, 656, 0, 57, 15, 666, 0, 557, 0, 655]] | 5 | 40 |
S, W = list(map(int, input().split))
if W >= S:
print("unsafe")
else:
print("safe") | S, W = list(map(int, input().split()))
if W >= S:
print("unsafe")
else:
print("safe") | [["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 36 |
S,W=int(input().split())
if W>=S:
print("unsafe")
else:
print("safe") | S,W=map(int,input().split())
if W>=S:
print("unsafe")
else:
print("safe")
| [["-", 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 | 33 |
w,s = map(int, input().split())
print("unsafe" if w>=s else "safe") | s,w = map(int, input().split())
print("unsafe" if w>=s else "safe") | [["-", 0, 656, 0, 1, 0, 662, 31, 684, 0, 22], ["-", 0, 656, 0, 1, 0, 662, 31, 684, 0, 21], ["+", 0, 656, 0, 1, 0, 662, 31, 684, 0, 21], ["+", 0, 656, 0, 1, 0, 662, 31, 684, 0, 22]] | 5 | 30 |
/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | /******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
******************************************... | [["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 46 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
cin.tie(0);
ios_base::sync_with_stdio(0);
int w, s;
cin >> w >> s;
if (w >= s) {
cout << "unsafe";
} else {
cout << "safe";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
cin.tie(0);
ios_base::sync_with_stdio(0);
int w, s;
cin >> s >> w;
if (w >= s) {
cout << "unsafe";
} else {
cout << "safe";
}
return 0;
} | [["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 69 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S >= W) {
cout << "safe" << endl;
} else
cout << "unsafe" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S > W) {
cout << "safe" << endl;
} else
cout << "unsafe" << endl;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 48 |
#include <stdio.h>
int main(void) {
int s, w;
scanf("%d", &s);
scanf("%d", &w);
if (s <= w)
printf("unafe");
else
printf("safe");
return 0;
}
| #include <stdio.h>
int main(void) {
int s, w;
scanf("%d", &s);
scanf("%d", &w);
if (s <= w)
printf("unsafe");
else
printf("safe");
return 0;
} | [["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 58 |
S, W = input().split()
if int(S) < int(W):
print("unsafe")
else:
print("safe") | S, W = input().split()
if int(S) <= int(W):
print("unsafe")
else:
print("safe")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 36 |
inputs = input()
S,W = inputs.split()
result = int(S) - int(W)
if result < 0:
print("unsafe")
else:
print("safe") | inputs = input()
S,W = inputs.split()
result = int(S) - int(W)
if result <= 0:
print("unsafe")
else:
print("safe") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 44 |
$input_line = trim(fgets(STDIN));
$ans = explode(" ",$input_line);
//print_r($ans);
if($ans[0]>$ans[1]){
echo "safe";
}elseif($ans[0]<=$ans[1]){
echo "unsafe";
} | <?php
$input_line = trim(fgets(STDIN));
$ans = explode(" ",$input_line);
if($ans[0]>$ans[1]){
echo "safe";
}elseif($ans[0]<=$ans[1]){
echo "unsafe";
}
?>
| [["+", 36, 36, 36, 36, 36, 36, 0, 493, 0, 605], ["+", 36, 36, 36, 36, 36, 36, 0, 493, 0, 611]] | 6 | 67 |
#include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s >= w)
cout << "safe";
else
cout << "unsafe";
}
| #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s > w)
cout << "safe";
else
cout << "unsafe";
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 47 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define rep(i, x, n) for (int i = x; i <= n; i++)
#define per(i, n, x... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define rep(i, x, n) for (int i = x; i <= n; i++)
#define per(i, n, x... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]] | 1 | 151 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <string>
#include <vector>
typedef long long ll;
#define all(x) (x).begin(), (x).end() // sortなどの引数を省略
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define max3(x, y, z) max(x, max(y, z))
#i... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <string>
#include <vector>
typedef long long ll;
#define all(x) (x).begin(), (x).end() // sortなどの引数を省略
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define max3(x, y, z) max(x, max(y, z))
#i... | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 136 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S < W) {
cout << "unsafe" << endl;
}
if (S > W) {
cout << "safe" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S <= W) {
cout << "unsafe" << endl;
}
if (S > W) {
cout << "safe" << endl;
}
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 55 |
def main():
s, w = map(int, input().split())
print('unsefe' if w >= s else 'safe')
if __name__ == '__main__':
main() | def main():
s, w = map(int, input().split())
print('unsafe' if w >= s else 'safe')
if __name__ == '__main__':
main() | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 45 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define loop(i, a, b) for (ll i = (ll)a; i < (ll)b; i++)
#define rtloop(i, a, b) for (ll i = (ll)a; i >= (ll)b; i--)
#define pb push_back
#define mp make_pair
#define yo(a) cerr << #a << " = " << a << "\n";
#define COOL ... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define loop(i, a, b) for (ll i = (ll)a; i < (ll)b; i++)
#define rtloop(i, a, b) for (ll i = (ll)a; i >= (ll)b; i--)
#define pb push_back
#define mp make_pair
#define yo(a) cerr << #a << " = " << a << "\n";
#define COOL ... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 107 |
s, w = map(int, input().split(" "))
if s >= w:
print("safe")
elif s < w:
print("unsafe")
else:
print("error") | s, w = map(int, input().split(" "))
if s > w:
print("safe")
elif s <= w:
print("unsafe")
else:
print("error")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 667, 18], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 667, 19]] | 5 | 49 |
s,w = map(input().split(), int)
print("unsafe" if w >= s else "safe") | s,w = map(int, input().split())
print("unsafe" if w >= s else "safe")
| [["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22]] | 5 | 30 |
#include <stdio.h>
int main(void) {
int S, M;
scanf("%d %d", &S, &M);
if (S < M) {
printf("unsafe");
} else {
printf("safe");
}
return 0;
}
| #include <stdio.h>
int main(void) {
int S, M;
scanf("%d %d", &S, &M);
if (S <= M) {
printf("unsafe");
} else {
printf("safe");
}
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 55 |
S,W = map(int,input().split())
print("unsafe" if S>=W else "safe") | S,W = map(int,input().split())
print("unsafe" if S<=W else "safe") | [["-", 0, 652, 3, 4, 0, 41, 0, 666, 667, 20], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 667, 19]] | 5 | 30 |
s,w=map(int,input().split())
if s>w:
return("safe")
else:
return("unsafe") | s,w=map(int,input().split())
if s>w:
print("safe")
else:
print("unsafe") | [["-", 0, 656, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22], ["-", 0, 57, 75, 76, 8, 196, 0, 37, 0, 38], ["+", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22]] | 5 | 35 |
#include <bits/stdc++.h>
#define rep(i, n) for (int(i) = 0; (i) < (int)(n); (i)++)
#define REP(i, n) for (int(i) = 0; (i) <= (int)(n); (i)++)
#define rep1(i, x, n) for (int(i) = (x); (i) < (int)(n); (i)++)
#define REP1(i, x, n) for (int(i) = (x); (i) <= (int)(n); (i)++)
#define rrep(i, x) for (int i = ((int)(x)-1); i >... | #include <bits/stdc++.h>
#define rep(i, n) for (int(i) = 0; (i) < (int)(n); (i)++)
#define REP(i, n) for (int(i) = 0; (i) <= (int)(n); (i)++)
#define rep1(i, x, n) for (int(i) = (x); (i) < (int)(n); (i)++)
#define REP1(i, x, n) for (int(i) = (x); (i) <= (int)(n); (i)++)
#define rrep(i, x) for (int i = ((int)(x)-1); i >... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 199 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; (i) < (n); ++(i))
#define loop(i, a, n) for (int i = (a); (i) < (n); ++(i))
#define ll long long
#define ld long double
#define EPS 0.0000000001
#define INF (int)1e9
#define MOD 0
//#define int ll
using namespace std;
typedef vector<long long> vl;
signed main(... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; (i) < (n); ++(i))
#define loop(i, a, n) for (int i = (a); (i) < (n); ++(i))
#define ll long long
#define ld long double
#define EPS 0.0000000001
#define INF (int)1e9
#define MOD 0
//#define int ll
using namespace std;
typedef vector<long long> vl;
signed main(... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 90 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
/*
sort(sp.... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <ctime>
#include <iomanip>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <stack>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <tuple>
#include <vector>
using namespace std;
/*
sort(sp.... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 106 |
#include <algorithm>
#include <float.h>
#include <functional>
#include <iostream>
#include <limits>
#include <numeric>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 1; i <= (int)(n); i++)
#defi... | #include <algorithm>
#include <float.h>
#include <functional>
#include <iostream>
#include <limits>
#include <numeric>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <type_traits>
#include <vector>
using namespace std;
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 1; i <= (int)(n); i++)
#defi... | [["-", 64, 9, 0, 1, 0, 16, 12, 103, 0, 104], ["-", 64, 9, 0, 1, 0, 16, 12, 103, 0, 125], ["-", 0, 1, 0, 16, 12, 103, 0, 42, 0, 22], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 62], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 103, 0, 104], ["-", 0, 9, 0, 1, 0, 16, 12, 103, 0, 125], ["+", 0, 9, 0, 1, 0, ... | 1 | 339 |
#include <bits/stdc++.h>
#define ll long long int
#define F(i, j, k, in) for (ll i = j; i < k; i += in)
#define DF(i, j, k, in) for (ll i = j; i >= k; i -= in)
#define feach(it, l) for (auto it = l.begin(); it != l.end(); it++)
#define fitr(it, it1, itr2, in) for (auto it = itr1; it != itr2; it += in)
#define Dfeach(it... | #include <bits/stdc++.h>
#define ll long long int
#define F(i, j, k, in) for (ll i = j; i < k; i += in)
#define DF(i, j, k, in) for (ll i = j; i >= k; i -= in)
#define feach(it, l) for (auto it = l.begin(); it != l.end(); it++)
#define fitr(it, it1, itr2, in) for (auto it = itr1; it != itr2; it += in)
#define Dfeach(it... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 225 |
#include <iostream>
using namespace std;
int main() {
long long int w, s;
cin >> s >> w;
if (w >= s)
cout << "safe";
else
cout << "unsafe";
} | #include <iostream>
using namespace std;
int main() {
long long int w, s;
cin >> s >> w;
if (w >= s)
cout << "unsafe";
else
cout << "safe";
} | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 44 |
#include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
double a, b;
cin >> a >> b;
if (b >= a / 2.0) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
}
| #include <bits/stdc++.h>
typedef long long ll;
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
double a, b;
cin >> a >> b;
if (b >= a) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
}
| [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 71 |
#include <iostream>
using namespace std;
int main() {
int sheep;
cin >> sheep;
int wolve;
cin >> wolve;
if (sheep > wolve) {
cout << "safe";
} else {
cout << "safe" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int sheep;
cin >> sheep;
int wolve;
cin >> wolve;
if (sheep > wolve) {
cout << "safe" << endl;
} else {
cout << "unsafe" << endl;
}
return 0;
} | [["+", 0, 57, 64, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 57, 64, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 54 |
a, b = map(int, input().split())
print("Yes" if a <= b else "No") | a, b = map(int, input().split())
print("safe" if a > b else "unsafe") | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["-", 0, 652, 3, 4, 0, 41, 0, 666, 667, 19], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 667, 47]] | 5 | 30 |
#include <iostream>
using namespace std;
int main() {
// cin.tie(0);
// ios::sync_with_stdio(false);
int S, W;
cin >> W >> S;
if (S <= W) {
cout << "unsafe\n";
} else {
cout << "safe\n";
}
} | #include <iostream>
using namespace std;
int main() {
// cin.tie(0);
// ios::sync_with_stdio(false);
int S, W;
cin >> S >> W;
if (S <= W) {
cout << "unsafe\n";
} else {
cout << "safe\n";
}
} | [["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 50 |
S, W = map(int,input.split())
if S <= W:
print("unsafe")
else:print("safe") | S, W = map(int,input().split())
if S <= W:
print("unsafe")
else:print("safe") | [["+", 0, 652, 63, 319, 500, 652, 3, 4, 0, 24], ["+", 0, 652, 63, 319, 500, 652, 3, 4, 0, 25]] | 5 | 33 |
import sys
S, W = map(int, input().split())
ans = "safe" if S >= W else "unsafe"
print(ans) | import sys
S, W = map(int, input().split())
ans = "safe" if S > W else "unsafe"
print(ans) | [["-", 0, 1, 0, 662, 12, 41, 0, 666, 667, 20], ["+", 0, 1, 0, 662, 12, 41, 0, 666, 667, 47]] | 5 | 35 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println(scanner.nextInt() >= scanner.nextInt() ? "unsafe"
: "safe");
}
} | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println(scanner.nextInt() <= scanner.nextInt() ? "unsafe"
: "safe");
}
} | [["-", 0, 492, 3, 4, 0, 510, 15, 16, 17, 20], ["+", 0, 492, 3, 4, 0, 510, 15, 16, 17, 19]] | 3 | 62 |
#include <algorithm>
#include <bits/stdc++.h>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <... | #include <algorithm>
#include <bits/stdc++.h>
#include <bitset>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 132 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long s, w;
cin >> s >> w;
if (w >= s)
cout << "safe\n";
else
cout << "unsafe\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long s, w;
cin >> s >> w;
if (w >= s)
cout << "unsafe\n";
else
cout << "safe\n";
return 0;
} | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 48 |
s = input()
l = [int(item) for item in s.split()]
if l[0] < l[1]:
print('unsafe')
else:
print('safe') | s = input()
l = [int(item) for item in s.split()]
if l[0] <= l[1]:
print('unsafe')
else:
print('safe') | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 46 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int S, W;
cin >> S >> W;
if (W >= S * 0.5) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
int S, W;
cin >> S >> W;
if (W >= S) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 79 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef double db;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int S, W;
cin >> S >> W;
if (W > S) {
cout << "unsafe\n";
} else {
cout << "safe\n";
}
return 0;
}
|
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef double db;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int S, W;
cin >> S >> W;
if (W >= S) {
cout << "unsafe\n";
} else {
cout << "safe\n";
}
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 79 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll GCD(ll x, ll y) {
if (y == 0)
return x;
else
return GCD(y, x % y);
}
int main() {
int s, w;
cin >> s >> w;
if (s < w) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll GCD(ll x, ll y) {
if (y == 0)
return x;
else
return GCD(y, x % y);
}
int main() {
int s, w;
cin >> s >> w;
if (s <= w) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 86 |
#include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <u... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <deque>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <unordered_map>
#include <u... | [["+", 0, 16, 12, 23, 0, 41, 15, 23, 0, 24], ["+", 8, 9, 0, 1, 0, 16, 12, 23, 0, 25]] | 1 | 129 |
WS = input().split()
S = WS[0]
W = WS[1]
result = "safe"
if W >= S:
result = "unsafe"
print(result) | WS = input().split()
S = int(WS[0])
W = int(WS[1])
result = "safe"
if W >= S:
result = "unsafe"
print(result) | [["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 40 |
S, W = map(int, input().split())
if W >= S:
print("unsafe")
else:
safe | S, W = map(int, input().split())
if W >= S:
print("unsafe")
else:
print("safe") | [["+", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 30 |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
try (BufferedReader br =
new BufferedReader(new InputStreamReader(System.in))) {
String[] sw = br.readLine().split(" ");
int s = Integer.parseInt... | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
try (BufferedReader br =
new BufferedReader(new InputStreamReader(System.in))) {
String[] sw = br.readLine().split(" ");
int s = Integer.parseInt... | [["-", 3, 4, 0, 510, 15, 23, 0, 16, 31, 22], ["-", 3, 4, 0, 510, 15, 23, 0, 16, 17, 18], ["+", 3, 4, 0, 510, 15, 23, 0, 16, 17, 20], ["+", 3, 4, 0, 510, 15, 23, 0, 16, 12, 22]] | 3 | 117 |
#include <bits/stdc++.h>
int ri() {
int n;
scanf("%d", &n);
return n;
}
int main() {
int a = ri();
int b = ri();
puts(b * 2 >= a ? "unsafe" : "safe");
return 0;
}
| #include <bits/stdc++.h>
int ri() {
int n;
scanf("%d", &n);
return n;
}
int main() {
int a = ri();
int b = ri();
puts(b >= a ? "unsafe" : "safe");
return 0;
}
| [["-", 3, 4, 0, 41, 15, 16, 31, 16, 17, 48], ["-", 3, 4, 0, 41, 15, 16, 31, 16, 12, 13]] | 1 | 64 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int S = scan.nextInt();
int W = scan.nextInt();
scan.close();
System.out.println(S < W ? "unsafe" : "safe");
}
} | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int S = scan.nextInt();
int W = scan.nextInt();
scan.close();
System.out.println(S <= W ? "unsafe" : "safe");
}
} | [["-", 0, 492, 3, 4, 0, 510, 15, 16, 17, 18], ["+", 0, 492, 3, 4, 0, 510, 15, 16, 17, 19]] | 3 | 78 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.