题解 | 单组_字符串
单组_字符串
https://www.nowcoder.com/practice/e3a57b2ff6de4aefb82af98925df544e
#include <iostream> using namespace std; int main() { int n; cin >> n; string s; cin >> s; while(n--) { cout<<s[n]; } } // 64 位输出请用 printf("%lld")
单组_字符串
https://www.nowcoder.com/practice/e3a57b2ff6de4aefb82af98925df544e
#include <iostream> using namespace std; int main() { int n; cin >> n; string s; cin >> s; while(n--) { cout<<s[n]; } } // 64 位输出请用 printf("%lld")
相关推荐