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 |
|---|---|---|---|---|
import java.util.Scanner;
public class Main {
static int S;
static int W;
public static void Main(String[] args) {
Scanner sc = new Scanner(System.in);
S = sc.nextInt();
W = sc.nextInt();
if (S > W) {
System.out.println("safe");
} else {
System.out.println("unsafe");
}
}
}
| import java.util.Scanner;
public class Main {
static int S;
static int W;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
S = sc.nextInt();
W = sc.nextInt();
if (S > W) {
System.out.println("safe");
} else {
System.out.println("unsafe");
}
}
}
| [["-", 0, 493, 0, 235, 8, 498, 0, 195, 141, 22], ["+", 0, 493, 0, 235, 8, 498, 0, 195, 141, 22]] | 3 | 92 |
#include <stdio.h>
int main(void) {
int S, W;
if (scanf("%d %d", &S, &W) == 1)
;
if (S > W * 2) {
printf("safe");
} else {
printf("unsafe");
}
return 0;
} | #include <stdio.h>
int main(void) {
int S, W;
if (scanf("%d %d", &S, &W) == 1)
;
if (S > W) {
printf("safe");
} else {
printf("unsafe");
}
return 0;
} | [["-", 0, 57, 15, 23, 0, 16, 12, 16, 17, 48], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13]] | 0 | 62 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double s = scan.nextDouble();
double w = scan.nextDouble();
if (s / 2 <= w) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
sc... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double s = scan.nextDouble();
double w = scan.nextDouble();
if (s <= w) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
scan.c... | [["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 85], ["-", 0, 57, 15, 15, 0, 16, 31, 16, 12, 499]] | 3 | 94 |
s, w = map(int, input().split())
if w >= s:
print("safe")
else:
print("unsafe") | s, w = map(int, input().split())
if w < s:
print("safe")
else:
print("unsafe") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18]] | 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 << "unsafe" << endl;
} else
cout << "safe" << endl;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 48 |
#include <stdio.h>
int main() {
int s, w;
scanf("%d %d", &s, &w);
if (s > w) {
printf("sefu");
} else {
printf("unsafe");
}
} | #include <stdio.h>
int main() {
int s, w;
scanf("%d %d", &s, &w);
if (s > w) {
printf("safe");
} else {
printf("unsafe");
}
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 51 |
a ,b = input().split()
a=int(a)
b=int(b)
if a<b:
print('safe')
else:
print('unsafe')
| a ,b = input().split()
a=int(a)
b=int(b)
if a>b:
print('safe')
else:
print('unsafe')
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47]] | 5 | 42 |
S, W = map(lambda: x, input().split())
if S>W:
print('safe')
else:
print('unsafe') | S, W = map(lambda x: int(x), input().split())
if S > W:
print('safe')
else:
print('unsafe') | [["+", 12, 652, 3, 4, 0, 670, 54, 711, 0, 22], ["+", 12, 652, 3, 4, 0, 670, 8, 652, 63, 22], ["+", 3, 4, 0, 670, 8, 652, 3, 4, 0, 24], ["+", 3, 4, 0, 670, 8, 652, 3, 4, 0, 25]] | 5 | 37 |
# -*- coding: utf-8 -*-
"""
Created on Sun Apr 26 20:54:00 2020
"""
import sys
#import numpy as np
sys.setrecursionlimit(10 ** 9)
#def input():
# return sys.stdin.readline()[:-1]
mod = 10**9+7
#N = int(input())
s, w = map(int,input().split())
#A = list(map(int,input().split()))
if w >= s/2:
print('unsafe')
e... | # -*- coding: utf-8 -*-
"""
Created on Sun Apr 26 20:54:00 2020
"""
import sys
#import numpy as np
sys.setrecursionlimit(10 ** 9)
#def input():
# return sys.stdin.readline()[:-1]
mod = 10**9+7
#N = int(input())
s, w = map(int,input().split())
#A = list(map(int,input().split()))
if w >= s:
print('unsafe')
els... | [["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 85], ["-", 0, 656, 0, 57, 15, 666, 0, 657, 12, 612]] | 5 | 63 |
#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int S, W;
cin >> S >> W;
if (S <= W * 2)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | #define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int S, W;
cin >> S >> W;
if (S <= W)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 58 |
S, W = map(int,input().split())
if (S>2*W):
print("safe")
else:
print("unsafe") | S, W = map(int,input().split())
if (S>W):
print("safe")
else:
print("unsafe") | [["-", 0, 57, 15, 23, 0, 666, 0, 657, 31, 612], ["-", 0, 57, 15, 23, 0, 666, 0, 657, 17, 48]] | 5 | 39 |
#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int maxn = 1e5 + 500;
int A[maxn], B[maxn];
int T, n;
map<string, int> mp;
int main() {
int a, b;
cin >> a >> b;
if (a >= b)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | #include <bits/stdc++.h>
using namespace std;
typedef long long LL;
const int maxn = 1e5 + 500;
int A[maxn], B[maxn];
int T, n;
map<string, int> mp;
int main() {
int a, b;
cin >> a >> b;
if (a <= b)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 83 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define REP(i, n) for (ll i = 0; i < n; i++)
#define REPR(i, n) for (ll i = n - 1; i >= 0; i--)
typede... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <iostream>
#include <queue>
#include <string>
#include <utility>
#include <vector>
using namespace std;
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define REP(i, n) for (ll i = 0; i < n; i++)
#define REPR(i, n) for (ll i = n - 1; i >= 0; i--)
typede... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 106 |
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, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 31 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int s, w;
cin >> s >> w;
if (s > w)
cout << "safe" << endl;
else
cout << "unsefe" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int s, w;
cin >> s >> w;
if (s > w)
cout << "safe" << endl;
else
cout << "unsafe" << endl;
return 0;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 57 |
s, w = map(int, input().split())
print("unsafe") if w >= s / 2 else print("safe") | s, w = map(int, input().split())
print("unsafe") if w >= s else print("safe") | [["-", 0, 1, 0, 41, 0, 666, 0, 657, 17, 85], ["-", 0, 1, 0, 41, 0, 666, 0, 657, 12, 612]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, m;
cin >> n, m;
if (n < m || n == m) {
cout << "unsafe" << endl;
} else
cout << "safe" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, m;
cin >> n >> m;
if (n <= m) {
cout << "unsafe" << endl;
} else
cout << "safe" << endl;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 22], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 60], ["+... | 1 | 52 |
#include <iostream>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (w * 2 >= s)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
return 0;
} | #include <iostream>
using namespace std;
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, 31, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 51 |
#include <iostream>
using namespace std;
int main() {
int S;
int W;
cin >> S >> W;
if (W >= S) {
cout << "unsaefe" << endl;
} else {
cout << "safe" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int S;
int W;
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 | 51 |
#include <stdio.h>
int main() {
int S, W;
scanf("%d,%d", &S, &W);
if (S <= W) {
printf("unsafe");
}
else if (S > W) {
printf("safe");
}
} | #include <stdio.h>
int main() {
int S, W;
scanf("%d %d", &S, &W);
if (S <= W) {
printf("unsafe");
}
else if (S > W) {
printf("safe");
}
} | [["-", 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;
#define rep(i, r) for (int i = 0; i < r; i++)
int main() {
int s, w;
cin >> s >> w;
if (s > w) {
cout << "safe" << endl;
} else {
cout << "uhnsafe" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
#define rep(i, r) for (int i = 0; i < r; i++)
int main() {
int s, w;
cin >> s >> w;
if (s > w) {
cout << "safe" << endl;
} else {
cout << "unsafe" << endl;
}
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 58 |
s, w = map(int, input().split())
print('safe') if s > 2*w else print('unsafe')
| s, w = map(int, input().split())
print('safe') if s > w else print('unsafe')
| [["-", 0, 1, 0, 41, 0, 666, 0, 657, 31, 612], ["-", 0, 1, 0, 41, 0, 666, 0, 657, 17, 48]] | 5 | 35 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <forward_list>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <utility>
#include <vector>
#define ll long long int... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <deque>
#include <forward_list>
#include <functional>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <utility>
#include <vector>
#define ll long long int... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 126 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
using P = pair<int, int>;
using ll = long long;
int main() {
int s, w;
cin >> s >> w;
cout << (w >= s / 2 ? "unsafe" : "safe") << endl;
} | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (n); i++)
using P = pair<int, int>;
using ll = long long;
int main() {
int s, w;
cin >> s >> w;
cout << (w >= s ? "unsafe" : "safe") << endl;
} | [["-", 12, 23, 0, 41, 15, 16, 12, 16, 17, 85], ["-", 12, 23, 0, 41, 15, 16, 12, 16, 12, 13]] | 1 | 67 |
a,b = input().split()
if a <= b:
print("unsafe")
else:
print("safe")
| a,b = input().split()
if int(a) <= int(b):
print("unsafe")
else:
print("safe") | [["+", 0, 656, 0, 57, 15, 666, 0, 652, 63, 22], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 24], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 25]] | 5 | 30 |
s,w = [int(x) for x in input().split()]
if w<=s:
print("safe")
else:
print("unsafe") | s,w = [int(x) for x in input().split()]
if w<s:
print("safe")
else:
print("unsafe")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18]] | 5 | 39 |
s, w = [int(i) for i in input().split()]
if s >= w:
print("safe")
else:
print("unsafe") | s, w = [int(i) for i in input().split()]
if s > w:
print("safe")
else:
print("unsafe") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47]] | 5 | 39 |
#include <iostream>
#include <vector>
using namespace std;
using ll = long long;
int main() {
int s, w;
cin >> s >> w;
if (s <= w) {
cout << "ubsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
} | #include <iostream>
#include <vector>
using namespace std;
using ll = long long;
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 | 61 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int W, S;
cin >> S >> W;
if (S >= W)
cout << "unsafe";
else
cout << "safe";
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int W, S;
cin >> S >> W;
if (W >= S)
cout << "unsafe";
else
cout << "safe";
} | [["-", 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 | 42 |
#include <stdio.h>
char main() {
int s, w;
scanf("%d %d", s, w);
if (w >= s) {
printf("unsafe");
} else {
printf("safe");
}
} | #include <stdio.h>
char main() {
int s, w;
scanf("%d %d", &s, &w);
if (w >= s) {
printf("unsafe");
} else {
printf("safe");
}
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 49 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int sheep = sc.nextInt();
int wolves = sc.nextInt();
if (sheep > wolves) {
System.out.print("safe");
} else {
System.out.print("ansafe");
}
return;
... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int sheep = sc.nextInt();
int wolves = sc.nextInt();
if (sheep > wolves) {
System.out.print("safe");
} else {
System.out.print("unsafe");
}
return;
... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 88 |
inputLine=input()
S=int(inputLine.split(" ")[0])
W=int(inputLine.split(" ")[1])
if 2*W >= S:
print("unsafe")
else:
print("safe")
| inputLine=input()
S=int(inputLine.split(" ")[0])
W=int(inputLine.split(" ")[1])
if W >= S:
print("unsafe")
else:
print("safe")
| [["-", 0, 656, 0, 57, 15, 666, 0, 657, 31, 612], ["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 48]] | 5 | 58 |
import sys
input = sys.stdin.readline
from collections import deque
s,w=map(int,input().split())
if w>=s/2:
print("unsafe")
else:
print("safe") | import sys
input = sys.stdin.readline
from collections import deque
s,w=map(int,input().split())
if w>=s:
print("unsafe")
else:
print("safe") | [["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 85], ["-", 0, 656, 0, 57, 15, 666, 0, 657, 12, 612]] | 5 | 50 |
#include <bits/stdc++.h>
#define REP(i, s, n) for (int i = s; i < n; i++)
#define ALL(a) a.begin(), a.end()
#define MOD 1000000007
using namespace std;
typedef long long ll;
int main() {
int S, W;
cin >> S >> W;
if (S <= W * 2) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0... | #include <bits/stdc++.h>
#define REP(i, s, n) for (int i = s; i < n; i++)
#define ALL(a) a.begin(), a.end()
#define MOD 1000000007
using namespace std;
typedef long long ll;
int main() {
int S, W;
cin >> S >> W;
if (S <= W) {
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 |
line = input().split()
s = line[0]
w = line[1]
if w >= s:
print("unsafe")
else :
print("safe") | line = input().split()
s = int(line[0])
w = int(line[1])
if w >= s:
print("unsafe")
else :
print("safe") | [["+", 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 |
def main():
a = list(map(int, input().split()))
sheep = a[0]
wolf = a[1]
if sheep <= wolf * 2:
print("unsafe")
else:
print("safe")
if __name__ == "__main__":
main()
|
def main():
a = list(map(int, input().split()))
sheep = a[0]
wolf = a[1]
if sheep <= wolf:
print("unsafe")
else:
print("safe")
if __name__ == "__main__":
main()
| [["-", 8, 196, 0, 57, 15, 666, 0, 657, 17, 48], ["-", 8, 196, 0, 57, 15, 666, 0, 657, 12, 612]] | 5 | 65 |
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define ff first
#define ss second
#define quick \
ios::sync_with_stdio(false); \
cin.tie(0);
#define time cerr << (0.1 * clock()) / CLO... | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define ff first
#define ss second
#define quick \
ios::sync_with_stdio(false); \
cin.tie(0);
#define time cerr << (0.1 * clock()) / CLO... | [["-", 31, 16, 12, 23, 0, 41, 15, 16, 31, 22], ["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 20], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 20], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 12, 22]] | 1 | 99 |
val = list(map(int, input().split(" ")))
if val[0] >= val[1]:
print("safe")
else:
print("unsafe") | val = list(map(int, input().split(" ")))
if val[0] > val[1]:
print("safe")
else:
print("unsafe")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47]] | 5 | 45 |
#include <bits/stdc++.h>
#define int long long
#define endl '\n'
using namespace std;
signed main() {
iostream::sync_with_stdio(0), cin.tie(0);
int n, m;
cin >> n >> m;
cout << (n > m ? "Safe" : "Unsafe");
}
| #include <bits/stdc++.h>
#define int long long
#define endl '\n'
using namespace std;
signed main() {
iostream::sync_with_stdio(0), cin.tie(0);
int n, m;
cin >> n >> m;
cout << (n > m ? "safe" : "unsafe");
}
| [["-", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 59 |
#include <assert.h> /*確認*/
#include <ctype.h> /*文字操作*/
#include <limits.h> /*限界*/
#include <math.h> /*計算*/
#include <stdbool.h>/*bool型*/
#include <stdio.h> /*入出力*/
#include <stdlib.h> /*標準ライブラリ*/
#include <string.h> /*文字列*/
//---------------------------------------------------
#define rep(i, n) for (int i = 0; i < ... | #include <assert.h> /*確認*/
#include <ctype.h> /*文字操作*/
#include <limits.h> /*限界*/
#include <math.h> /*計算*/
#include <stdbool.h>/*bool型*/
#include <stdio.h> /*入出力*/
#include <stdlib.h> /*標準ライブラリ*/
#include <string.h> /*文字列*/
//---------------------------------------------------
#define rep(i, n) for (int i = 0; i < ... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 161 |
s, w = [int(i) for i in input().split()]
if w >= (s / 2):
print('unsafe')
else:
print('safe') | s, w = [int(i) for i in input().split()]
if w >= s:
print('unsafe')
else:
print('safe') | [["-", 0, 656, 0, 57, 15, 666, 0, 23, 0, 24], ["-", 0, 57, 15, 666, 0, 23, 0, 657, 17, 85], ["-", 0, 57, 15, 666, 0, 23, 0, 657, 12, 612], ["-", 0, 656, 0, 57, 15, 666, 0, 23, 0, 25]] | 5 | 43 |
import math
#数値ひとつ
#I = int(input())
#数値欲しいとき
N, M = map(int, input().split())
#文字欲しいとき
#N = input()
#それをListにしたいとき
#listA = list(N)
#受け取る数が未定かつリストにしたいとき
#list = list(map(int, input().split()))
if N>M:
print('unsafe')
else:
print('safe') | import math
#数値ひとつ
#I = int(input())
#数値欲しいとき
N, M = map(int, input().split())
#文字欲しいとき
#N = input()
#それをListにしたいとき
#listA = list(N)
#受け取る数が未定かつリストにしたいとき
#list = list(map(int, input().split()))
if N>M:
print('safe')
else:
print('unsafe') | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 46 |
#include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S < W) {
cout << "unsafe";
} else {
cout << "safe";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S <= W) {
cout << "unsafe";
} else {
cout << "safe";
}
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 49 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int s, w;
cin >> s;
cin >> 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;
cin >> w;
if (s > w) {
cout << "safe" << endl;
} else {
cout << "unsafe" << endl;
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 52 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int S = sc.nextInt();
int W = sc.nextInt();
if (W >= S / 2)
System.out.println("unsafe");
else
System.out.println("safe");
}
} | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
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 | 84 |
#include <bits/stdc++.h>
#define rep(i, a, b) for (int i = a; i < (int)(b); ++i)
#define ALL(x) (x).begin(), (x).end()
#define rALL(x) (x).rbegin(), (x).rend()
typedef long double ld;
using ll = long long;
using namespace std;
const int mod = 1e9 + 7;
const ll inf = 1LL << 60;
const ld pi = (acos(-1));
template <class ... | #include <bits/stdc++.h>
#define rep(i, a, b) for (int i = a; i < (int)(b); ++i)
#define ALL(x) (x).begin(), (x).end()
#define rALL(x) (x).rbegin(), (x).rend()
typedef long double ld;
using ll = long long;
using namespace std;
const int mod = 1e9 + 7;
const ll inf = 1LL << 60;
const ld pi = (acos(-1));
template <class ... | [["-", 15, 339, 51, 16, 31, 16, 31, 23, 0, 24], ["-", 51, 16, 31, 16, 31, 23, 0, 16, 17, 72], ["-", 51, 16, 31, 16, 31, 23, 0, 16, 12, 13], ["-", 15, 339, 51, 16, 31, 16, 31, 23, 0, 25], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 211 |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int S = Integer.parseInt(sc.next());
int W = Integer.parseInt(sc.next());
if (W > S) {
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);
int S = Integer.parseInt(sc.next());
int W = Integer.parseInt(sc.next());
if (W >= S) {
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, 20]] | 3 | 102 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long long ld;
typedef vector<int> vi;
typedef pair<ll, ll> pii;
struct Node {
int node, len;
Node() { node = len = 0; }
Node(int node, int len) { this->node = node, this->len = len; }
};
typedef vector<Node> vg;
#define MAX 1
#define N... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long long ld;
typedef vector<int> vi;
typedef pair<ll, ll> pii;
struct Node {
int node, len;
Node() { node = len = 0; }
Node(int node, int len) { this->node = node, this->len = len; }
};
typedef vector<Node> vg;
#define MAX 1
#define N... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]] | 1 | 207 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String[] list = scanner.nextLine().split(" ");
if (Integer.parseInt(list[0]) < Integer.parseInt(list[1])) {
System.out.println("unsafe");
} else {
System.out... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String[] list = scanner.nextLine().split(" ");
if (Integer.parseInt(list[0]) <= Integer.parseInt(list[1])) {
System.out.println("unsafe");
} else {
System.ou... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 19]] | 3 | 102 |
#include "bits/stdc++.h"
using namespace std;
int main() {
double s, w;
;
cin >> s >> w;
if (w < s / 2) {
cout << "safe" << endl;
} else {
cout << "unsafe" << endl;
}
return 0;
}
| #include "bits/stdc++.h"
using namespace std;
int main() {
double s, w;
;
cin >> s >> w;
if (w < s) {
cout << "safe" << endl;
} else {
cout << "unsafe" << endl;
}
return 0;
}
| [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 58 |
#include <iostream>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s > w)
cout << "unsafe";
else
cout << "safe";
}
| #include <iostream>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (s > w)
cout << "safe";
else
cout << "unsafe";
}
| [["-", 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 | 42 |
s, w = gets.split(&:to_i)
if s <= w
puts 'unsafe'
else
puts 'safe'
end | s, w = gets.split.map(&:to_i)
if s <= w
puts 'unsafe'
else
puts 'safe'
end | [["+", 36, 36, 0, 493, 0, 662, 12, 652, 17, 131], ["+", 36, 36, 0, 493, 0, 662, 12, 652, 735, 22]] | 4 | 25 |
#include <iostream>
int main() {
int S, W;
std::cin >> S >> W;
if (W >= S / 2) {
std::cout << "unsafe" << std::endl;
} else {
std::cout << "safe" << std::endl;
}
} | #include <iostream>
int main() {
int S, W;
std::cin >> S >> W;
if (W >= S) {
std::cout << "unsafe" << std::endl;
} else {
std::cout << "safe" << std::endl;
}
} | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 58 |
s, w = input().split()
print("unsafe" if int(w) > int(s) else "safe") | s, w = input().split()
print("unsafe" if int(w) >= int(s) else "safe") | [["-", 0, 652, 3, 4, 0, 41, 0, 666, 667, 47], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 667, 20]] | 5 | 31 |
#include <bits/stdc++.h>
int main() {
using namespace std;
int a;
cin >> a;
int b;
cin >> b;
if (a >= b)
cout << "unsafe";
else
cout << "safe";
return 0;
} | #include <bits/stdc++.h>
int main() {
using namespace std;
int a;
cin >> a;
int b;
cin >> b;
if (a <= b)
cout << "unsafe";
else
cout << "safe";
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 48 |
n, m = map(int,input().split())
if n > m:
print("safe")
else:
print("ansafe") | n, m = map(int,input().split())
if n > m:
print("safe")
else:
print("unsafe") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 35 |
s, w = input().split()
print('unsafe' if s <= w else 'safe')
| s, w = map(int, input().split())
print('unsafe' if s <= w else 'safe')
| [["+", 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, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 25 |
#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;
} | #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;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 53 |
import java.util.*;
public class Main {
public static void main(String[] args) {
int a = 0;
int b = 0;
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int m = scan.nextInt();
if (n < m) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
... | import java.util.*;
public class Main {
public static void main(String[] args) {
int a = 0;
int b = 0;
Scanner scan = new Scanner(System.in);
int n = scan.nextInt();
int m = scan.nextInt();
if (n <= m) {
System.out.println("unsafe");
} else {
System.out.println("safe");
}
... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 19]] | 3 | 96 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vi = vector<int>;
using vll = vector<ll>;
using P = pair<int, int>;
const int INF = 1e9;
const ll INFLL = 1e18;
const int MOD = 1e9 + 7;
const int NIL = -1;
const ld PI = acosl(-1);
#define rep(i, n) for (int i = 0; i <... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using vi = vector<int>;
using vll = vector<ll>;
using P = pair<int, int>;
const int INF = 1e9;
const ll INFLL = 1e18;
const int MOD = 1e9 + 7;
const int NIL = -1;
const ld PI = acosl(-1);
#define rep(i, n) for (int i = 0; i <... | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 78], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 136 |
a,b = map(int, input().split())
print('unsafe' if b > a else 'safe') | a,b = map(int, input().split())
print('unsafe' if b >= a else 'safe') | [["-", 0, 652, 3, 4, 0, 41, 0, 666, 667, 47], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 667, 20]] | 5 | 30 |
#include <bits/stdc++.h>
using namespace std;
#define MP \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define nl "\n"
... | #include <bits/stdc++.h>
using namespace std;
#define MP \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define nl "\n"
... | [["-", 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 | 83 |
s,w=map(int,input().split())
if w<s/2:
print("safe")
#if w>=s/2:
else:
print("unsafe") | s,w=map(int,input().split())
if w<s:
print("safe")
else:
print("unsafe") | [["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 85], ["-", 0, 656, 0, 57, 15, 666, 0, 657, 12, 612]] | 5 | 38 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println((sc.nextInt() < sc.nextInt()) ? "unsafe" : "safe");
sc.close();
}
} | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println((sc.nextInt() <= sc.nextInt()) ? "unsafe" : "safe");
sc.close();
}
} | [["-", 3, 4, 0, 510, 15, 23, 0, 16, 17, 18], ["+", 3, 4, 0, 510, 15, 23, 0, 16, 17, 19]] | 3 | 70 |
#include <algorithm>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
int main() {
int s, w;
cin >> s >> w;
if (w > s) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
} | #include <algorithm>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
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 | 58 |
s = list(map(int, input().split()))
#print(s)
if s[0] >= s[1]:
print('unsafe')
else:
print('safe') | s = list(map(int, input().split()))
#print(s)
if s[0] <= s[1]:
print('unsafe')
else:
print('safe')
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19]] | 5 | 43 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)n; ++i)
#define repi(i, a, b) for (int i = int(a); i < int(b); ++i)
#define repr(i, n) for (int i = (int)n - 1; i >= 0; --i)
#define ALL(a) (a).begin(), (a).end()
using ll = long long;
using Graph = vector<vector<int>>;
const ll MO... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)n; ++i)
#define repi(i, a, b) for (int i = int(a); i < int(b); ++i)
#define repr(i, n) for (int i = (int)n - 1; i >= 0; --i)
#define ALL(a) (a).begin(), (a).end()
using ll = long long;
using Graph = vector<vector<int>>;
const ll MO... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 122 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int S;
int W;
cin >> S;
cin >> W;
if (W >= S / 2) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int S;
int W;
cin >> S;
cin >> W;
if (W >= S) { //なぜか半数以上だと思っていた
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 | 55 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <ctype.h>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iostream>
#include <istream>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <stack... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <ctype.h>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iostream>
#include <istream>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <stack... | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 17, 90], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 253 |
#include "bits/stdc++.h"
#pragma GCC optimize "03"
using namespace std;
#define int long long int
#define ld long double
#define pi pair<int, int>
#define pb push_back
#define fi first
#define se second
#define IOS \
ios::sync_with_stdio(false); ... | #include "bits/stdc++.h"
#pragma GCC optimize "03"
using namespace std;
#define int long long int
#define ld long double
#define pi pair<int, int>
#define pb push_back
#define fi first
#define se second
#define IOS \
ios::sync_with_stdio(false); ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 103 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pll;
typedef pair<int, int> pii;
#define fi first
#define se second
#define endl '\n'
#define y1 holyshit
#define all(x) x.begin(), x.end()
const int inf = 0x3f3f3f3f;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
i... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pll;
typedef pair<int, int> pii;
#define fi first
#define se second
#define endl '\n'
#define y1 holyshit
#define all(x) x.begin(), x.end()
const int inf = 0x3f3f3f3f;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
i... | [["-", 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 | 106 |
S, W = map(int, input().split())
print('unsafe' if S <= W else 'No')
| 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 | 30 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define mod 1000000007
#define pb push_back
#define pi pair<int, int>
#define vi vector<int>
#define vpi vector<pi>
#define IOS ios_base::sync_with_stdio(false), cin.tie(NULL)
const int N = 100003, M = 5002;
int main() {
int a, b;
cin >> a >> b;
... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define mod 1000000007
#define pb push_back
#define pi pair<int, int>
#define vi vector<int>
#define vpi vector<pi>
#define IOS ios_base::sync_with_stdio(false), cin.tie(NULL)
const int N = 100003, M = 5002;
int main() {
int a, b;
cin >> a >> b;
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 76 |
#include <bits/stdc++.h>
#define ll long long
using namespace std;
const ll INF = 1LL << 60;
const int inf = 1 << 30;
const int N = 1e5 + 10;
inline void fastio() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
}
int main() {
int S, W;
cin >> S >> W;
if (S > N)
cout << "safe";
else
cout <... | #include <bits/stdc++.h>
#define ll long long
using namespace std;
const ll INF = 1LL << 60;
const int inf = 1 << 30;
const int N = 1e5 + 10;
inline void fastio() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
}
int main() {
int S, W;
cin >> S >> W;
if (S > W)
cout << "safe";
else
cout <... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]] | 1 | 100 |
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << (b > a ? "unsafe" : "safe") << endl;
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
cout << (b >= a ? "unsafe" : "safe") << endl;
return 0;
}
| [["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 47], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 20]] | 1 | 44 |
// garnab27
#include <bits/stdc++.h>
#define MP make_pair
#define PB push_back
#define ll int64_t
#define F first
#define S second
#define ALL(x) (x).begin(), (x).end()
#define SZ(x) ((int)(x).size())
#define ff(i, a, b) for (int i = a; i <= b; i++)
#define fr(i, a, b) for (int i = a; i >= b; i--)
#define MAXN
using na... | // garnab27
#include <bits/stdc++.h>
#define MP make_pair
#define PB push_back
#define ll int64_t
#define F first
#define S second
#define ALL(x) (x).begin(), (x).end()
#define SZ(x) ((int)(x).size())
#define ff(i, a, b) for (int i = a; i <= b; i++)
#define fr(i, a, b) for (int i = a; i >= b; i--)
#define MAXN
using na... | [["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 239 |
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <iostream> // cout, endl, cin
#include <vector> // vector
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S > W) {
cout << "safe" << endl;
}
if (W > S) {
cout << "unsafe" << endl;
}
}
| #include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <iostream> // cout, endl, cin
#include <vector> // vector
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S > W) {
cout << "safe" << endl;
}
if (W >= S) {
cout << "unsafe" << endl;
}
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 62 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll S, W;
cin >> S >> W;
if (W > S) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ll 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 | 55 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned int uint;
typedef unsigned long long ull;
#define REP(i, n) for (ll(i) = 0; (i) < (n); (i)++)
#define REPR(i, n) for (ll(i) = (n); (i) >= 0; (i)--)
#define FOR(i, m, n) for (ll(i) = (m); (i) < (n); (i)++)
#define INF 1e9
#define ALL(v)... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned int uint;
typedef unsigned long long ull;
#define REP(i, n) for (ll(i) = 0; (i) < (n); (i)++)
#define REPR(i, n) for (ll(i) = (n); (i) >= 0; (i)--)
#define FOR(i, m, n) for (ll(i) = (m); (i) < (n); (i)++)
#define INF 1e9
#define ALL(v)... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 152], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 563 |
S, W = [int(k) for k in input().split(' ')]
safe = W / S < 0.5
print('safe' if safe else 'unsafe') | S, W = [int(k) for k in input().split(' ')]
safe = W < S
print('safe' if safe else 'unsafe') | [["-", 0, 1, 0, 662, 12, 666, 0, 657, 17, 85], ["-", 0, 1, 0, 662, 12, 666, 0, 657, 12, 22], ["-", 0, 656, 0, 1, 0, 662, 12, 666, 0, 531], ["+", 0, 656, 0, 1, 0, 662, 12, 666, 0, 22]] | 5 | 42 |
#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, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 46 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string.h>
#include <string>
#include <vector>
// output
#define SPBR(w, n) std::cout << (w... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <complex>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string.h>
#include <string>
#include <vector>
// output
#define SPBR(w, n) std::cout << (w... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 31, 13], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48]] | 1 | 310 |
// I make this just for fun because i'm done
// Aimi Haraguni >> Konomi Suzuki >> Yui >> Ikimono Gakari >> Garnidelia >>
// Kalafina >> Eir Aoi. .. dude? problems that involves any kind of persistent
// data structures are the best of the best, are not them?
// #pragma GCC optimize ("Ofast,unroll-loops")
// #pragma... | // I make this just for fun because i'm done
// Aimi Haraguni >> Konomi Suzuki >> Yui >> Ikimono Gakari >> Garnidelia >>
// Kalafina >> Eir Aoi. .. dude? problems that involves any kind of persistent
// data structures are the best of the best, are not them?
// #pragma GCC optimize ("Ofast,unroll-loops")
// #pragma... | [["-", 0, 1, 0, 41, 64, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 41, 64, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6]] | 1 | 343 |
[S, W] = [int(x) for x in input().split()]
if S < W :
print("unsafe")
else:
print("safe") | [S, W] = [int(x) for x in input().split()]
if S <= 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 | 41 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
int s, w;
cin >> s >> w;
if (s < w)
cout << "unsafe";
else
cout << "safe";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
int s, w;
cin >> s >> w;
if (s <= w)
cout << "unsafe";
else
cout << "safe";
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 52 |
#include <bits/stdc++.h> //for all of STL
#include <iostream>
#include <numeric> //for accumulate(v.begin(),v.end(),0)
// #include <algorithm>
// #include <vector>
using namespace std;
int64_t n, t, i, j, k, l, flag, c, s, m;
int main() {
// long n;
// cout<<__builtin_popcount(num)<<endl; //for counting number of ... | #include <bits/stdc++.h> //for all of STL
#include <iostream>
#include <numeric> //for accumulate(v.begin(),v.end(),0)
// #include <algorithm>
// #include <vector>
using namespace std;
int64_t n, t, i, j, k, l, flag, c, s, m;
int main() {
// long n;
// cout<<__builtin_popcount(num)<<endl; //for counting number of ... | [["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 31, 22], ["-", 8, 9, 0, 1, 0, 16, 31, 16, 17, 152]] | 1 | 98 |
s,w = gets.chomp.split.map(&:to_i)
if s < w
puts 'unsafe'
else puts 'safe'
end | s,w = gets.chomp.split.map(&:to_i)
if s <= w
puts 'unsafe'
else puts 'safe'
end | [["-", 36, 36, 0, 493, 0, 121, 15, 738, 17, 18], ["+", 36, 36, 0, 493, 0, 121, 15, 738, 17, 19]] | 4 | 29 |
s,w=map(int,input().split())
if s<w:
print('unsafe')
else:
print('safe') | s,w=map(int,input().split())
if s > w:
print('safe')
else:
print('unsafe') | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define rrep(i, a, b) for (int i = a; i > b; i--)
#define repll(i, a, b) for (ll i = a; i < b; i++)
int main() {
ios::sync_with_stdio(0);
cin.tie(0... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
#define rep(i, a, b) for (int i = a; i < b; i++)
#define rrep(i, a, b) for (int i = a; i > b; i--)
#define repll(i, a, b) for (ll i = a; i < b; i++)
int main() {
ios::sync_with_stdio(0);
cin.tie(0... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["-", 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 | 112 |
#include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W > S) {
cout << "unsafe";
} else {
cout << "safe";
}
system("pause");
return 0;
} | #include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W >= S) {
cout << "unsafe";
} else {
cout << "safe";
}
system("pause");
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 56 |
#include <bits/stdc++.h>
using namespace std;
#define fo(i, n) for (int i = 0; i < n; i++)
#define pb push_back
#define all(c) c.begin(), c.end()
int main() {
int a, b;
cin >> a >> b;
if (a < b)
cout << "safe";
else
cout << "unsafe";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define fo(i, n) for (int i = 0; i < n; i++)
#define pb push_back
#define all(c) c.begin(), c.end()
int main() {
int a, b;
cin >> a >> b;
if (a > b)
cout << "safe";
else
cout << "unsafe";
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 62 |
#include <iostream>
using namespace std;
int main(void) {
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(void) {
int S, W;
cin >> S >> W;
if (S <= W) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 54 |
#include <algorithm>
#include <cmath>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#ifdef LOCAL
#define eprintf(...) fprintf(stderr, __VA_ARGS__... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#ifdef LOCAL
#define eprintf(...) fprintf(stderr, __VA_ARGS__... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 1,113 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, m, n) for (int(i) = (int)(m); i < (int)(n); i++)
#define rep2(i, m, n) for (int(i) = (int)(n)-1; i >= (int)(m); i--)
#define REP(i, n) rep(i, 0, n)
#define REP2(i, n) rep2(i, 0, n)
#define FOR(i, c) ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, m, n) for (int(i) = (int)(m); i < (int)(n); i++)
#define rep2(i, m, n) for (int(i) = (int)(n)-1; i >= (int)(m); i--)
#define REP(i, n) rep(i, 0, n)
#define REP2(i, n) rep2(i, 0, n)
#define FOR(i, c) ... | [["-", 12, 23, 0, 41, 15, 16, 12, 16, 17, 48], ["-", 12, 23, 0, 41, 15, 16, 12, 16, 12, 13]] | 1 | 436 |
#include <cstring>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < b) {
cout << "unsafe\n";
} else {
cout << "safe\n";
}
} | #include <cstring>
#include <iostream>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a <= b) {
cout << "unsafe\n";
} else {
cout << "safe\n";
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 50 |
S, W = 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, 652, 63, 319, 500, 652, 3, 4, 0, 24], ["+", 0, 652, 63, 319, 500, 652, 3, 4, 0, 25]] | 5 | 28 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define PI acos(-1)
typedef long long ll;
ll gcd(ll x, ll y) {
if (y == 0)
return x;
else
return gcd(y, x % y);
}
ll lcm(ll x, ll y) { return x / gcd(x, y) * y; }
using namespace std;
int main() {
int s, w;
cin >> s >> w;
(s < w... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define PI acos(-1)
typedef long long ll;
ll gcd(ll x, ll y) {
if (y == 0)
return x;
else
return gcd(y, x % y);
}
ll lcm(ll x, ll y) { return x / gcd(x, y) * y; }
using namespace std;
int main() {
int s, w;
cin >> s >> w;
(s <= ... | [["-", 0, 1, 0, 41, 15, 23, 0, 16, 17, 18], ["+", 0, 1, 0, 41, 15, 23, 0, 16, 17, 19]] | 1 | 116 |
#include <bits/stdc++.h>
using namespace std;
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> bool chmin(T &a, const T &b) {
if (b < a) {
a = b;
return 1;
}
return 0;
}
using ll = long long;
int main() {
int S, W;
cin >>... | #include <bits/stdc++.h>
using namespace std;
template <class T> bool chmax(T &a, const T &b) {
if (a < b) {
a = b;
return 1;
}
return 0;
}
template <class T> bool chmin(T &a, const T &b) {
if (b < a) {
a = b;
return 1;
}
return 0;
}
using ll = long long;
int main() {
int S, W;
cin >>... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 48]] | 1 | 135 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W > S) {
cout << "unsafe";
}
else {
cout << "safe";
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W >= S) {
cout << "unsafe";
}
else {
cout << "safe";
}
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 46 |
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W > S / 2) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
} | #include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W >= S) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 59 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.