2006-04-21から1日間の記事一覧

#146 http://acm.uva.es/p/v1/146.html

UVa

STLで文字列を逆順にするのってどうするんだろうなぁ。

#145 http://acm.uva.es/p/v1/145.html

UVa

小数点以下を2桁に揃えて出力するには、 #include <iostream> #include <iomanip> using namespace std; ... cout << setiosflags(ios::fixed) << setprecision(2) << x;とやる。</iomanip></iostream>

#144 http://acm.uva.es/p/v1/144.html

UVa

こんなコード書いてたんじゃ使いものにならないなぁと思いつつ。