说明符 说明 %a 工作日的缩写名称 (Sun...Sat) %b 月份的缩写名称 (Jan...Dec) %c 月份,数字形式 (0...12) %D 带有英语后缀的该月日期 (0th, 1st, 2nd, 3rd, ...) %d 该月日期,数字形式 (00...31) %e 该月日期,数字形式... ...
分类:
其他好文 时间:
2017-05-24 12:34:14
阅读次数:
109
题目链接: http://poj.org/problem?id=3207 Ikki's Story IV - Panda's Trick Time Limit: 1000MS Memory Limit: 131072K Total Submissions: 8063 Accepted: 2969 D ...
分类:
其他好文 时间:
2017-05-22 13:36:18
阅读次数:
280
Let's go home Time Limit: 10000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1616 Accepted Submission(s): 661 ...
分类:
其他好文 时间:
2017-05-21 16:49:35
阅读次数:
191
2-sat+二分。。。 每次二分答案然后连边2-sat。。。边要开到n*n 样例水得跟没有一样。。。 #include<bits/stdc++.h> using namespace std; const int N = 4010; struct edge { int nxt, to; } e[N * ...
分类:
其他好文 时间:
2017-05-16 00:37:00
阅读次数:
155
http://www.lydsy.com/JudgeOnline/problem.php?id=1823 2-sat裸题 #include<bits/stdc++.h> using namespace std; const int N = 4010; struct edge { int nxt, t ...
分类:
其他好文 时间:
2017-05-15 00:34:50
阅读次数:
185
问题:给定两个日期,求它们之间(包括这两个日期本身)有多少个”工作“日。select sum(case when date_format( date_add(jones_hd,interval t500.id - 1, 'DY'),'%a') in ('SAT', 'SUN') then 0 els ...
分类:
其他好文 时间:
2017-05-04 10:59:41
阅读次数:
128
https://vjudge.net/problem/UVALive-3211 题意: 有n架飞机需要着陆,每架飞机都可以选择“早着陆”和“晚着陆”两种方式之一,且必须选择一种,第i架飞机的早着陆时间为E,晚着陆时间为L,不得在其他时间着陆。你的任务是为这些飞机安排着陆方式,使得整个着陆计划尽量安全 ...
分类:
其他好文 时间:
2017-05-03 22:03:47
阅读次数:
195
Language: Default Get Luffy Out Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 7969 Accepted: 3061 Description Ratish is a young man who a ...
分类:
其他好文 时间:
2017-05-03 17:17:43
阅读次数:
156
1 #include 2 using namespace std; 3 4 const int maxn=200000+15; 5 struct Edge { 6 int x,y,next; 7 Edge(int x=0,int y=0,int next=0): 8 x(x),y(y),next(n... ...
分类:
其他好文 时间:
2017-04-30 22:50:24
阅读次数:
163
1.1 隐藏nginx header里版本号信息 1、查看版本号 [root@c66-kslx ~]# curl -I 127.0.0.1 HTTP/1.1 200 OK Server: nginx/1.6.2 Date: Sat, 14 Mar 2015 08:15:29 GMT Content- ...
分类:
其他好文 时间:
2017-04-28 16:03:05
阅读次数:
309