Run ID:6353
提交时间:2025-02-15 10:41:26
#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 a,b,c,d,e,f; //第一个 scanf("%1d%1d%1d%1d%1d%1d",&a,&b,&c,&d,&e,&f); cout<<char('A'+a); //第二个 if(b%2==0){ cout<<b/2;} else{ cout<<b;} //第三个 cout<<(a+b+c)%10; //第四个 cout<<d; //第五个 cout<<('l'+'e'+e)/10%10; //第六个 cout<<(a+b+c+d+e+f)%10; return 0; }