感觉这道难度不应该两星


#include<stdio.h>
#include<string.h>
int main(){
    char str[10000];
    gets(str);
     puts(str);
    return 0;
}

全部评论
#include<bits/stdc++.h> using namespace std; int main(){     string s;     getline(cin,s);     cout<<s;     return 0; }
1 回复
分享
发布于 2020-05-07 20:24
可能是因为char是固定内存的
点赞 回复
分享
发布于 2020-02-26 15:16
阿里巴巴
校招火热招聘中
官网直投

相关推荐

点赞 收藏 评论
分享
牛客网
牛客企业服务