UVA 10071 Solution

#include<stdio.h>
int main()
{
    int v, t, s;
    while(scanf("%d%d", &v, &t) != EOF)
    {
        s = v * (2*t);
        printf("%d\n", s);
    }
    return 0;
}

Comments