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 |
|---|---|---|---|---|
S, W = map(int, input().split())
import math
if 2*W >= S:
print("unsafe")
else:
print("safe") | S, W = map(int, input().split())
import math
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 | 39 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
int main() {
int s, w;
cin >> s >> w;
if (s / 2 <= w)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#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, 31, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 62 |
def main():
s, w = map(int, input().split())
if w >= s/2 + s%2:
print("unsafe")
else:
print("safe")
if __name__ == "__main__":
main() | def main():
s, w = map(int, input().split())
if w >= s:
print("unsafe")
else:
print("safe")
if __name__ == "__main__":
main()
| [["-", 0, 57, 15, 666, 0, 657, 31, 657, 17, 85], ["-", 0, 57, 15, 666, 0, 657, 31, 657, 12, 612], ["-", 8, 196, 0, 57, 15, 666, 0, 657, 17, 72], ["-", 0, 57, 15, 666, 0, 657, 12, 657, 31, 22], ["-", 0, 57, 15, 666, 0, 657, 12, 657, 17, 109], ["-", 0, 57, 15, 666, 0, 657, 12, 657, 12, 612]] | 5 | 56 |
#include <bits/stdc++.h>
#define ll long long
#define rep(i, a, b) for (i = a; i < b; i++)
#define pb push_back
#define all(v) v.begin(), v.end()
#define F first
#define S second
#define vi vector<ll int>
#define CLR(a) memset((a), 0, sizeof(a))
#define mp make_pair
#define hell 1000000007
using namespace std;
#define... | #include <bits/stdc++.h>
#define ll long long
#define rep(i, a, b) for (i = a; i < b; i++)
#define pb push_back
#define all(v) v.begin(), v.end()
#define F first
#define S second
#define vi vector<ll int>
#define CLR(a) memset((a), 0, sizeof(a))
#define mp make_pair
#define hell 1000000007
using namespace std;
#define... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 849 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
const int inf = 0x3f3f3f3f;
const double pi = 4 * atan(1.0);
const int N = 1e5 + 5;
const ll mod = ... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
const int inf = 0x3f3f3f3f;
const double pi = 4 * atan(1.0);
const int N = 1e5 + 5;
const ll mod = ... | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 110 |
s,w = map(int,input().split())
print("safe") if s>=w else print("unsafe")
| s,w = map(int,input().split())
print("safe") if s>w else print("unsafe")
| [["-", 0, 656, 0, 1, 0, 41, 0, 666, 667, 20], ["+", 0, 656, 0, 1, 0, 41, 0, 666, 667, 47]] | 5 | 33 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<ll, ll> P;
#define MD 1000000007
#define INF 1ll << 60
const double PI = 3.141592653589;
template <typename T> std::string tostr(const T &t) {
std::ostringstream os;
os << t;
return os.str();
}
int dx[4] = {1, 0, -1, 0}, dy[4] = ... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<ll, ll> P;
#define MD 1000000007
#define INF 1ll << 60
const double PI = 3.141592653589;
template <typename T> std::string tostr(const T &t) {
std::ostringstream os;
os << t;
return os.str();
}
int dx[4] = {1, 0, -1, 0}, dy[4] = ... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 142 |
def main():
x,y = tuple([int(t)for t in input().split()])
if x>=y:
print("unsafe")
else:
print("safe")
if __name__ == "__main__":
main() | def main():
x,y = tuple([int(t)for t in input().split()])
if x<=y:
print("unsafe")
else:
print("safe")
if __name__ == "__main__":
main() | [["-", 0, 14, 8, 196, 0, 57, 15, 666, 667, 20], ["+", 0, 14, 8, 196, 0, 57, 15, 666, 667, 19]] | 5 | 57 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S >= W) {
cout << "safe";
}
else {
cout << "unsafe";
}
} | #include <bits/stdc++.h>
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 | 46 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i < n + 1; i++)
#define sort(A) sort(A.begin(), A.end())
#define reverse(A) reverse(A.begin(), A.end())
#define vecmin(A) *min_element(A.begin(), A.end())
#define vecmax(A) *max_element(A.begin... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep1(i, n) for (int i = 1; i < n + 1; i++)
#define sort(A) sort(A.begin(), A.end())
#define reverse(A) reverse(A.begin(), A.end())
#define vecmin(A) *min_element(A.begin(), A.end())
#define vecmax(A) *max_element(A.begin... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 91 |
#include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define int l... | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); \
cout.tie(NULL);
#define int l... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 105 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (S > W * 2) {
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;
}
}
| [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 52 |
#include <bits/stdc++.h>
#include <iostream>
#include <string>
#include <vector>
#define ll long long
using namespace std;
int gcd(int x, int y) { return (x % y) ? gcd(y, x % y) : y; }
int main() {
int S, W;
cin >> S >> W;
if (W >= S) {
cout << 'unsafe' << endl;
} else {
cout << 'safe' << endl;
}
... | #include <bits/stdc++.h>
#include <iostream>
#include <string>
#include <vector>
#define ll long long
using namespace std;
int gcd(int x, int y) { return (x % y) ? gcd(y, x % y) : y; }
int main() {
int S, W;
cin >> S >> W;
if (W >= S) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
... | [["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 104], ["-", 0, 1, 0, 16, 31, 16, 12, 103, 0, 125], ["-", 0, 16, 31, 16, 12, 103, 0, 42, 0, 22], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 93 |
#include <bits/stdc++.h>
#define min3(a, b, c) min(a, min(b, c))
#define max3(a, b, c) max(a, max(b, c))
#define min4(a, b, c, d) min(min(a, b), min(c, d))
#define max4(a, b, c, d) max(max(a, b), max(c, d))
#define count_one(a) \
__builtin_popcount(a) // Retu... | #include <bits/stdc++.h>
#define min3(a, b, c) min(a, min(b, c))
#define max3(a, b, c) max(a, max(b, c))
#define min4(a, b, c, d) min(min(a, b), min(c, d))
#define max4(a, b, c, d) max(max(a, b), max(c, d))
#define count_one(a) \
__builtin_popcount(a) // Retu... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 44], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 44]] | 1 | 149 |
//競技プログラミング用のテンプレート
#include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define repr(i, n) for (int i = n - 1; i >= 0; i--)
using namespace std;
using ll = lon... | //競技プログラミング用のテンプレート
#include <algorithm>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define repr(i, n) for (int i = n - 1; i >= 0; i--)
using namespace std;
using ll = lon... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 140 |
A, B = map(int.input().split())
if (A > B):
print('safe')
else:
print('unsafe')
| A, B = map(int, input().split())
if (A > B):
print('safe')
else:
print('unsafe')
| [["-", 0, 652, 63, 319, 500, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21]] | 5 | 37 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int s, w;
cin >> s >> w;
if (w >= s * 2)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
int s, w;
cin >> s >> w;
if (w >= s)
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 | 62 |
#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define repi(i, a, b) for (int i = int(a); i < int(b); i++)
#define all(v) v.begin(), v.end()
#define ll long long
using namespace std;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<long long>;
using vvll = vector<vll>;
//... | #include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define repi(i, a, b) for (int i = int(a); i < int(b); i++)
#define all(v) v.begin(), v.end()
#define ll long long
using namespace std;
using vi = vector<int>;
using vvi = vector<vi>;
using vll = vector<long long>;
using vvll = vector<vll>;
//... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 110 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long s;
long long w;
cin >> s >> w;
if (s < w) {
cout << "unsafe";
return 0;
}
cout << "safe";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long long s;
long long w;
cin >> s >> w;
if (w >= s) {
cout << "unsafe";
return 0;
}
cout << "safe";
return 0;
} | [["-", 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 | 52 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int N, K;
cin >> N, K;
if (K >= N) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int N, K;
cin >> N >> K;
if (K >= N) {
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]] | 1 | 50 |
#include <algorithm>
#include <cmath>
#include <complex>
#include <ctime>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef int i... | #include <algorithm>
#include <cmath>
#include <complex>
#include <ctime>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef int i... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 275 |
n,m=map(int,input())
if m>=n:
print('unsafe')
else:
print('safe')
| n,m=map(int,input().split())
if m>=n:
print('unsafe')
else:
print('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 | 31 |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.nio.Buffer;
import java.util.*;
import javax.swing.text.html.HTMLDocument;
class Main {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader... | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.nio.Buffer;
import java.util.*;
import javax.swing.text.html.HTMLDocument;
class Main {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader... | [["-", 0, 246, 8, 196, 0, 503, 49, 200, 141, 22], ["+", 0, 246, 8, 196, 0, 503, 49, 200, 141, 22]] | 3 | 262 |
#include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map> //map<int, int> x;
#include <numeric>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 1; i <= (int)(n); i++)
#define SIZE_OF_ARRAY(array) (sizeof(array) / sizeof(array[0]))
using ll = long long;
using name... | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map> //map<int, int> x;
#include <numeric>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 1; i <= (int)(n); i++)
#define SIZE_OF_ARRAY(array) (sizeof(array) / sizeof(array[0]))
using ll = long long;
using name... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 83 |
def solution():
s, w = map(int, input().split())
if w >= s/2:
print('unsafe')
else:
print('safe')
solution()
| def solution():
s, w = map(int, input().split())
if w >= s:
print('unsafe')
else:
print('safe')
solution()
| [["-", 8, 196, 0, 57, 15, 666, 0, 657, 17, 85], ["-", 8, 196, 0, 57, 15, 666, 0, 657, 12, 612]] | 5 | 45 |
#include <bits/stdc++.h>
using namespace std;
int a, b;
signed main() {
cin >> a >> b;
if (a < b)
cout << "unsafe\n";
else
cout << "safe\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int a, b;
signed main() {
cin >> a >> b;
if (a <= b)
cout << "unsafe\n";
else
cout << "safe\n";
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 47 |
#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 <= 2 * w)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
}
| #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, 31, 13], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48]] | 1 | 56 |
// https://ei1333.github.io/luzhiled/
// http://beet-aizu.hatenablog.com/entry/2017/01/04/113233
// http://www.prefield.com/algorithm/
#include <bits/stdc++.h>
constexpr char bn = '\n';
using namespace std;
using ll = long long;
using ld = long double;
using vl = vector<ll>;
using vd = vector<ld>;
using vs = vector<str... | // https://ei1333.github.io/luzhiled/
// http://beet-aizu.hatenablog.com/entry/2017/01/04/113233
// http://www.prefield.com/algorithm/
#include <bits/stdc++.h>
constexpr char bn = '\n';
using namespace std;
using ll = long long;
using ld = long double;
using vl = vector<ll>;
using vd = vector<ld>;
using vs = vector<str... | [["-", 0, 41, 15, 23, 0, 16, 12, 16, 17, 48], ["-", 0, 41, 15, 23, 0, 16, 12, 16, 12, 13]] | 1 | 875 |
#include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W > S)
cout << "unsafe";
else
cout << "safe";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W >= S)
cout << "unsafe";
else
cout << "safe";
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 45 |
# -*- coding: utf-8 -*-
H, O = map(int, input().split())
if (H < O):
print("unsafe")
else:
print("safe") | # -*- coding: utf-8 -*-
H, O = map(int, input().split())
if (H <= O):
print("unsafe")
else:
print("safe") | [["-", 0, 656, 0, 57, 15, 23, 0, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 23, 0, 666, 667, 19]] | 5 | 38 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = (n); i > 0; i--)
#define all(n) n.begin(), n.end()
#define print(n) cout << n << endl
int main() {
cin.tie(0);
ios_base::sync_with_stdio(false);
ll s, w;
cin >> ... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define rrep(i, n) for (int i = (n); i > 0; i--)
#define all(n) n.begin(), n.end()
#define print(n) cout << n << endl
int main() {
cin.tie(0);
ios_base::sync_with_stdio(false);
ll s, w;
cin >> ... | [["-", 64, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["-", 64, 1, 0, 2, 3, 4, 0, 103, 0, 125], ["-", 0, 2, 3, 4, 0, 103, 0, 42, 0, 22], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 62], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 103, 0, 104], ["-", 0, 1, 0, 2, 3, 4, 0, 103, 0, 125], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 62... | 1 | 97 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll s, w;
cin >> s >> w;
if (w > s) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
ll 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]] | 1 | 59 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W >= S / 2) {
cout << "unsafe" << endl;
return 0;
}
cout << "safe" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
if (W >= S) {
cout << "unsafe" << endl;
return 0;
}
cout << "safe" << endl;
return 0;
} | [["-", 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 <iostream>
#include <list>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
// freopen("aa_input.txt", "r", stdin);
int ... | #include <algorithm>
#include <iostream>
#include <list>
#include <math.h>
#include <queue>
#include <set>
#include <stdio.h>
#include <string>
#include <vector>
using namespace std;
#define ll long long
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
// freopen("aa_input.txt", "r", stdin);
int ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 97 |
#include <bits/stdc++.h>
using namespace std;
int c[256], a2[100001];
bool b1[100001];
struct point {
int x, y;
};
int main() {
int S, W;
cin >> S >> W;
if (W > S)
cout << "unsafe";
else
cout << "safe";
}
| #include <bits/stdc++.h>
using namespace std;
int c[256], a2[100001];
bool b1[100001];
struct point {
int x, y;
};
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 | 69 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define all(v) v.begin(), v.end()
#define vec vector
typedef long long ll;
/* <<bit全探索>>
for (int tmp = 0; tmp < (1 << ビット数); tmp++) {
bitset<ビット数> s(tmp);
}
*/
/* <<stringで読み込んだ数列を一桁ずつint型へ変換>>
string ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define all(v) v.begin(), v.end()
#define vec vector
typedef long long ll;
/* <<bit全探索>>
for (int tmp = 0; tmp < (1 << ビット数); tmp++) {
bitset<ビット数> s(tmp);
}
*/
/* <<stringで読み込んだ数列を一桁ずつint型へ変換>>
string ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 74 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll mod = 1000000007;
const ll maxn = 1e5 + 10;
ll powmod(ll a, ll b) {
ll res = 1;
a %= mod;
assert(b >= 0);
for (; b; b >>= 1) {
if (b & 1)
res = res * a % mod;
a = a * a % mod;
}
return res;
}
ll gcd(ll a, ll b) { retu... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const ll mod = 1000000007;
const ll maxn = 1e5 + 10;
ll powmod(ll a, ll b) {
ll res = 1;
a %= mod;
assert(b >= 0);
for (; b; b >>= 1) {
if (b & 1)
res = res * a % mod;
a = a * a % mod;
}
return res;
}
ll gcd(ll a, ll b) { retu... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 22]] | 1 | 166 |
#include <bits/stdc++.h>
#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 <bits/stdc++.h>
#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;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 55 |
#include <bits/stdc++.h>
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 <bits/stdc++.h>
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, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 55 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
using ll = long long;
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;
#define rep(i, n) for (int i = 0; i < n; i++)
using ll = long long;
int main() {
int s, w;
cin >> s >> w;
if (w >= s)
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]] | 1 | 60 |
#include <stdio.h>
int main() {
int S, W;
scanf("%d %d", S, W);
if (W >= S) {
printf("unsafe");
} else {
printf("safe");
}
return 0;
} | #include <stdio.h>
int main() {
int S, W;
scanf("%d %d", &S, &W);
if (W >= S) {
printf("unsafe");
} else {
printf("safe");
}
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 52 |
import sys
stdin = sys.stdin
sys.setrecursionlimit(10 ** 7)
def LI(): return list(map(int, stdin.readline().split()))
def LS(): return list(stdin.readline())
s,w = LI()
print('safe' if s/2>w else 'unsafe') | import sys
stdin = sys.stdin
sys.setrecursionlimit(10 ** 7)
def LI(): return list(map(int, stdin.readline().split()))
def LS(): return list(stdin.readline())
s,w = LI()
print('safe' if s>w else 'unsafe') | [["-", 3, 4, 0, 41, 0, 666, 0, 657, 17, 85], ["-", 3, 4, 0, 41, 0, 666, 0, 657, 12, 612]] | 5 | 75 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int S;
int W;
cin >> S >> W;
if (W >= S) {
cout << "unsafe" << endl;
}
cout << "safe" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int S;
int W;
cin >> S >> W;
if (W >= S) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
} | [["+", 0, 14, 8, 9, 0, 57, 75, 76, 0, 95], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 0, 57, 75, 76, 0, 9, 0, 1, 0, 35], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 1 | 48 |
#define ll long long int
#define ull unsigned long long int
#define pb push_back
#define mp make_pair
#define ye cout << "YES";
#define no cout << "NO";
#define ln cout << "\n";
// cout<<"Case #"<<ts<<": ";
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
... | #define ll long long int
#define ull unsigned long long int
#define pb push_back
#define mp make_pair
#define ye cout << "YES";
#define no cout << "NO";
#define ln cout << "\n";
// cout<<"Case #"<<ts<<": ";
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
... | [["-", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["-", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["-", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 217 |
//
#include <bits/stdc++.h>
using namespace std;
#define PB push_back
#define f first
#define s second
typedef long long ll;
typedef pair<ll, ll> pll;
typedef pair<int, int> pii;
const int MOD = 1000000007;
const int INF = 1000000007;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int s, w;
cin >> ... | //
#include <bits/stdc++.h>
using namespace std;
#define PB push_back
#define f first
#define s second
typedef long long ll;
typedef pair<ll, ll> pll;
typedef pair<int, int> pii;
const int MOD = 1000000007;
const int INF = 1000000007;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int s, w;
cin >> ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 106 |
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define debug(x) cout << '>' << #x << ':' << x << endl;
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define fr(i, a, b) for (ll i = (a); i < (b); i++)
#define frd(i, a, b) for (ll i = (a); i >= (b); i--)
#define all(x) (x).begin(), (x).end()
#define ... | #include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define debug(x) cout << '>' << #x << ':' << x << endl;
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define fr(i, a, b) for (ll i = (a); i < (b); i++)
#define frd(i, a, b) for (ll i = (a); i >= (b); i--)
#define all(x) (x).begin(), (x).end()
#define ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["-", 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 | 131 |
#include <iostream>
int main() {
using namespace std;
int S, W;
cin >> S >> W;
if (W > S)
cout << "unsafe";
else
cout << "safe";
return 0;
} | #include <iostream>
int main() {
using namespace std;
int S, W;
cin >> S >> W;
if (W >= S)
cout << "unsafe";
else
cout << "safe";
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 45 |
/*
गिरते हैं शहसवार ही मैदान-ए-जंग में ।
वो तिफ़्ल क्या गिरे जो घुटनों के बल चले ।।
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define int long long int
#define ull unsigned int
#define ld long double
#define... | /*
गिरते हैं शहसवार ही मैदान-ए-जंग में ।
वो तिफ़्ल क्या गिरे जो घुटनों के बल चले ।।
*/
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define int long long int
#define ull unsigned int
#define ld long double
#define... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 225 |
s, w = map(int, input())
if s<=w:
print('unsafe')
else:
print('safe')
| s, w = map(int, input().split())
if s<=w:
print('unsafe')
else:
print('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 | 31 |
s,w = gets.split.map(&:chomp)
if w >= s
puts "unsafe"
else
puts "safe"
end | s,w = gets.split.map(&:to_i)
if w >= s
puts "unsafe"
else
puts "safe"
end | [["-", 0, 662, 12, 652, 3, 4, 0, 752, 0, 753], ["+", 0, 662, 12, 652, 3, 4, 0, 752, 0, 753]] | 4 | 27 |
S, W = int(input().split())
if(S > W):
print("safe")
else:
print("unsafe") | S, W = map(int, input().split())
if(S > W):
print("safe")
else:
print("unsafe")
| [["-", 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 | 35 |
#include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
cout << (W >= S ? "unsage" : "safe") << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int S, W;
cin >> S >> W;
cout << (W >= S ? "unsafe" : "safe") << endl;
return 0;
} | [["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6]] | 1 | 44 |
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, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21]] | 5 | 30 |
s, w = list( map( int ,input() ))
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, 63, 319, 0, 131], ["+", 0, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 34 |
#include <bits/stdc++.h>
#define fr(i, b, e) for (int i = (b); i != (e); ++i)
#define rep(i, e) for (int i = 0; i != (e); ++i)
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long int li;
typedef long long int ll;
using graph = vector<vector<int>>;
using edgedp = vector<vector<pair<int, ll>>>;
const... | #include <bits/stdc++.h>
#define fr(i, b, e) for (int i = (b); i != (e); ++i)
#define rep(i, e) for (int i = 0; i != (e); ++i)
#define all(x) (x).begin(), (x).end()
using namespace std;
typedef long int li;
typedef long long int ll;
using graph = vector<vector<int>>;
using edgedp = vector<vector<pair<int, ll>>>;
const... | [["-", 0, 14, 8, 9, 0, 1, 0, 34, 0, 21], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152]] | 1 | 185 |
#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 7;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
// freopen("in.in" ,"r" , stdin) ;
int n, m;
cin >> n >> m;
if (m > n)
cout << "unsafe";
else
cout << "safe";
return 0;
} |
#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 7;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
// freopen("in.in" ,"r" , stdin) ;
int n, m;
cin >> n >> m;
if (m >= n)
cout << "unsafe";
else
cout << "safe";
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 68 |
#include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using vvi = vector<vector<int>>;
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n; i > 0; i--)
#define all(v) v.begin(), v.end()
#define debug(x) cout << x << endl
#define vout(v) rep(i, v.size()) cout << v[i] << " "
... | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using vvi = vector<vector<int>>;
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n; i > 0; i--)
#define all(v) v.begin(), v.end()
#define debug(x) cout << x << endl
#define vout(v) rep(i, v.size()) cout << v[i] << " "
... | [["-", 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 | 110 |
s, w = gets.chom.split(" ").map(&:to_i)
if w >= s
puts "unsafe"
else
puts "safe"
end | s, w = gets.chomp.split(" ").map(&:to_i)
if w >= s
puts "unsafe"
else
puts "safe"
end | [["-", 0, 662, 12, 652, 486, 652, 486, 652, 735, 22], ["+", 0, 662, 12, 652, 486, 652, 486, 652, 735, 22]] | 4 | 34 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define ll long long
#define pb push_back
using namespace __gnu_pbds;
using namespace std;
typedef tree<ll, null_type, less<int>, rb_tree_tag,
tree_order_statistics_node_update>
ordered_set;
struct No... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#define ll long long
#define pb push_back
using namespace __gnu_pbds;
using namespace std;
typedef tree<ll, null_type, less<int>, rb_tree_tag,
tree_order_statistics_node_update>
ordered_set;
struct No... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 114 |
#include "bits/stdc++.h"
#define int long long
#define endl '\n'
using namespace std;
typedef long long ll;
#define db(x) cerr << #x << ": " << x << '\n';
#define read(a) \
int a; \
... | #include "bits/stdc++.h"
#define int long long
#define endl '\n'
using namespace std;
typedef long long ll;
#define db(x) cerr << #x << ": " << x << '\n';
#define read(a) \
int a; \
... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 254 |
#include <stdio.h>
int main() {
int s, w;
scanf("%d %d", &s, &w);
if (w > s)
printf("safe");
else
printf("unsafe");
} | #include <stdio.h>
int main() {
int s, w;
scanf("%d %d", &s, &w);
if (s > w)
printf("safe");
else
printf("unsafe");
} | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 12, 22]] | 0 | 47 |
#include <bits/stdc++.h>
#define ll long long
#define sz(x) (int)(x).size()
using namespace std;
ll binpow(ll a, ll b) {
if (b == 0) {
return 1;
}
ll res = binpow(a, b / 2);
res *= res;
if (b % 2) {
return res * a;
}
return res;
}
ll gcd(ll a, ll b) {
if (b == 0)
return a;
return gcd(b, ... | #include <bits/stdc++.h>
#define ll long long
#define sz(x) (int)(x).size()
using namespace std;
ll binpow(ll a, ll b) {
if (b == 0) {
return 1;
}
ll res = binpow(a, b / 2);
res *= res;
if (b % 2) {
return res * a;
}
return res;
}
ll gcd(ll a, ll b) {
if (b == 0)
return a;
return gcd(b, ... | [["-", 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 | 282 |
b,c=[int(x) for x in input().split()]
if c>b:
print("unsafe")
else:
print("safe")
| b,c=[int(x) for x in input().split()]
if c>=b:
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 | 39 |
#include <bits/stdc++.h>
using namespace std;
#define FASTIO \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0)
#define ll long ... | #include <bits/stdc++.h>
using namespace std;
#define FASTIO \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0)
#define ll long ... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20]] | 1 | 169 |
#include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <vector>
#define reps(i, s, n) for (int(i) = (s); (i) < (n); (i)++)
#define rep(i, n) reps(i, 0, n)
using namespace std;
using ll = long long;
int main() {
int s, w;
cin >> s >> w;
if (s >= w) {
cout << ... | #include <algorithm>
#include <cmath>
#include <functional>
#include <iostream>
#include <map>
#include <vector>
#define reps(i, s, n) for (int(i) = (s); (i) < (n); (i)++)
#define rep(i, n) reps(i, 0, n)
using namespace std;
using ll = long long;
int main() {
int s, w;
cin >> s >> w;
if (s > w) {
cout << "... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 87 |
import java.io.*;
import java.util.*;
public class Main {
static class Scan {
private byte[] buf = new byte[1024];
private int index;
private InputStream in;
private int total;
public Scan() { in = System.in; }
public int scan() throws IOException {
if (total < 0)
throw new Input... | import java.io.*;
import java.util.*;
public class Main {
static class Scan {
private byte[] buf = new byte[1024];
private int index;
private InputStream in;
private int total;
public Scan() { in = System.in; }
public int scan() throws IOException {
if (total < 0)
throw new Input... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 47], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 20]] | 3 | 588 |
nums = input()
S = int(nums.split(' ')[0])
W = int(nums.split(' ')[1])
if W >= S:
print(unsafe)
else:
print('safe') | nums = input()
S = int(nums.split(' ')[0])
W = int(nums.split(' ')[1])
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 | 54 |
#include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
using namespace std;
#define int long long
#define ff first
#define ss second
#define loop(i, k, n) for (int i = k; i < n; ++i)
#define rloop(i, n, k) for (int i = n; i >= k; i--)
#define vi vector<int>
#define vvi vector<vector<int>>
#define v... | #include <bits/stdc++.h>
#include <unordered_map>
#include <unordered_set>
using namespace std;
#define int long long
#define ff first
#define ss second
#define loop(i, k, n) for (int i = k; i < n; ++i)
#define rloop(i, n, k) for (int i = n; i >= k; i--)
#define vi vector<int>
#define vvi vector<vector<int>>
#define v... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18]] | 1 | 343 |
#pragma GCC optimize(2)
#include <bits/stdc++.h>
#define MIN -10000000
#define MAX 10000000
#define debug printf("%d", __LINE__)
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a < b)
cout << "unsafe";
else
cout << "safe";
return 0;
}
| #pragma GCC optimize(2)
#include <bits/stdc++.h>
#define MIN -10000000
#define MAX 10000000
#define debug printf("%d", __LINE__)
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a <= b)
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 | 56 |
#include <bits/stdc++.h>
using namespace std;
int main() {
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() {
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 | 45 |
///////////////////////////////////////////
// //
// Gagan_Sharma : DTU //
// //
///////////////////////////////////////////
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hp... | ///////////////////////////////////////////
// //
// Gagan_Sharma : DTU //
// //
///////////////////////////////////////////
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hp... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 303 |
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define db(x) cerr << __LINE__ << ": " << #x << " = " << (x) << '\n'
const int N = 1e6;
int main() {
ios_base::sync_with_stdio(0);
int a, b, n, T, cas = 0;
cin >> a >> b;
if (a < b)
cout << "safe\n";
else
cout << "unsafe\n";
return... | #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
#define db(x) cerr << __LINE__ << ": " << #x << " = " << (x) << '\n'
const int N = 1e6;
int main() {
ios_base::sync_with_stdio(0);
int a, b, n, T, cas = 0;
cin >> a >> b;
if (a > b)
cout << "safe\n";
else
cout << "unsafe\n";
return... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 81 |
#include <algorithm> //sort,二分探索,など
#include <bitset> //固定長bit集合
#include <cmath> //pow,logなど
#include <complex> //複素数
#include <deque> //両端アクセスのキュー
#include <functional> //sortのgreater
#include <iomanip> //setprecision(浮動小数点の出力の誤差)
#include <iostream> //入出力
#include <map>... | #include <algorithm> //sort,二分探索,など
#include <bitset> //固定長bit集合
#include <cmath> //pow,logなど
#include <complex> //複素数
#include <deque> //両端アクセスのキュー
#include <functional> //sortのgreater
#include <iomanip> //setprecision(浮動小数点の出力の誤差)
#include <iostream> //入出力
#include <map>... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 18], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 19]] | 1 | 114 |
#include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using ll = long long;
using namespace std;
constexpr int MOD = 1e9 + 7;
constexpr ll ... | #include <algorithm>
#include <bitset>
#include <climits>
#include <cmath>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <utility>
#include <vector>
using ll = long long;
using namespace std;
constexpr int MOD = 1e9 + 7;
constexpr ll ... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 101 |
/*
author: blue_matrix
*/
#include <bits/stdc++.h>
using namespace std;
#define n_l '\n'
#define dbg(...) \
cout << "[" << #__VA_ARGS__ << "]: "; \
cout << to_string(__VA_ARGS__) << endl
template <typename T, s... | /*
author: blue_matrix
*/
#include <bits/stdc++.h>
using namespace std;
#define n_l '\n'
#define dbg(...) \
cout << "[" << #__VA_ARGS__ << "]: "; \
cout << to_string(__VA_ARGS__) << endl
template <typename T, s... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47], ["-", 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 | 734 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int s = sc.nextInt(), w = sc.nextInt();
System.out.println(2 * w >= s ? "unsafe" : "safe");
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int s = sc.nextInt(), w = sc.nextInt();
System.out.println(w >= s ? "unsafe" : "safe");
}
}
| [["-", 3, 4, 0, 510, 15, 16, 31, 16, 31, 499], ["-", 3, 4, 0, 510, 15, 16, 31, 16, 17, 48]] | 3 | 73 |
s,w = map(int,input().split())
if(w >= s/2):
print('unsafe')
else:
print('safe')
| s,w = map(int,input().split())
if(w >= s):
print('unsafe')
else:
print('safe')
| [["-", 0, 57, 15, 23, 0, 666, 0, 657, 17, 85], ["-", 0, 57, 15, 23, 0, 666, 0, 657, 12, 612]] | 5 | 39 |
a = input().split()
s=int(a[0])
w=int(a[1])
if s >=w:
print("safe")
else:
print("unsafe") | a = input().split()
s=int(a[0])
w=int(a[1])
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 | 46 |
#include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstdint>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#define rep(i, n) for (int i = 0; ... | #include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstdint>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#define rep(i, n) for (int i = 0; ... | [["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 18], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 47], ["-", 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 | 96 |
#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
#define COUT(x) cout << (x) << endl
#define dump(x) cout << #x << " = " << (x) << endl;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;
using M = map<int, int>;
using PQ = priority_queue<int>;
... | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; i++)
#define COUT(x) cout << (x) << endl
#define dump(x) cout << #x << " = " << (x) << endl;
using ll = long long;
using P = pair<int, int>;
using Graph = vector<vector<int>>;
using M = map<int, int>;
using PQ = priority_queue<int>;
... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 48], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 152 |
#include <bits/stdc++.h>
using namespace std;
void solve() {
int S, W;
cin >> S >> W;
cout << (S < W ? "unsafe" : "safe") << endl;
}
int main() {
solve();
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
void solve() {
int S, W;
cin >> S >> W;
cout << (S <= W ? "unsafe" : "safe") << endl;
}
int main() {
solve();
return 0;
}
| [["-", 31, 16, 12, 23, 0, 41, 15, 16, 17, 18], ["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 19]] | 1 | 54 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long s, w;
cin >> s;
if (w >= s)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
long s, w;
cin >> s >> w;
if (w >= s)
cout << "unsafe" << endl;
else
cout << "safe" << endl;
} | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22]] | 1 | 44 |
#define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
//マクロ
#define REP(i, n) for (int i = 0; i < (int)(n); ++i)
#define REPS(i, n) for (int i = 1; i <= (int)(n); ++i)... | #define _USE_MATH_DEFINES
#include <algorithm>
#include <cmath>
#include <deque>
#include <functional>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
//マクロ
#define REP(i, n) for (int i = 0; i < (int)(n); ++i)
#define REPS(i, n) for (int i = 1; i <= (int)(n); ++i)... | [["-", 0, 41, 75, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 41, 75, 2, 3, 4, 0, 5, 0, 6]] | 1 | 291 |
// #include <bits/stdc++.h>
#include <iostream>
#include <vector>
#define rep(i, s, n) for (int i = s; i < n; ++i)
#define drep(i, s, n) for (int i = n; i >= s; --i)
#define all(x) (x).begin(), (x).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define print(x) cout << (x) << endl
using namespace std;
typedef long long... | // #include <bits/stdc++.h>
#include <iostream>
#include <vector>
#define rep(i, s, n) for (int i = s; i < n; ++i)
#define drep(i, s, n) for (int i = n; i >= s; --i)
#define all(x) (x).begin(), (x).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define print(x) cout << (x) << endl
using namespace std;
typedef long long... | [["-", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22], ["+", 8, 9, 0, 1, 0, 16, 31, 16, 12, 22]] | 1 | 361 |
#include <iostream>
using namespace std;
int main() {
int n, m;
cin >> n >> m;
if (n > m) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n, m;
cin >> n >> m;
if (n > m) {
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 | 53 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int l, x;
cin >> l >> x;
if (l >= x)
cout << "safe" << endl;
else
cout << "unsafe" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int l, x;
cin >> l >> x;
if (l > x)
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]] | 1 | 54 |
import sys,math,copy,queue,itertools,bisect,collections
sys.setrecursionlimit(10**7)
LI = lambda : [int(x) for x in sys.stdin.readline().split()]
_LI = lambda : [int(x)-1 for x in sys.stdin.readline().split()]
NI = lambda : int(sys.stdin.readline())
INF = 10**18
MOD = 10**9 + 7
DD = ((1,0),(0,1),(-1,0),(0,-1))
S,W = L... | import sys,math,copy,queue,itertools,bisect,collections
sys.setrecursionlimit(10**7)
LI = lambda : [int(x) for x in sys.stdin.readline().split()]
_LI = lambda : [int(x)-1 for x in sys.stdin.readline().split()]
NI = lambda : int(sys.stdin.readline())
INF = 10**18
MOD = 10**9 + 7
DD = ((1,0),(0,1),(-1,0),(0,-1))
S,W = L... | [["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 48], ["-", 0, 656, 0, 57, 15, 666, 0, 657, 12, 612]] | 5 | 155 |
package main
import (
"bufio"
"container/heap"
"fmt"
"math"
"os"
"strconv"
)
const (
initialBufSize = 10000
maxBufSize = 1000000
mod = 1e9 + 7
)
var (
sc *bufio.Scanner = func() *bufio.Scanner {
sc := bufio.NewScanner(os.Stdin)
buf := make([]byte, initialBufSize)
sc.Buffer(buf, maxBufS... | package main
import (
"bufio"
"container/heap"
"fmt"
"math"
"os"
"strconv"
)
const (
initialBufSize = 10000
maxBufSize = 1000000
mod = 1e9 + 7
)
var (
sc *bufio.Scanner = func() *bufio.Scanner {
sc := bufio.NewScanner(os.Stdin)
buf := make([]byte, initialBufSize)
sc.Buffer(buf, maxBufS... | [["-", 36, 36, 0, 434, 0, 435, 8, 196, 0, 165], ["+", 36, 36, 0, 434, 0, 435, 8, 196, 0, 165], ["-", 0, 435, 8, 196, 0, 57, 15, 16, 17, 18], ["+", 0, 435, 8, 196, 0, 57, 15, 16, 17, 47]] | 7 | 1,935 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pi 2 * acos(0.0)
#define mod 1000000007
#define fast \
{ \
ios_base::sync_with_stdio(false)... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pi 2 * acos(0.0)
#define mod 1000000007
#define fast \
{ \
ios_base::sync_with_stdio(false)... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 169 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int n, m;
cin >> n >> m;
if (n < m) {
cout << "unsafe" << endl;
} else {
cout << "safe" << endl;
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int n, m;
cin >> n >> m;
if (n <= m) {
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 | 58 |
lists = list(map(int, input().split())) #1行の入力をi[0],i[1]というように空白で分けてを取得し、iに値を入れる
if lists[0] <= lists[1]:
print("unsate")
else:
print('safe') | lists = list(map(int, input().split())) #1行の入力をi[0],i[1]というように空白で分けてを取得し、iに値を入れる
if lists[0] <= lists[1]:
print("unsafe")
else:
print('safe') | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 43 |
package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func out(x ...interface{}) {
fmt.Println(x...)
}
var sc = bufio.NewScanner(os.Stdin)
func getInt() int {
sc.Scan()
i, e := strconv.Atoi(sc.Text())
if e != nil {
panic(e)
}
return i
}
func getString() string {
sc.Scan()
return sc.Text()
}
// min, m... | package main
import (
"bufio"
"fmt"
"os"
"strconv"
)
func out(x ...interface{}) {
fmt.Println(x...)
}
var sc = bufio.NewScanner(os.Stdin)
func getInt() int {
sc.Scan()
i, e := strconv.Atoi(sc.Text())
if e != nil {
panic(e)
}
return i
}
func getString() string {
sc.Scan()
return sc.Text()
}
// min, m... | [["-", 8, 196, 0, 57, 15, 16, 31, 16, 31, 433], ["-", 8, 196, 0, 57, 15, 16, 31, 16, 17, 48]] | 7 | 291 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep2(i, x, n) for (int i = x; i <= n; i++)
#define rep3(i, x, n) for (int i = x; i >= n; i--)
#define elif else if
#define sp(x) fixed << setprecision(x)
#define pb(x) push_back(x)
#define all(x) x.begin(), x.end()
using... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
#define rep2(i, x, n) for (int i = x; i <= n; i++)
#define rep3(i, x, n) for (int i = x; i >= n; i--)
#define elif else if
#define sp(x) fixed << setprecision(x)
#define pb(x) push_back(x)
#define all(x) x.begin(), x.end()
using... | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 174 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
#define INF LONG_MAX
#define MOD 1000000007
#define rng(a) a.begin(), a.end()
#define rrng(a) a.end(), a.begin()
#define endl "\n"
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
... | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
#define INF LONG_MAX
#define MOD 1000000007
#define rng(a) a.begin(), a.end()
#define rrng(a) a.end(), a.begin()
#define endl "\n"
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 85], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 109 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < (n); i++)
typedef pair<int, int> P;
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }
int main() {
ll s, w;
cin >> s >> w;
if (2 * w >= s) {
cout << "... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for (ll i = 0; i < (n); i++)
typedef pair<int, int> P;
ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
ll lcm(ll a, ll b) { return a / gcd(a, b) * b; }
int main() {
ll s, w;
cin >> s >> w;
if (w >= s) {
cout << "unsa... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 31, 13], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 48]] | 1 | 125 |
#include <bits/stdc++.h>
#define ll long long int
#define Yes cout << "Yes" << endl;
#define No cout << "No" << endl;
using namespace std;
int main() {
int a, b, c, x, y, z, n, cnt = 0;
string s;
cin >> a >> b;
if (a >= b) {
cout << "safe" << endl;
} else
cout << "unsafe" << endl;
}
| #include <bits/stdc++.h>
#define ll long long int
#define Yes cout << "Yes" << endl;
#define No cout << "No" << endl;
using namespace std;
int main() {
int a, b, c, x, y, z, n, cnt = 0;
string s;
cin >> a >> b;
if (a > b) {
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 | 74 |
#include <bits/stdc++.h>
using namespace std;
int a, b;
int main() {
cin >> a >> b;
if (a < b)
cout << "safe";
else
cout << "unsafe";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int a, b;
int main() {
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 | 45 |
// Optimisation Flags
#pragma GCC optimize("O3")
//#pragma GCC optimize("Ofast","unroll-loops","omit-frame-pointer","inline")
#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
#include <algorithm>
#include <list>
#include <map... |
// Optimisation Flags
#pragma GCC optimize("O3")
//#pragma GCC optimize("Ofast","unroll-loops","omit-frame-pointer","inline")
#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
//#include <ext/pb_ds/tree_policy.hpp>
#include <algorithm>
#include <list>
#include <map... | [["-", 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 | 286 |
s, w = map(int, input().split())
print('un'*(s>=w)+'safe') | s, w = map(int, input().split())
print('un'*(s<=w)+'safe') | [["-", 0, 657, 31, 657, 12, 23, 0, 666, 667, 20], ["+", 0, 657, 31, 657, 12, 23, 0, 666, 667, 19]] | 5 | 32 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int S, W;
cin >> S >> W;
if (S > W)
cout << "safe" << endl;
else
cout << "unsage" << endl;
} | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
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 | 52 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.