解法一
✅ 完整代碼
評分結果(參考) : AC (3ms, 316KB)
#include <bits/stdc++.h>
using namespace std;
int main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    
    string s;
    cin >> s;
    
    for(int i=0; i<6; i++){
        cout << abs(s[i]-s[i+1]);
    }
    return 0;
}