10071
#include<stdio.h> int main(){ int v, t, s = 0; while( scanf("%d %d", &v, &t) != EOF ){ s = v * (2 * t); printf("%d\n", s); } return 0; } /* velocity = displacement/time displacement = velocity * (2 * time) */ /* 0 0 5 12 */
Last updated 9 months ago