版本比较
题解:B4563 [山东省小学组体验营 2026] 星际密信
正文
增加 8 行删除 8 行
18 行未改动192021222324252623242526272829303128293031323334358 行未改动18 行未改动int n,k,a;string s;const int mod=26;int main(){不 ios::sync_with_stdio(false);要 cin.tie(nullptr);复 cout.tie(nullptr);制 cin>>n>>k; ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); cin>>n>>k; cin>>s;抵 a=k%26;制 if(a<0){作 a+=26;弊 } a=k%26; if(a<0){ a+=26; } for(char c:s){ if(c>='0'&&c<='9'){ cout<<c; }else{8 行未改动