# Zero judge a065: 提款卡密碼 ```C++= #include <iostream> using namespace std; int main() { char P, O, K, E, M, I, N;//輸入字元順序 cin >> P >> O >> K >> E >> M >> I >> N;//給值 cout << abs(O - P) << abs(K - O) << abs(E - K) << abs(M - E) << abs(I - M) << abs(N - I) << endl;//少分號 (i+1)-i位置 return 0; } ``` ###### tags: `Zero judge`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up