Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67358 刘轻松 11加密规则 C++ Accepted 1 MS 268 KB 373 2024-03-16 14:17:32

Tests(10/10):


Code:

#include<bits/stdc++.h> //万能头文件 #include<cmath> using namespace std; int main(){ int a,b,c,d,e,f; scanf("%1d%1d%1d%1d%1d%1d",&a,&b,&c,&d,&e,&f); cout<<char(a+'A'); c = a+b+c; f = c+d+e+f; if(b%2==0){ b = b/2; } cout<<b; cout<<c%10; cout<<d; e = e+'l'+'e'; e = e/10%10; cout<<e; cout<<f%10; }