16 条题解

  • 0
    @ 2023-3-19 21:31:23

    #include <stdio.h> #include using namespace std; int main() { int n; 0 <= n <= 25; cin >> n; if (n>=0 && n<=3) { cout<<"infant"; } else if (n>=4 && n<=12) { cout<<"child";

    }
    else if (n>=13 && n<=18)
    {
    	cout<<"youngster";
    }
    else if (n>=19 && n<=25)
    {
    	cout<<"youth";
    }
    

    }

    信息

    ID
    885
    时间
    1000ms
    内存
    128MiB
    难度
    2
    标签
    递交数
    539
    已通过
    339
    上传者