Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6352 詹梓涵 11加密规则 C++ Wrong Answer 0 MS 264 KB 612 2025-02-15 10:38:31

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,b,c,d,e,f; //第一个 scanf("%1d%1d%1d%1d%1d%1d",&a,&b,&c,&d,&e,&f); cout<<char('A'+a); //第二个 if(b%2==0){ cout<<b/2;} else{ cout<<b;} //第三个 cout<<(a+b+c)%10; //第四个 cout<<d; //第五个 ('l'+'e'+e)/10%10; //第六个 cout<<(a+b+c+d+e+f)%10; return 0; }


Run Info:

------Input------
119519
------Answer-----
B11516
------Your output-----
B1156