
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
更新的时候报Caused by: java.sql.BatchUpdateException: Transaction error, need to rollback. errno:1205 Lock wait timeout exceeded; try restarting transactionupdate_time=now() where streaming_no=?...
http://acm.hdu.edu.cn/showproblem.php?pid=2534由题知,每一个数据都可以由ax +by组成;ax1 + by1 - c x2 a - d y2 == 1 ;ans = a * b - a - b ;#include<iostream>#include<cstdio>#include<cstr...
大致题意:就是求k个长度为60的字符串的最长连续公共子串,2<=k<=10规定:1、最长公共串长度小于3不输出2、若出现等长的最长的子串,则输出字典序最小的串解体思路: 暴力。View Code#include<stdio.h>#include<iostream>#include<string>#...
1 #include <iostream>2 using namespace std;34 namespace spaceA{5int g_a = 10;6namespace spaceB{7//定义一个结构体8struct teacher{9...
线段树..---------------------------------------------------------------------------------#include<cstdio>#include<algorithm>#include<cstring>#include<iostream>#define rep( i , n..
一、数据库连接conn = MySQLdb.connect(host='localhost', user='root', passwd='', db='database1', port=3306, charset='utf8')cur = conn.cursor()转载于:https://www.cnblogs.com/ritchiewang/p/576739...
Js实现当输入框文字变化时实现光标总是定位在最后function setCursor(obj){if (obj.createTextRange) {range = obj.createTextRange();range.collapse(true);range.moveStart('character', o...
项目四知识点默认头像选择头像<template><div class="adatar"><img :src="adatar?adatar:require('../../assets/images/default-user.png')" alt="" ><input type="file" na...
在antd pro内使用vue-amap,实现地图和坐标点。1,安装npm install vue-amap --save2,在main,js内引入import VueAMap from 'vue-amap';Vue.use(VueAMap);VueAMap.initAMapApiLoader({key: 'YOUR_KEY',pl...
Powershell针对Excel的一些简单操作 稍微高级点的语言都会涉及到对COM对象的操作,作为微软自己进化的脚本语言,powershell有这个功能一点不稀奇,首先它使用 .NET Framework 提供的强大类库,很多特性和C#相似;其次,虽然作为脚本但它面向对象。使用powershell来管理WMI和COM更简单。 用微软官方的话...