Pages

Sunday 11 November 2012

UVA - 10071 - Back to High School Physics (C solution)

#include <stdio.h>

int main(){
    int v,t;
   while(scanf("%d %d",&v,&t)==2){
       printf("%d\n",2*v*t);
    }
    return 0;
}

No comments:

Post a Comment