Run ID:159140
提交时间:2026-08-26 09:23:37
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int q,w1,w2,w3,w4,w5,w6,h; cin>>q; w1=q/100000; w2=q/10000%10; w3=q/1000%10; w4=q/100%10; w5=q/10%10; w6=q%10; w6=w1+w2+w3+w4+w5+w6; w3=(w1+w2+w3)%10; cout<<char(65+w1); if(w2%2==0){ w2/=2; } cout<<w2<<w3<<w4; cout<<int('l'+'e'+w5)/10%10; cout<<w6%10; return 0; }