Pages

Monday, August 1, 2011

a065. 提款卡密碼


#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