// Gm.cpp : 定义应用程序的入口点。 // #include #include "framework.h" #include "Gm.h" int BLACK_AI=0,WHITE_AI=1; int brd[361]; int broad[19][19]; int step=0; con... ...
分类:
其他好文 时间:
2019-11-05 13:50:14
阅读次数:
85
首先我们写一个简单spring和mybatis集成的代码如下 public class Test { public static void main(String[] args){ AnnotationConfigApplicationContext annotationConfigApplicat ...
分类:
其他好文 时间:
2019-11-05 13:38:44
阅读次数:
47
问题描述: 判断一个数是否为回文数 class Solution { public boolean isPalindrome(int x) { if(x<0) return false; int rs=0; //注意:方法的参数传入进来之后要赋值给d //下面的方法中是对d操作,x的值没有变,方便最 ...
分类:
编程语言 时间:
2019-11-05 13:14:56
阅读次数:
66
1.LVM的基本概念 物理卷(PV):可以在上面建立卷组的媒介,可以是硬盘分区,也可以是硬盘本身或者回环文件,物理卷包括一个特殊的header,其余部分被切割成一块块物理区域。 卷组(VG):将一组物理卷收集为一个管理单元 逻辑卷(LV):虚拟分区,由物理区域组成 物理区域(PE):硬盘可被指派给逻 ...
分类:
系统相关 时间:
2019-11-05 00:58:11
阅读次数:
103
public ActionResult DownLoadAttachment(string attachmentId) { Attachment attachment = _customerInfoService.GetAttachment(attachmentId); if (attachment ...
分类:
其他好文 时间:
2019-11-04 17:22:48
阅读次数:
50
论坛问题: https://ask.dcloud.net.cn/question/74505 使用: uni.connectSocket(OBJECT) 和 SocketTask.onOpen(CALLBACK) 在安卓手机无法触发websocket的open方法 解决办法使用plus-websoc ...
分类:
移动开发 时间:
2019-11-04 13:57:14
阅读次数:
838
一、问题描述: 使用 Ajax 直接发送 PUT 请求,但 Spring MVC 封装的对象中,除过 URI 中带有的 id 字段被成功封装,请求体中的数据没有被封装到对象中。 通过测试,前端传来的请求体中有数据;通过 HttpServletRequest 对象,使用 request.getPara ...
分类:
Web程序 时间:
2019-11-04 13:50:12
阅读次数:
282
web.xml Servlet:代表的的容器为spring-mvc的子容器 DispatcherServlet上下文在初始化的时候会建立自己的IOC上下文,用以持有Spring mvc相关的bean。 DispatcherServlet 是前端控制器 DispatcherServlet专门为前端监听 ...
分类:
编程语言 时间:
2019-11-04 13:33:11
阅读次数:
86
v-on注册事件 注册点击事件两种方式 使用v-on指令注册事件 <标签 v-on:事件句柄="表达式或者事件处理函数"></标签> 简写方式 <标签 @事件句柄="表达式或者事件处理函数"></标签> <!DOCTYPE html> <html lang="en" xmlns:v-on="http ...
分类:
其他好文 时间:
2019-11-04 09:53:32
阅读次数:
72
$$ F_S=\sum_{T \subseteq S}G_T $$ $$ G_S=\sum_{T \subseteq S}( 1)^{|S| |T|}F_T $$ $$ F_{S_1,S_2...S_n}=\sum_{T_1 \subseteq S_1,T_2 \subseteq S_2 ... T ...
分类:
其他好文 时间:
2019-11-03 20:40:52
阅读次数:
81