【題解】AtCoder ABC 164A – Sheep and Wolves

【題目敘述】https://atcoder.jp/contests/abc164/tasks/abc164_a

#include <iostream>
using namespace std;
 
int a, b;
 
int main() {
    cin >> a >> b;
    if (a <= b) cout << "unsafe\n";
    else cout << "safe\n";
}
分享本文 Share with friends