Run ID:67363

提交时间:2024-03-16 14:26:33

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