牛客周赛 Round 103 A
#include <bits/stdc++.h>
using namespace std;
using i64 = long long;
void solve(int task) {
int n;
cin >> n;
if (n % 10 == 0)
cout << "NO";
else
cout << "YES";
}
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int t = 1;
for (int i = 1; i <= t; i++) {
solve(i);
}
return 0;
}
#牛客创作赏金赛#
using namespace std;
using i64 = long long;
void solve(int task) {
int n;
cin >> n;
if (n % 10 == 0)
cout << "NO";
else
cout << "YES";
}
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int t = 1;
for (int i = 1; i <= t; i++) {
solve(i);
}
return 0;
}
#牛客创作赏金赛#
全部评论
相关推荐