1 条题解

  • 0
    @ 2026-9-17 16:40:44
    #include <bits/stdc++.h>
    using namespace std;
    
    int main() {
    	int a;
    	cin >> a ;
    	if (a < 151) {
    		cout << "S";
    	} else if (a <= 160) {
    		cout << "M";
    	} else if (a <= 170) {
    		cout << "L";
    	} else if (a <= 180) {
    		cout << "XL";
    	} else {
    		cout << "XXL";
    	}
    	return 0;
    }
    
    • 1

    信息

    ID
    140
    时间
    1000ms
    内存
    64MiB
    难度
    3
    标签
    递交数
    135
    已通过
    77
    上传者