Run ID:8187

提交时间:2025-06-14 20:52:46

#include<bits/stdc++.h> using namespace std; int main(){ char A; int a,b,c,d,e,f; scanf("%1d%1d%1d%1d%1d%1d",&a,&b,&c,&d,&e,&f); f=(a+b+c+d+e+f)%10; c=(a+b+c)%10; cout<<(char)(a+'A'); if(b%2==0){ b=b/2; } cout<<b; cout<<c; cout<<d; e=('l'+'e'+e)/10%10; cout<<e; cout<<f; return 0; }