1 solutions

  • 0
    @ 2025-11-29 12:35:42

    C :

    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    int main()
    {
        
        int w,h;
        float x;
        scanf("%d,%d",&w,&h);
        printf("weight=%d\n",w*2);
        x=h/100.0;
        printf("height=%.2f\n",x);
        printf("t=%.2f\n",w/x/x);
        return 0;
    }
    
    • 1

    Information

    ID
    83
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By