Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8200 | 邓小龙 | 11加密规则 | C++ | Accepted | 0 MS | 264 KB | 325 | 2025-06-14 21:01:07 |
#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'); cout<<t1; cout<<t2; cout<<d<<(('l'+'e'+e)/10%10)<<(a+b+c+d+e+f)%10; return 0; }