码迷,mamicode.com
首页 >  
搜索关键字:aa    ( 3606个结果
Duplicate entry 'xxx' for key 'xxx'
插入数据的时候 报错,Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'xxx-xxx-xxx-xxx-xxx' for key 'AA' 1、这段信 ...
分类:其他好文   时间:2018-09-18 19:01:02    阅读次数:219
COWRUN
USACO COWRUN 随机化搜索+双重递归调用 题面描述:给出8 N( include include using namespace std; int n; long long m,k; int aa[20][10]; char s[20]; inline int cal(int pos,lo ...
分类:其他好文   时间:2018-09-17 11:43:04    阅读次数:129
[2018 ACM-ICPC 焦作赛区网络赛] H - String and Times(后缀自动机)
Now you have a string consists of uppercase letters, two integers AA and BB. We call a substring wonderful substring when the times it appears in that ...
分类:其他好文   时间:2018-09-16 15:59:07    阅读次数:366
ACM-ICPC 2018 焦作赛区网络预赛 L:Poor God Water(杜教BM)
有N个小时,有三种食物(用a ,b ,c代替好了),每个小时要吃一种食物,要求任意连续三个小时不能出现aaa,bbb,ccc,abc,cba,bab,bcb(假设b为巧克力) 的方案数 先用矩阵打表 先对两个数统计有1.aa 2.bb 3.cc 4.ab 5.ba 6.ac 7.ca 8.bc 9. ...
分类:其他好文   时间:2018-09-15 20:50:06    阅读次数:238
ACM-ICPC 2018 焦作赛区网络预赛 H题 String and Times(SAM)
Now you have a string consists of uppercase letters, two integers AA and BB. We call a substring wonderful substring when the times it appears in that ...
分类:其他好文   时间:2018-09-15 20:09:10    阅读次数:251
使用Shell脚本批量给tomcat日志打包压缩并清理
因生产环境的tomcat日志太多,需要做自动化清理,只留90内的,所以90天以外的就直接删除了,90内的就要用脚本批量打包再删除原文件脚本如下:[root@aa]#catfor.sh#!/bin/bashtomcat_log=/usr/local/tomcat/logsaccess_log=localhost_access_logfor((i=74;i>6;i--))dodates=`dat
分类:系统相关   时间:2018-09-14 18:21:28    阅读次数:242
倒计时
function aa() { var totalSecond = 11111 - Date.parse(new Date())/1000; var interval = setInterval(function () { // 秒数 var second = totalSecond; // 天数位 ...
分类:其他好文   时间:2018-09-14 14:33:18    阅读次数:141
2017校招真题 -腾讯-编码
题目描述 假定一种编码的编码范围是a ~ y的25个字母,从1位到4位的编码,如果我们把该编码按字典序排序,形成一个数组如下: a, aa, aaa, aaaa, aaab, aaac, … …, b, ba, baa, baaa, baab, baac … …, yyyw, yyyx, yyyy ...
分类:其他好文   时间:2018-09-14 01:04:42    阅读次数:169
Python——基础数据类型(补充)
1.基础数据类型汇总补充 (1)小数据池: 为了节省空间,数字和字符串有,其他的没有【了解】 数字:-5 256之间的数字共用一个内存地址 字符串: 不能含有特殊字符,aa和aa地址相同,aa+和aa+地址不同 单个字符*数字(<=20)时同一个地址,多于一个字符/大于等于21则不是同一个地址 (2 ...
分类:编程语言   时间:2018-09-13 16:18:36    阅读次数:181
字符串处理
String aa = "100<w<2666:Kg"; aa = aa.replaceAll("(?i):kg", ""); System.out.println(aa); 输出:100<w<2666 (?i)不区分大小写 String aa = "100<w<2666"; int ac = aa ...
分类:其他好文   时间:2018-09-13 14:04:08    阅读次数:132
3606条   上一页 1 ... 69 70 71 72 73 ... 361 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!