- 博客(3)
- 收藏
- 关注
原创 pycharm中导入Pygame出现的部分问题及解决
我在使用《python编程从入门到实践》此书学习python中,在实践环节对于pygame的安装过程出现了部分问题,所以存在此处便于以后参考。首先去pygame官网下载对用的包。如果是.exe文件直接执行若为whl文件则使用下面命令在cmd中安装。pip install pygame-2.0.1-cp39-cp39-win_amd64.whl安装完成后若在pycharm中仍然不可用,则可能是路径问题,也可能是未导入包。对于第一种情况:打开文件夹找到如下两个文件夹,将其移到你项目所在文件
2021-01-14 10:21:12 634 1
原创 图论 -- 最短路径 dijkstra 算法模版 hdu 1874
最短路的dijkstra 算法模版 (以 hdu 1874为题目写出模版 详细解释 )代码如下:#include#include#include#include#include#includeusing namespace std;const int maxn = 505;const int inf = 0x3f3f3f3f;int n
2017-08-14 16:41:25 269
原创 poj 1700 - Crossing River
A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangement must be arranged in order to row the boat back and f
2017-08-01 19:00:36 444
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人