mirror of
https://github.com/wczffl-503/OI-Codes.git
synced 2025-05-10 16:20:27 +08:00
20 lines
226 B
C++
20 lines
226 B
C++
#include <iostream>
|
|
using namespace std;
|
|
|
|
int main()
|
|
{
|
|
string str;
|
|
string inpt;
|
|
while(true)
|
|
{
|
|
cin >> inpt ;
|
|
if(inpt == ".")
|
|
{
|
|
break;
|
|
}
|
|
inpt.append(1, ' ');
|
|
str.insert(0, inpt);
|
|
}
|
|
cout << str ;
|
|
return 0;
|
|
} |