05 2021 档案
摘要:<%@ page import="java.util.ArrayList" %> <%@ page import="java.util.List" %><%-- User: 丁帅帅 Date: 21/05/30 Time: 10:00 To change this template use File
阅读全文
摘要:1 <%-- 2 User: 丁帅帅 3 Date: 21/05/27 4 Time: 14:39 5 To change this template use File | Settings | File Templates. 6 --%> 7 <%@ page contentType="text/
阅读全文
摘要: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"
阅读全文
摘要: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;++
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文