Run ID:86732
提交时间:2024-07-27 12:05:54
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f,n; cin>>n; a=n/100000; b=n/10000%10; c=n/1000%10; d=n/100%10; e=n/10%10; f=n%10; cout<<char(65+a); if(b%2==0) cout<<b/2; else cout<<b; cout<<(a+b+c)%10; cout<<d; cout<<(108+101+e)/10%10; cout<<(a+b+c+d+e+f)%10; return 0; }