码迷,mamicode.com
首页 >  
搜索关键字:tin    ( 13708个结果
IDEA中使用Tomcat解决中文乱码问题
IDEA中使用Tomcat解决中文乱码问题 首先在Tomcat的Configurations中配置VM options: -Dfile.encoding=UTF-8 如果操作1不行,就设置IDEA的编码: 在Setting中选择File Encodings: Global Encoding选择UTF ...
分类:其他好文   时间:2021-04-13 12:20:15    阅读次数:0
Full Binary Tree
题目来源 Full Binary Tree Description In computer science,a binary tree is a tree data structure in which each node has at most two children. Consider an ...
分类:其他好文   时间:2021-04-13 12:02:15    阅读次数:0
数据去重
String removeDuplicateLetters(String s) { Stack<Character> stk = new Stack<>(); // 维护一个计数器记录字符串中字符的数量 // 因为输入为 ASCII 字符,大小 256 够用了 int[] count = new i ...
分类:其他好文   时间:2021-04-13 11:42:41    阅读次数:0
b_lc_最少侧跳次数(向前看dp)
给定一个长为n的数组A(n<5*10^5),A[i] (取值范围从 0 到 3)表示在点 i 处的 A[i] 跑道上有一个障碍。如果 A[i] == 0 ,那么点 i 处没有障碍。任何一个点的三条跑道中 最多有一个 障碍。求这只青蛙从点 0 处跑道 2 出发,并想到达点 n 处的 任一跑道 ,请你返 ...
分类:其他好文   时间:2021-04-12 12:36:30    阅读次数:0
Solve Error: Run 'hexo g', got 'Killed'
When you run hexo g on any web instances, like on AWS or Azure, you might get the following error: (node:3568) ExperimentalWarning: The fs.promises AP ...
分类:其他好文   时间:2021-04-12 12:28:51    阅读次数:0
网络爬虫之数据库连接
爬取的数据一般需要提交给数据库,这里就介绍了三个主流数据库的连接(mysql,redis,mongodb),如果你的数据库服务器都放在liunx系统上首先要修改一下配置文件将bind 127.0.0.1修改为bind 0.0.0.0这样才能访问数据库。并且需要查看linux防火墙设置。如果开启要将其 ...
分类:数据库   时间:2021-04-10 13:21:40    阅读次数:0
#补充: tdsql(noshard)  到 tdsql(noshard)
#tdsql(noshard) 到 tdsql(noshard) (一般不建议这样导,tdsql 内部建议用多源同步) 如果是导入到tdsql shard 中需要提创建表,指定shardkey 在mysqlagent 导出指定proxy ip 和端口: cd /data/tdsql_run/4002 ...
分类:数据库   时间:2021-04-10 12:57:25    阅读次数:0
closest
import math import random import matplotlib.pyplot as plt import time limitx=300000 limity=300000 threshold=2 data=[] datax=[] datay=[] datanum=20000 ...
分类:其他好文   时间:2021-04-09 13:41:22    阅读次数:0
GET和POST的区别
GET和POST的区别 GET在浏览器回退时是无害的,而POST会再次提交请求。 GET产生的URL地址可以被Bookmark,而POST不可以。 GET请求会被浏览器主动cache,而POST不会,除非手动设置。 GET请求只能进行url编码,而POST支持多种编码方式。 GET请求参数会被完整保 ...
分类:其他好文   时间:2021-04-09 13:15:13    阅读次数:0
C++ break,continue,return用法
一.break 1. break语句形式: break;2. break语句功能:A. 在switch语句中,break是其语法本省的一部分,break语句会终止其后语句的执行,退出switch语句。B. 使一个循环立即结束,也就是说在循环中遇到break语句时,循环立即终止,程序转到当前循环体后的 ...
分类:编程语言   时间:2021-04-08 13:57:16    阅读次数:0
13708条   上一页 1 ... 11 12 13 14 15 ... 1371 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!