2 条题解
- 1
信息
- ID
- 30928
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 4
- 标签
- (无)
- 递交数
- 75
- 已通过
- 32
- 上传者
#include <bits/stdc++.h> using namespace std;
int main() { int n; cin >> n; if (n%3==0) { cout << "YES"; } else { cout << "NO"; } return 0; }
这个是错的,对的是 #include <bits/stdc++.h> using namespace std;
int main() { int n; cin >> n; if (n%30&&n%50) { cout << "YES"; } else { cout << "NO"; } return 0; }