原题链接在这里:https://leetcode.com/problems/koko-eating-bananas/ 题目: Koko loves to eat bananas. There are N piles of bananas, the i-th pile has piles[i] ban ...
分类:
其他好文 时间:
2019-11-18 09:34:59
阅读次数:
98
389. Find the Difference Easy Easy Easy Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling s ...
分类:
其他好文 时间:
2019-11-18 09:22:52
阅读次数:
65
form表单 input type: text:单行文本输入框 password:密码输入框 radio: 单选按钮 checkbox: 单选按钮 button: 普通按钮 submit: 提交按钮 reset:重置按钮 image:图像形式的提交按钮 file:文件控件 name : 有用户自定义 ...
分类:
其他好文 时间:
2019-11-17 17:41:37
阅读次数:
86
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio ...
分类:
其他好文 时间:
2019-11-17 12:31:52
阅读次数:
68
window.alert("666") document.writeln("<input type='button' value='按钮'/>"); //可以解析标签 console.log("我是在浏览器的控制台输出的,请按F12查看"); ...
分类:
Web程序 时间:
2019-11-16 21:58:21
阅读次数:
73
防御原理,将csrf_token放到session中,再将session放到cookie中 实现: from flask_wtf import CSRFProtect # flask_wtf 已经提供CSRF的防御手段CSRFProtect(app) # 绑定app CSRFProtect源码 需在 ...
分类:
其他好文 时间:
2019-11-16 17:35:10
阅读次数:
94
import org.apache.poi.xssf.usermodel.XSSFSheet import org.apache.poi.xssf.usermodel.XSSFWorkbook FileInputStream file = new FileInputStream (new File( ...
分类:
其他好文 时间:
2019-11-16 16:06:58
阅读次数:
105
题目链接:https://www.luogu.org/problem/P3370 题目描述 如题,给定N个字符串(第i个字符串长度为Mi,字符串内包含数字、大小写字母,大小写敏感),请求出N个字符串中共有多少个不同的字符串。 #友情提醒:如果真的想好好练习哈希的话,请自觉,否则请右转PJ试炼场:) ...
分类:
其他好文 时间:
2019-11-16 11:08:22
阅读次数:
62
仿射变换与透视变换 仿射变换和透视变换更直观的叫法可以叫做「平面变换」和「空间变换」或者「二维坐标变换」和「三维坐标变换」。一个是二维坐标(x,y),一个是三维坐标(x,y,z)。也就是: 仿射变换: 透视变换: 从另一个角度也能说明三维变换和二维变换的意思,仿射变换的方程组有6个未知数,所以要求解 ...
分类:
其他好文 时间:
2019-11-16 00:43:26
阅读次数:
91
返回 org.thymeleaf.exceptions.TemplateInputException: Error resolving template [/implementsfun/index] 看了以下依赖在 最后找到在thymeleaf配置文件 批量改后缀时删除了 导致的 更新后 正常 ...
分类:
编程语言 时间:
2019-11-14 22:12:21
阅读次数:
83