求助一道简单题,求大佬帮忙看看,总显示运行错误:请检查是否存在数组、列表等越界非法访问,内存非法访问等情况 我的代码: # include<bits/stdc++.h> using namespace std; bool cmp(int x,int y) { return x>y; } int main() { //读取字符串 int n; cin>>n; cin.get(); string str; while(getline(cin,str)) { ...