摘要: 牛客周赛 Round 19 牛客周赛 Round 19 A. 小红的字符串大小写变换 题意: 小红拿到了一个仅由大小写字母组成的长度为n的字符串,她希望把前k个字母变成大写,后 n−k个字母变成小写,你能帮帮她吗? 代码: #include <bits/stdc++.h> using namespace std ; const 阅读全文
posted @ 2023-11-14 17:16 Beater_1117 阅读(212) 评论(0) 推荐(0)