Run ID:67358
提交时间:2024-03-16 14:17:32
#include<bits/stdc++.h> //万能头文件 #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; }