- 博客(7)
- 收藏
- 关注
原创 大数开方 ACM-ICPC 2018 焦作赛区网络预赛 J. Participate in E-sports
Jessie and Justin want to participate in e-sports. E-sports contain many games, but they don’t know which one to choose, so they use a way to make decisions.They have several boxes of candies, and t...
2018-09-15 19:50:42
332
转载 ngnix+uWSGI实现python CGI编程
Nginx是一个开源的web服务器,它能够很好地处理高负载的web任务。Nginx在处理静态文件,比如图片、html文档,要比Apache服务器快的多。和Apache不一样,Nginx本身并没有提供对CGI脚本的内部支持,所以需要其他的应用加以辅助。作为Nginx的辅助应用,uWSGI是一个不错的选择。uWSGI是一个快速发展的项目,它拥有众多的插件供你原则,当然,CGI也是其中之一。插件化的...
2018-09-05 17:10:23
355
原创 python
for for和else的使用,当for正常的走完不是因为break走完时会执行else否则不会执行elsefor n in range(2,10): for x in range(2,n): if n % x == 0: print n,'equals',x,'*',n/x break else: ...
2018-08-27 14:12:09
240
转载 unity update 和FixedUpdate()
先说下Unity3d脚步中常用的两个方法:Update():每帧被调用一次FixedUpdate():每隔Time.fixedDeltaTime被调用一次。Time.fixedDeltaTime默认是0.02s,可以通过Edit->ProjectSettings->Time来设置对游戏有了解的都知道,因为受场景渲染的复杂程度,还有输入的一系列事件等等各种原因影响,游...
2018-08-27 10:03:18
17820
原创 poj2987 求最大权闭合回路
建图差不多和以前做的差不多,就是最后询问这个闭合子图有多少个的时候,只要输出这个图的S集合,就是进行dfs能遍历到的点一定在S集合中,不能遍历到的点在T集合中#include <iostream>#include <algorithm>#include <string.h>#include <cstdio>#include <...
2018-08-23 10:11:20
249
原创 OpenGL
纹理教程 着色器类#include <glad/glad.h>#include <GLFW/glfw3.h>#include <iostream>#include <filesystem>#include "learnopengl/shader_s.h" //shader类#include "learnopengl/stb_ima...
2018-06-01 19:38:39
623
原创 欢迎使用优快云-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2017-07-26 09:02:40
277
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人