闲逛的时候发现了一个很好玩的程序 摘自:https://blog.csdn.net/u012837895/article/details/20849967#comments 效果如下 #include <windows.h> #define ID_TIMER 1 #define STRMAXLEN ...
分类:
编程语言 时间:
2020-05-06 12:21:19
阅读次数:
194
#define EVENTBIT_0 (1<<0) //ʼþλ#define EVENTBIT_1 (1<<1)#define EVENTBIT_2 (1<<2)#define EVENTBIT_ALL (EVENTBIT_0|EVENTBIT_1|EVENTBIT_2) 1.创建事件组 Ev ...
分类:
其他好文 时间:
2020-05-06 12:01:50
阅读次数:
56
拉马努金连分数参考:这里 Here is a famous problem posed by Ramanujan > Show that $$\left(1 + \frac{1}{1\cdot 3} + \frac{1}{1\cdot 3\cdot 5} + \cdots\right) + \lef ...
分类:
其他好文 时间:
2020-05-06 01:12:32
阅读次数:
199
items.py部分 import scrapy class App01Item(scrapy.Item): define the fields for your item here like: name = scrapy.Field() original_url = scrapy.Field() ...
分类:
其他好文 时间:
2020-05-05 23:33:05
阅读次数:
56
计算机网络的拓扑结构是引用拓扑学中研究与大小,形状无关的点、线关系的方法。把网络中的计算机和通信设备抽象为一个点,把传输介质抽象为一条线,由点和线组成的几何图形就是计算机网络的拓扑结构。网络的拓扑结构反映出网中各实体的结构关系,是建设计算机网络的第一步,是实现各种网络协议的基础,它对网络的性能,系统 ...
分类:
Web程序 时间:
2020-05-05 23:14:18
阅读次数:
101
自定义模版 减少开发时间 点击Define OK 输入flask_model 回车 自定生成模版 模版具体内容可在Template text:内编辑 ...
分类:
其他好文 时间:
2020-05-05 10:54:06
阅读次数:
38
Tunnel Warfare HDU - 1540 During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Plai ...
分类:
其他好文 时间:
2020-05-05 01:04:25
阅读次数:
78
``` #include #define ll long long using namespace std; const int N=1005; const int M=10005; int n,m,a[N],b[N],c[N]; int dp[N][M];//dp[i,j]从前i个中拿,体积为j的... ...
分类:
其他好文 时间:
2020-05-04 21:35:19
阅读次数:
52
程序清单10.1+10.2+10.3 头文件stock00.h 1 //stock00.h 2 #ifndef STOCK00_H_ //如果没有定义STOCK00_H_ 3 #define STOCK00_H_ //那么就定义STOCK00_H_ 4 5 #include<string> 6 us ...
分类:
编程语言 时间:
2020-05-04 19:47:53
阅读次数:
75
#include<iostream> #include<cstdio> #include<algorithm> #include<vector> #include<cmath> #define alpha (0.75) using namespace std; const int N = 6e5 + ...
分类:
其他好文 时间:
2020-05-04 17:23:34
阅读次数:
49