夢追い人

"It takes a dreamer to make a dream come true."―Vincent Willem van Gogh

2011-09-03から1日間の記事一覧

昨日ペアプロ練でやったやつ

0173 #include <cstdio> #include <iostream> using namespace std; int main() { string c; int am, pm; while (cin >> c) { scanf("%d%d",&am,&pm); int resp = am + pm; int price = am * 200 + pm * 300; cout << c; printf(" %d %d\n", resp, price); } } 0174 #include <iostream> </iostream></iostream></cstdio>…