Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8183 | 赖梓乐 | 11加密规则 | C++ | Accepted | 0 MS | 272 KB | 541 | 2025-06-14 20:51:09 |
#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,s,d,f,g,h,z; scanf("%1d%1d%1d%1d%1d%1d",&a,&s,&d,&f,&g,&h); char q='l',w='e'; h=(a+s+d+f+g+h)%10; d=(a+s+d)%10; if(s%2==0) s=s/2; d=d%10; g=(101+108+g)/10%10; cout<<char(a+'A')<<s<<d<<f<<g<<h; return 0; }