Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8201 | 刘逸杭 | 11加密规则 | C++ | Accepted | 0 MS | 264 KB | 292 | 2025-06-14 21:02:01 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f,t1,t2; scanf("%1d%1d%1d%1d%1d%1d",&a,&b,&c,&d,&e,&f); if(b%2==0) t1=b/2; else t1=b; t2=(a+b+c)%10; cout<<(char)(a+'A')<<t1<<t2<<d<<(('l'+'e'+e)/10%10)<<(a+b+c+d+e+f)%10; return 0; }