题解:AT_past202309_a ツバメ

· · 题解

一道水题居然没人提交题解

只需判断是否在 4 月至 9 月之间就可以啦。 ::::success[AC代码]

#include<bits/stdc++.h>
using namespace std;
int main() {
    int m;
    cin >> m;
    if (m >= 4 && m <= 9) { // 判断是否在 4 月至 9 月
        cout << "Yes";
    } else {
        cout << "No";
    }
    return 0;
}

::::