6 solutions

  • 1
    @ 2023-9-30 16:27:32
    #include <stdio.h>
    int main(){
    int n;
    scanf("%d",&n);
    switch(n){
    case 0 ... 3:
    printf("infant");
    break;
    case 4 ... 12:
    printf("child");
    break;
    case 13 ... 18:
    printf("youngster");
    break;
    case 19 ... 25:
    printf("youth");
    }
       return 0;
    }
    

    Information

    ID
    18
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    5
    Tags
    # Submissions
    7039
    Accepted
    2829
    Uploaded By