题解 | 牛妹数
牛妹数
https://www.nowcoder.com/practice/4430f088039b4286a2e265775fd4954a
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
if (n > 50 && n % 2 == 0) {
cout << "yes" << endl;
}else {
cout << "no" << endl;
}
return 0;
}
c++代码
查看25道真题和解析