1 条题解

  • 0
    @ 2026-7-4 17:32:35
    #include <iostream>
    using namespace std;
    
    int main() {
    	int a;
    	cin >> a;
    	if (a == 1) {
    		cout << "swim";
    	} else if (a == 3) {
    		cout << "program";
    	} else if (a == 5) {
    		cout << "read";
    	} else if (a == 6) {
    		cout << "math";
    	} else {
    		cout << "rest";
    	}
    	return 0;
    }
    
    
    
    • 1

    信息

    ID
    30624
    时间
    1000ms
    内存
    256MiB
    难度
    7
    标签
    递交数
    13
    已通过
    9
    上传者