十万分简单
查看原帖
十万分简单
1327557
jjkim楼主2025/8/3 10:19

肥肠煎蛋,所以就不注释了

#include <iostream>
using namespace std;
int main() {
    int x;
    cin >> x;
    if (x >= 0 && x < 2025) {
        cout << 2025 - x << endl;
    } else {
        cout << -1 << endl;
    }
    return 0;
}

包AC,记录

2025/8/3 10:19
加载中...