上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页
摘要: PS:前几天看见一个全自动要饭系统的网站。看来有趣,希望自己写一个。于是开始Copy。。。 原网站:https://pay.biezhi.me/ 写了下。发现自己后端不知道怎么写。原网页应该是是用Bootstrap3+layer写的前端,对于支付没什么了解实在不知道从何下手,留个坑给自己吧。 阅读全文
posted @ 2018-10-17 19:32 Posase 阅读(966) 评论(0) 推荐(0) 编辑
摘要: 学生信息管理系统 写在前面 此项目年久失修,遇到问题 点我 (联系我也可以,假如我会的话) 已知问题 如何添加进IDEA:自行添加相关配置文件即可 相关配置 Tomcat9 Mysql8 Chrome 任意文本编辑器 设计 ER图 图 1 - 不专业的ER图 数据库相关 按照上图所示,设计对应的表即 阅读全文
posted @ 2018-08-20 16:23 Posase 阅读(10714) 评论(5) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 int a[205];//a[i]表示体重为i的人的个数 4 int main(){ 5 int s,w,n,x; 6 scanf("%d",&s); 7 while(s--){ 8 scanf("%d%d",&w,&n); 9 for(int i = 0; i < n;... 阅读全文
posted @ 2018-04-17 17:20 Posase 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 char s[105]; 6 int main(){ 7 bool is_native; 8 int len, point, endline; 9 while(~scanf("%[^\n]",s)){ 10 getch... 阅读全文
posted @ 2018-04-17 09:47 Posase 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #define Len head->data 3 using namespace std; 4 template 5 struct node{//带一个指针的结点(可做前驱指针或后继指针) 6 T data; 7 node *point; 8 node(T x = 0):data(x),point(0){} ... 阅读全文
posted @ 2018-02-20 12:47 Posase 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 各类排序模板 内部排序 内部排序是指待排序列完全存放在内存中所进行的排序过程,适合不太大的元素序列。 排序是计算机程序设计中的一种重要操作,其功能是对一个数据元素集合或序列重新排列成一个按数据元素某个相知有序的序列。排序分为两类:内排序和外排序。 其中快速排序的是目前排序方法中被认为是最好的方法。 阅读全文
posted @ 2018-01-14 12:48 Posase 阅读(398) 评论(0) 推荐(0) 编辑
摘要: gets()的替代方法 1.<iostream>中getline (char* s, streamsize n) 2.scanf("%[^\n]",s); 阅读全文
posted @ 2017-12-12 11:58 Posase 阅读(495) 评论(0) 推荐(0) 编辑
摘要: RMQ问题:求长度为n的数列中,求[i,j]直接的最值。 ST算法:一种动态规划的方法。 一、预处理dp数组 对于区间[i,i+2^j-1]的最值,只需要知道区间[i,i+2^(j-1)-1]和区间[i+2^(j-1),i+2^j-1]的最值即可。 由此可的递推方程:dp[i,i+2^j-1] = 阅读全文
posted @ 2017-10-19 09:38 Posase 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 内联函数: 以下情况不宜使用内联:(1)如果函数体内的代码比较长,使用内联将导致内存消耗代价较高。(2)如果函数体内出现循环,那么执行函数体内代码的时间要比函数调用的开销大。 阅读全文
posted @ 2017-09-19 09:03 Posase 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1.栈 1 #include <cstdio> 2 #include <iostream> 3 using namespace std; 4 const int stack_size = 10; 5 const int ex_size = 1; 6 typedef struct{ 7 int *ba 阅读全文
posted @ 2017-09-18 17:45 Posase 阅读(259) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 30 下一页