1 solutions

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

    C :

    #include "stdio.h"
    #include "math.h"
    int main() {
        int d;
        float l;
        //printf("Input math1, English and math2:");
        scanf("%f,%d", &l, &d);
        float ll = l* pow(0.5,d);
        printf("length=%.5f\n", ll);
        return 0;
    }
    
    • 1

    Information

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