A:http://codeforces.com/contest/1475/problem/A 题意: 判断n是否有>1的奇数因子 解析: 不断比2即可。 #include<iostream> #include<algorithm> #include<cstdio> #include<cstring> ...
分类:
其他好文 时间:
2021-01-28 12:21:27
阅读次数:
0
一、什么是HTTP基本认证(Basic Authentication) 1、HTTP基本认证 介绍在HTTP中,HTTP基本认证(Basic Authentication)是一种允许网页浏览器或其他客户端程序以(用户名:口令) 请求资源的身份验证方式,不要求cookie,session identi ...
分类:
Web程序 时间:
2021-01-28 12:08:38
阅读次数:
0
每次使用brew安装软件时,默认都会自动检查更新homebrew,显示Updating Homebrew...,会浪费很多的时间,所以要关闭自动更新。 # 关闭自动更新,在.zshrc文件中加入下方命令,如果是bash请加在.bash_profile文件中,全局变量可以sudo vi /etc/pr ...
分类:
其他好文 时间:
2021-01-28 12:07:36
阅读次数:
0
链接 : https://codeforces.com/contest/1475/problem/D 排序 + 双指针 #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.t ...
分类:
其他好文 时间:
2021-01-28 12:04:58
阅读次数:
0
一、校验数字的表达式 数字:^[0-9]*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{m,n}$ 零和非零开头的数字:^(0|[1-9][0-9]*)$ 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(\.[0-9]{1,2})?$ 带1 ...
分类:
其他好文 时间:
2021-01-28 12:02:20
阅读次数:
0
No active profile set, falling back to default profiles: default SpringBoot发布的时候发现出现这个错误 , 当然这个错误一搜就有答案 , 大部分是依赖的问题 <dependency> <groupId>org.springfr ...
分类:
编程语言 时间:
2021-01-28 12:00:28
阅读次数:
0
package com.zxz.study.util; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServ ...
分类:
其他好文 时间:
2021-01-28 11:51:52
阅读次数:
0
网上找了很多教程,但其位置都是错误的,一行代码就能搞定,不知道为啥讲一大堆,还搞不成功。 wget http://mirrors.aliyun.com/repo/Centos-altarch-7.repo -O /etc/yum.repos.d/CentOS-Base.repo ...
分类:
其他好文 时间:
2021-01-28 11:51:17
阅读次数:
0
yarn安装: 在指定包下 npm intsall -g yarn yarn config set registry https://registry.npm.taobao.org -gyarn config set sass_binary_site http://cdn.npm.taobao.or ...
分类:
其他好文 时间:
2021-01-28 11:42:31
阅读次数:
0
servletContext接口是Servlet中最大的一个接口,呈现了web应用的Servlet视图。ServletContext实例是通过 getServletContext()方法获得的,由于HttpServlet继承GenericServlet的关系,GenericServlet类和Http... ...
分类:
编程语言 时间:
2021-01-27 13:55:29
阅读次数:
0