acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • tj

    #include<bits/stdc++.h> using namespace std; int main() { string s = "abcdefghijklmnopqrstuvwxyz"; string s2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; string a; cin>>a; for(int i = a.size()-1;i>=0;i--) { if(a[i]>='a') cout<<s2[(a[i]-'a'+3)%26]; else cout<<s[(a[i]-'A'+3)%26]; } }

    userId_undefined

    有事找大号

    16阅读
    0回复
    0点赞
  • tj

    #include<bits/stdc++.h> using namespace std; int main() { string s = "abcdefghijklmnopqrstuvwxyz"; string s2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; string a; cin>>a; for(int i = a.size()-1;i>=0;i--) { if(a[i]>='a') cout<<s2[(a[i]-'a'+3)%26]; else cout<<s[(a[i]-'A'+3)%26]; } }

    userId_undefined

    AAA秋褲批發lexora_哥

    小有名气题解仙人时空双修者秩序白银传道者
    1阅读
    0回复
    1点赞
  • 题解

    userId_undefined

    240637 刘晓彤

    4阅读
    0回复
    0点赞
首页