| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74996 | 欧阳槊远 | 11加密规则 | C++ | Wrong Answer | 0 MS | 264 KB | 305 | 2024-05-26 14:24:19 |
#include<iostream> 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; cout<<d; cout<<(int('l'+'e')+10+e)/10%10-1; cout<<(a+b+c+d+e+f)%10; return 0; }
------Input------
119519
------Answer-----
B11516
------Your output-----
B111516