UVA 10071 Back to High School Physics

#include <cstdio>

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

你可能感兴趣的:(UVA 10071 Back to High School Physics)