Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145065 c13 11加密规则 C++ Accepted 0 MS 280 KB 253 2026-01-24 20:33:51

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){string s; cin>>s; int a=s[0]-'0',b=s[1]-'0',c=s[2]-'0',d=s[3]-'0',e=s[4]-'0',f=s[5]-'0'; cout<<char(a+'A')<<((b%2==0)?b/2:b)<<(a+b+c)%10<<d<<('l'+'e'+e)%100/10<<(a+b+c+d+e+f)%10; return 0; }