实验代码: include define a 10 int main() { int T,n,i,h,l,j,p; int sz[a][a]; scanf("%d",&T); for(i=1;i ...
分类:
其他好文 时间:
2019-03-16 09:59:04
阅读次数:
160
图论基础知识总结 前言 因为博主太菜,好多之前学过的图论算法都要不记得了,于是开了这篇博文提醒自己要记得复习图论。 代码 ...
分类:
其他好文 时间:
2019-03-16 09:25:25
阅读次数:
176
If you are currently in the midst of planning a wedding, then I don't need to tell you how stressful it can be. Honestly, I thought about eloping prob ...
分类:
其他好文 时间:
2019-03-16 09:22:15
阅读次数:
140
答案是个整数,请通过浏览器提交答案。不要填写任何多余的内容。 答案 代码: ...
分类:
其他好文 时间:
2019-03-15 17:37:18
阅读次数:
148
例如我想增加 http://localhost:9000/hello 首先为Application.java新增一个方法 之后在/app/views/Application下新增hello.html文件 最后配置conf/routes新增GET /hello Application.hello 之后 ...
分类:
其他好文 时间:
2019-03-14 15:11:00
阅读次数:
157
3、在javascript中,哪些值能作为if的条件呢 1、布尔变量true/false2、数字非0,非NaN/ (0 或NaN) 见下面的例子,莫以为负数就以为if语句为假了。 代码如下: var i = -1;if(i){ alert('here');}else{ alert('test is ...
分类:
Web程序 时间:
2019-03-14 15:08:15
阅读次数:
1963
leetcode 1005 Sort the array first. The negation rules are quite simple: 1. execute negation for K times,so use a for loop 2. after negation, if the n ...
分类:
其他好文 时间:
2019-03-14 01:04:19
阅读次数:
196
Linux 用户和用户组管理 Linux系统是一个多用户多任务的分时操作系统,任何一个要使用系统资源的用户,都必须首先向系统管理员申请一个账号,然后以这个账号的身份进入系统。 用户的账号一方面可以帮助系统管理员对使用系统的用户进行跟踪,并控制他们对系统资源的访问;另一方面也可以帮助用户组织文件,并为 ...
分类:
系统相关 时间:
2019-03-13 21:26:17
阅读次数:
209
Given a sequence of K integers { N?1??, N?2??, ..., N?K?? }. A continuous subsequence is defined to be { N?i??, N?i+1??, ..., N?j?? } where 1. The Max ...
分类:
其他好文 时间:
2019-03-13 18:21:07
阅读次数:
138
#include <bits/stdc++.h> using namespace std; #define inf (0x3f3f3f3f) typedef long long int LL; const int mod = 1e9 + 7; const int maxn = 13000000 + ...
分类:
其他好文 时间:
2019-03-13 00:17:04
阅读次数:
217