olia c
這裡是我自己練習程式的小角落.........
2012年1月4日 星期三
C acm10071 Back to High School Physics
#include <stdio.h>
#include <stdlib.h>
int v,t,s;
int main()
{
while(scanf("%d %d",&v,&t)==2)
{
s =2*v*t;
printf("%d\n",s);
}
system("pause");
//return 0;
}
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言