2014-06-20から1日間の記事一覧

Codeforces Round #253 (Div. 2)

http://codeforces.com/contest/443 だめだった oo--- 1570 (-44), expert Rank: 401 A パーサの手書きもいいけどstringstreamが楽? int main(){ int n; string s; while (getline(cin,s)){ rep(i,s.size()){ if (isalpha(s[i])) continue; s[i] = ' '; } s…