夢追い人

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

2011-06-17から1日間の記事一覧

まともに解いてない…

0017 #include <iostream> #include <string> using namespace std; int main(){ string s, strCopy; while (getline(cin, s)) { for(int j=0 ; j<26 ; j++){ for(int i=0 ; i<s.size() ; i++){ if(s[i]>='a' && s[i]<='z'){ s[i] = (s[i]=='z')? 'a' : s[i] + 1; } } if( s.find( "the" ) != string::npo</s.size()></string></iostream>…