1.题目如下 2.解题代码 #include<stdio.h> #include<stdlib.h> int finMissMin(int a[],int n) { int i,*b; b=(int *)malloc(sizeof(int)*n); //初始化为0 for(i=0;i<n;i++) ...
分类:
编程语言 时间:
2021-06-28 19:41:00
阅读次数:
0
FileReader读取文件 查看文件的相对路径 示例一:查看文件的相对路径 package com.dreamcold.io; import java.io.File; public class Demo01 { public static void main(String[] args) { F ...
分类:
编程语言 时间:
2021-06-28 19:39:13
阅读次数:
0
简介 加载图像: cv::imread() 创建图像窗口: cv::namedWindow() 显示图像:cv::imshow() 保存图像:cv::imwrite() 测试代码 #include <opencv2/opencv.hpp> //总的头文件 // #include <opencv2/c ...
分类:
其他好文 时间:
2021-06-28 19:38:49
阅读次数:
0
简述 在常见的网站上,我们需要登录才能访问到其他资源。一般来说我们的登录信息会用session存储,所以我们可以使用filter进行一个登录验证的过滤。 package cn.itcast.web.filter; import com.sun.deploy.net.HttpRequest; impo ...
分类:
其他好文 时间:
2021-06-28 19:38:28
阅读次数:
0
1.题目如下 2.解题代码 #include<stdio.h> int majority(int a[],int n){ int i,count=1,c=a[0]; for(i=1;i<n;i++) { if(a[i]==c) count++; else { if(count>0) count--; ...
分类:
其他好文 时间:
2021-06-28 19:33:29
阅读次数:
0
终端输入jupyter notebook --generate-config,回车,会显示jupyter_notebook_config.py文件的完整路径 编辑该文件,搜索#c.NotebookApp.notebook_dir = '',后面引号内修改为自定义的工作空间,注意:工作空间路径中\要替 ...
分类:
其他好文 时间:
2021-06-28 19:24:30
阅读次数:
0
声明大哥store import { createStore } from 'vuex' import mutations from './mutations' import getters from './getters' import actions from './actions' impor ...
分类:
其他好文 时间:
2021-06-28 19:10:36
阅读次数:
0
from selenium.webdriver.common.by import By from selenium import webdriver driver= webdriver.Chrome() driver.get("http://127.0.0.1:8088/login") # 元素寻找 ...
分类:
其他好文 时间:
2021-06-28 19:06:14
阅读次数:
0
发现自己的基础太不牢固了 #include<bits/stdc++.h> using namespace std; int cnt=0; int dfs(int x) { if(x>=100)return x; dfs(x+1); dfs(x+2); } int main() { cout<<dfs ...
分类:
其他好文 时间:
2021-06-28 19:03:09
阅读次数:
0
封装方法 import axios from 'axios' const allowIP = ['119.133.5.19']; //允许访问 async function getIp() { const res=await axios.get('https://api.ipify.org/')// ...
分类:
其他好文 时间:
2021-06-28 18:55:02
阅读次数:
0