Run ID:74057
提交时间:2024-05-21 19:46:46
#include<iostream> using namespace std; int main() { int a,b,c,d,e,f,A,B,C,D,E,F; scanf("%d,%d,%d,%d,%d,%d" &a,&b,&c,&d,&e,&f); A=a+65; if(b%2==0){ B=b/2; }else{ B=b; } C=(a+b+c)%10; D=d; E=(69+74+e)%100/10; F=(a+b+c+d+e+f)%10; cout<<char(A)<<B<<C<<D<<E<<F; return 0; }