Posted on 2009-03-13 21:03
Hero 阅读(89)
评论(0) 编辑 收藏 引用 所属分类:
代码如诗--ACM
1 //1133 Accepted 0 76 216 C++
2 #include <stdio.h>
3 #include <stdlib.h>
4 #include <string.h>
5
6 int main()
7 {
8 int inn, inm, ink ;
9 while( scanf( "%d %d %d", &inn, &inm, &ink ) != EOF )
10 {
11 printf( "%d\n", (inn+inm)*ink ) ;
12 }
13 return 0 ;
14 }