Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
8190 刘逸杭 11加密规则 C++ Wrong Answer 0 MS 256 KB 294 2025-06-14 20:54:24

Tests(0/10):


Code:

#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; t1/=2;} t2=c; 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; }


Run Info:

------Input------
119519
------Answer-----
B11516
------Your output-----
B45673441516