sdut 3567 Memory Leak 模拟

题意:c++ 模拟c++的输入,若是输入的字符串大于声明的空间就会寻找下一个字符串直到找到'\0'git 坑点:gets name 的第一个空格后都是输入的内容oop ACcode:spa #include <bits/stdc++.h> using namespace std; #define maxn 11111 string name[maxn]; int len1[maxn],len2[m
相关文章
相关标签/搜索