![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错修改
showro_isme
相当数据分析师的生命科学研究生
展开
-
Vscode编写C++代码出现collect2.exe: error: ld returned 1 exit status问题的解决方案
很奇怪,运行生成任务的时候,生成了活动文件.exe文件,但是却报错了,并且没有输出(我的程序里有输出语句)。 仔细检查了代码,并无错误。 如何我把文件保存了,关闭VsCode, 然后重新打开操作,运行生成任务就成功了。 不知道为什么,难道这就是重启的魅力?...原创 2021-09-08 04:29:44 · 1487 阅读 · 0 评论 -
2021-07-15
1. 报错情况:s='12341'p=0table=set()while( p<4 and (s[p+1] not in table)): table=table.add(s[p+1]) print(table) p=p+1 #右边指针右移报错:TypeError Traceback (most recent call last) in 2 p=03 table=set()---->原创 2021-07-17 19:32:04 · 91 阅读 · 0 评论