1 solutions

  • 0
    @ 2025-12-15 11:58:21

    C++ :

    #include<iostream>
    #include<fstream>
    #include<string>
    using namespace std;
    int main()
    {
    //	freopen("213.in","r",stdin);
    //	freopen("213.out","w",stdout);
    	string s,temp;
    	cin>>s;
    	while(cin>>temp)
    	{
    		s+=' '+temp;
    	}
    	cout<<s<<endl;
    	return 0;
    }
    
    
    • 1

    Information

    ID
    1045
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    3
    Tags
    # Submissions
    30
    Accepted
    19
    Uploaded By