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 }
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 }