1 条题解
#include<bits/stdc++.h> using namespace std; int main(){ int x,a,b,c,d,v; cin>>x; a=x/1000; b=x/100%10; c=x/10%10; d=x%10; v=a+b*10+c*100+d*1000; cout<<x-v; }
使用您的 Hydro 通用账户