5 条题解

  • -5
    @ 2021-12-12 9:07:30
    #include<iostream>
    #include<vector>
    using namespace std;
    int main(){
        vector<string> word_list;
        stringword;
        while(cin>>word)
            word_list.push_back(word);
        for(int i=word_list.size()-1; i>=0; i--)
            cout << word_list[i] << " ";
        return 0;
    }
    

    信息

    ID
    1093
    时间
    1000ms
    内存
    128MiB
    难度
    4
    标签
    递交数
    403
    已通过
    183
    上传者