Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86731 黄睿杰 11加密规则 C++ Wrong Answer 0 MS 268 KB 330 2024-07-27 12:05:19

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,e,f,n; cin>>n; a=n/100000; b=n/10000%10; c=n/1000%10; d=n/100%10; e=n/10%10; f=n%10; cout<<char(97+a); if(b%2==0) cout<<b/2; else cout<<b; cout<<(a+b+c)%10; cout<<d; cout<<(108+101+e)/10%10; cout<<(a+b+c+d+e+f)%10; return 0; }


Run Info:

------Input------
115209
------Answer-----
B17208
------Your output-----
b17208