| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 150036 | 黄俊仪 | 11加密规则 | C++ | Wrong Answer | 1 MS | 264 KB | 421 | 2026-03-21 16:51:40 |
#include <bits/stdc++.h> using namespace std; int main() { int k; cin>>k; int sw=k/100000; int w=k/10000%10; int q=k/1000%10; int b=k/100%10; int s=k/10%10; int g=k%10; if(w%2==0) { int xw=w/2; cout<<(char)(65+sw)<<xw<<sw+w+q<<b<<('l'+'e'+s)/10%10<<(sw+w+q+b+s+g)%10; return 0; } if(w%2!=0) { cout<<(char)(65+sw)<<w<<sw+w+q<<b<<('l'+'e'+s)/10%10<<(sw+w+q+b+s+g)%10; return 0; } }
------Input------
119519
------Answer-----
B11516
------Your output-----
B111516