UVa 10071 Back to High School Physics

Back to High School Physics ....
真的很像高中物理題目...在紙上推導了一下

#include <stdio.h>
int main()
{
int v, t;
while ( scanf("%d %d", &v, &t) == 2 )
printf("%d\n", 2 * v * t );
return 0;
}
view raw 10071.cpp hosted with ❤ by GitHub

留言

這個網誌中的熱門文章

UVa 10125 Sumsets

讀書心得: 撒哈拉的故事

讀書心得: 你以為你以為的就是你以為的嗎?