| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 79897 | sh25_shenpy | 成绩转换 | C++ | 无测评数据 | 0 MS | 0 KB | 303 | 2026-01-04 14:50:57 |
#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; int b,c[999]; for(int i=0;i<s.size();i++){ b=int(s[i]); if(b<91){ c[i]=155-b; }else if(b>91){ c[i]=219-b; } } for(int j=0;j<s.size();j++){ cout<<(char)c[j]; } return 0; }