HDU 2089 不要62 数据量比较小,还是直接暴力吧。 HDU 1207 汉诺塔II 汉诺塔的变型,增加了一根柱子,直接上队里大神写的代码。 HDU 2680 Choose the best route 多个起点,一个终点,反向存图,跑一遍Dijkstra,比较得出最短路即可。 UVa Anan ...
分类:
其他好文 时间:
2018-08-20 19:00:14
阅读次数:
164
1 /* 2 * To change this license header, choose License Headers in Project Properties. 3 * To change this template file, choose Tools | Templates 4 * a... ...
分类:
编程语言 时间:
2018-08-12 23:43:14
阅读次数:
313
if(通过“title”和“author”两个参数进行可选搜索): choose(我们不想应用到所有的条件语句,而只想从中择其一项): ...
分类:
其他好文 时间:
2018-08-12 14:13:06
阅读次数:
309
一、生成dll文件 1、创建一个C++库项目。 新建->Library->C++库,然后点击"choose"; 位置->类型,选择共享库; 模块的勾选看情况。 最后,工程中有3个文件。mylib.cpp、mylib.h、mylib_global.h。 2、添加内容,即库文件要实现的功能。 例:1、创 ...
分类:
其他好文 时间:
2018-08-11 23:18:13
阅读次数:
224
通过题目给的定义C(m,n)=m!/(n!(m-n)!),以及题目要求计算的C(p,q)/C(r,s)联立可得 p!s!(r-s)!/q!r!(p-q)! 看到这个式子,我们可以分析一下,我们可以将每个阶乘,都通过唯一分解定理将它们分解 (具体教程可见:https://blog.csdn.net/q ...
分类:
其他好文 时间:
2018-08-04 21:40:45
阅读次数:
180
http://acm.hdu.edu.cn/showproblem.php?pid=2164 Problem Description Rock, Paper, Scissors is a two player game, where each player simultaneously choose ...
分类:
其他好文 时间:
2018-08-04 11:45:15
阅读次数:
119
You are given an array a consisting of n integers a1,?...,?an. In one operation, you can choose 2 elements ai and aj in which ai is divisible by aj an ...
分类:
其他好文 时间:
2018-07-29 22:20:28
阅读次数:
212
前言 最近由于工作需要,需要在win下安装clion环境,过程还是挺曲折的,在这里记录一下吧 安装cygwin环境 去官网 下载 "setup x86_64.exe" ,下载完成后,进行安装。 安装时选择根据自身需要进行设置。 choose a download site设置时选择一个下载源,当然也 ...
npm install -g express-generator express <project_name> cd <project_name>, npm install in webstorm, File | open, choose <project_name> folder ...
分类:
移动开发 时间:
2018-07-22 20:05:15
阅读次数:
177
在XML 中支持的几种标签: ? if ? choose、when、otherwise ? where ? set ? trim ? foreach OGNL 表达式 1. el or e22. el and e23. el == e2 或 el eq e24. el != e2 或 el neq ...
分类:
数据库 时间:
2018-07-22 11:35:16
阅读次数:
238