7 条题解

  • 5
    @ 2022-2-19 10:58:57
    #include <stdio.h>
    #include <iostream>
    #include <string.h>
    const int N = 2e5 + 10;
    using namespace std;
    int main()
    {
        string a;
        getline(cin,a);
        int len = a.size();
        for (int i = 0; i < len; i++)
        {
            if (a[i] != ' ')
            {
                cout << a[i];         
            }
            else
            {
                cout << endl;
            }
        }
    }
    

    信息

    ID
    1114
    时间
    1000ms
    内存
    256MiB
    难度
    4
    标签
    递交数
    453
    已通过
    196
    上传者