2012-02-08から1日間の記事一覧

AOJ0041

AOJ

問題:Expression なんか数字が4つ与えられるので演算子や()をつかって値が10になる式を出力する問題. 超頭が悪い事をしてしまった.黒歴史だけど記念に掲載.あー頭わるい #include <iostream> #include <string> #include <sstream> #include <vector> #include <algorithm> #define DEBUG(a) //cerr << #a </algorithm></vector></sstream></string></iostream>…