13 条题解

  • 1
    @ 2025-5-30 22:31:53

    #include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; n<25; 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
    865
    时间
    1000ms
    内存
    128MiB
    难度
    4
    标签
    递交数
    867
    已通过
    419
    上传者