1 条题解

  • 1
    @ 2026-7-30 14:58:42
    
    #include <bits/stdc++.h>
    using namespace std;
    
    int main() {
    	int y, t, s;
    	cin >> y >> t >> s;
    	if (y >= 16 && y <= 19) {
    		if (t >= 50 && t <= 80) {
    			if (s >= 165 && s <= 185) {
    				cout << "Y";
    			} else {
    				cout << "N";
    			}
    		} else {
    			cout << "N";
    		}
    	} else {
    		cout << "N";
    	}
    	return 0;
    }
    
    

    信息

    ID
    30616
    时间
    1000ms
    内存
    256MiB
    难度
    9
    标签
    递交数
    8
    已通过
    6
    上传者