传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=1029 经典的贪心问题,不解释。 ...
分类:
Web程序 时间:
2017-02-07 20:17:47
阅读次数:
197
时间:2016-11-17 13:46 ——JSP入门1、什么是JSP JSP(Java Server Pages)是JavaWeb服务器端的动态资源,它与HTML页面的作用是相同的,用来显示数据和获取数据。 JSP是: 1)JSP运行在服务器端。 2)JSP的全称是Java Server Page ...
分类:
Web程序 时间:
2017-02-07 18:01:41
阅读次数:
377
Peng@PENG-PC ~ $ npm install -g cordova npm WARN deprecated node-uuid@1.4.7: use uuid module instead C:\Users\Peng\AppData\Roaming\npm\cordova -> C:\U... ...
分类:
其他好文 时间:
2017-02-07 12:44:53
阅读次数:
2170
Winston the Worm just woke up in a fresh rectangular patch of earth. The rectangular patch is divided into cells, and each cell contains either food o ...
分类:
其他好文 时间:
2017-02-07 12:43:12
阅读次数:
298
這以 GNU GLOBAL 6.5.6 為示範 1: install GNU GLOBAL https://www.gnu.org/software/global/download.html sudo ./configure; 若有以下 error,請看更下方的 Q5 說明。 sudo make; ...
分类:
其他好文 时间:
2017-02-06 23:59:06
阅读次数:
407
方格取数(2) Problem Description 给你一个m*n的格子的棋盘,每个格子里面有一个非负数。从中取出若干个数,使得任意的两个数所在的格子没有公共边,就是说所取数所在的2个格子不能相邻,并且取出的数的和最大。 Input 包括多个测试实例,每个测试实例包括2整数m,n和m*n个非负数 ...
分类:
其他好文 时间:
2017-02-06 23:41:52
阅读次数:
623
1 #include 2 __int64 GCD(__int64 a,__int64 b) 3 { 4 if (a % b == 0) 5 return b; 6 else 7 return GCD(b,a%b); 8 } 9 __int64 LCM(__int64 a,__int64 b) // ... ...
分类:
其他好文 时间:
2017-02-06 23:29:29
阅读次数:
212
传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=1088 简单的状压dp(话说本题的编号减1,即1087,也是一道状压dp),不解释。 ...
分类:
其他好文 时间:
2017-02-06 21:08:00
阅读次数:
169
题目链接:多项式乘法 保存一发FFT与NTT板子。 学习链接:从多项式乘法到快速傅里叶变换 FFT NTT 注意差值回来的时候不取反也是可以的,只不过需要把数组\(reverse\)一下(根据单位复数根的性质应该不难理解) 代码(FFT): 代码(NTT): ...
分类:
其他好文 时间:
2017-02-06 21:01:07
阅读次数:
138