ZeroJudge & UVa Online Judge answers
#include using namespace std; #include int main() { string word; while(cin>>word) { for(int i=0;i<6;i++) { int num; num=abs( (int)word[i]-(int)word[i+1] ) ; cout< } cout< } system("pause"); return 0; }
No comments:
Post a Comment