会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
丁帅帅
Jeff
博客园
首页
新随笔
管理
上一页
1
···
10
11
12
13
14
15
16
17
18
···
32
下一页
2021年5月21日
通过配置文件访问数据库
摘要: 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html> 4 <html> 5 <head> 6 <meta charset="UTF-8"
阅读全文
posted @ 2021-05-21 23:26 丁帅帅dss
阅读(89)
评论(0)
推荐(0)
2021年5月13日
最长单调递增子序列
摘要: 1 #include<iostream> 2 #include<algorithm> 3 using namespace std; 4 int LIS(int nums[],int n) 5 { 6 int dp[n]; 7 int Max=dp[0]=1; 8 for(int i=1;i<n;++
阅读全文
posted @ 2021-05-13 23:17 丁帅帅dss
阅读(64)
评论(0)
推荐(0)
最大子段和
摘要: 1 #include<iostream> 2 #include<algorithm> 3 using namespace std; 4 int maxsum(int nums[],int n) 5 { 6 int dp[n]; 7 dp[0]=nums[0]; 8 int Max=dp[0]; 9
阅读全文
posted @ 2021-05-13 23:15 丁帅帅dss
阅读(50)
评论(0)
推荐(0)
最长公共子序列
摘要: 1 #include<iostream> 2 #include<algorithm> 3 using namespace std; 4 //递归实现 5 int lcs(int nums1[],int i,int nums2[],int j) 6 { 7 if(i==0||j==0) return
阅读全文
posted @ 2021-05-13 23:14 丁帅帅dss
阅读(51)
评论(0)
推荐(0)
0-1背包
摘要: 1 #include<iostream> 2 #include<algorithm> 3 using namespace std; 4 5 int select(int values[],int n,int weights[],int capacity) 6 { 7 int dp[n+1][capa
阅读全文
posted @ 2021-05-13 23:12 丁帅帅dss
阅读(49)
评论(0)
推荐(0)
2021年4月22日
jsp整合各设计模块
摘要: 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html> 4 <html> 5 <head> 6 <meta charset="UTF-8"
阅读全文
posted @ 2021-04-22 21:00 丁帅帅dss
阅读(89)
评论(0)
推荐(0)
2021年4月18日
修改提交表的数据并保存到数据库
摘要: 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html> 4 <html> 5 <head> 6 <meta charset="UTF-8"
阅读全文
posted @ 2021-04-18 17:20 丁帅帅dss
阅读(221)
评论(0)
推荐(0)
根据提交页面参数查询数据库中的数据
摘要: 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html> 4 <html> 5 <head> 6 <meta charset="UTF-8"
阅读全文
posted @ 2021-04-18 16:01 丁帅帅dss
阅读(142)
评论(0)
推荐(0)
更新数据库记录
摘要: 1 <%@page import="java.sql.*"%> 2 <%@ page language="java" contentType="text/html; charset=UTF-8" 3 pageEncoding="UTF-8"%> 4 <!DOCTYPE html> 5 <html>
阅读全文
posted @ 2021-04-18 15:59 丁帅帅dss
阅读(44)
评论(0)
推荐(0)
2021年4月11日
提交页面添加学生信息然后添加到数据库
摘要: 1 <%@ page language="java" contentType="text/html; charset=UTF-8" 2 pageEncoding="UTF-8"%> 3 <!DOCTYPE html> 4 <html> 5 <head> 6 <meta charset="UTF-8"
阅读全文
posted @ 2021-04-11 17:48 丁帅帅dss
阅读(243)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
32
下一页
公告