#include <bits/stdc++.h>
void solve() {
char c = getchar();
if (c == '.') return;
solve();
std::cout << c;
solve();
}
signed main() {
solve();
std::cout << "\n";
return 0;
}
标签:std,return,cout,void,拓展,char,solve,先序,3078
来源: https://www.cnblogs.com/dolphinchan/p/16369404.html