2009-09-04から1日間の記事一覧

Volume 1 / 0173->0176

パソコン甲子園2008予選 解答 Problem 0173 : Haunted House #include <iostream> #include <string> using namespace std; int main(void) { int am, pm; string className; for( int i=0; i<9; i++ ){ cin >> className >> am >> pm; cout << className << " " << am+pm << "</string></iostream>…

Volume 0 / 0036->0042

Problem 0035 : Is it Convex? パス。 Problem 0036 : A Figure on Surface 長くなっちゃった。 #include <iostream> using namespace std; int main(void) { int pat[7][4][4] = { {{0,0,0,0}, {0,1,1,0}, {0,1,1,0}, {0,0,0,0}}, {{0,1,0,0}, {0,1,0,0}, {0,1,0,0}, </iostream>…