Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
8181 赖梓乐 11加密规则 C++ Wrong Answer 0 MS 268 KB 528 2025-06-14 20:45:36

Tests(0/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,s,d,f,g,h,z; scanf("%1d%1d%1d%1d%1d%1d",&a,&s,&d,&f,&g,&h); char q='l',w='e'; s=z; if(s%2==0) s=s/2; d=(a+z+d)%10; d=d%10; h=a+s+d+f+g+h; g=(101+108+g)/10%10; cout<<char(a+'a')<<s<<d<<f<<g<<h; return 0; }


Run Info:

------Input------
119519
------Answer-----
B11516
------Your output-----
b005116