2 条题解

  • 1
    @ 2026-7-6 20:06:26
    #include <bits/stdc++.h>
    using namespace std;
    
    int main() {
    	int a;
    	cin >> a;
    	if (a < 10) {
    		if (a == 1) {
    			cout << "one";
    		} else if (a == 2) {
    			cout << "two";
    		} else if (a == 3) {
    			cout << "three";
    		} else if (a == 4) {
    			cout << "four";
    		} else if (a == 5) {
    			cout << "five";
    		} else if (a == 6) {
    			cout << "six";
    		} else if (a == 7) {
    			cout << "seven";
    		} else if (a == 8) {
    			cout << "eight";
    		} else {
    			cout << "nine";
    		}
    	} else {
    		cout << "out";
    	}
    	return 0;
    }
    
    
    
    • -5
      @ 2026-6-1 13:25:12

      完了我不是英国人

      • 1

      信息

      ID
      30055
      时间
      1000ms
      内存
      256MiB
      难度
      6
      标签
      递交数
      18
      已通过
      13
      上传者