Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
65285 | 还有库库 | 凯撒密码 | C++ | Accepted | 0 MS | 248 KB | 219 | 2025-05-15 17:14:31 |
#include<bits/stdc++.h> using namespace std; int main() { string str; int n; cin>>str; cin>>n; for(int i=0;i<str.length();i++){ str[i]+=n; cout<<str[i]; } }