#include<bits/stdc++.h> using namespace std; int judge(int year){ if(year%4==0&&year%100||year%400==0) return 1; return 0; } int run[13]={0,31,29,31,3 ...
分类:
其他好文 时间:
2017-09-02 16:52:48
阅读次数:
242
Brackets Sequence Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 32662 Accepted: 9441 Special Judge Description Let us define a regular br ...
分类:
其他好文 时间:
2017-09-01 19:40:34
阅读次数:
156
#!/bin/sh#chkconfig:23452080#description:createbybai./etc/init.d/functionsjudge=`netstat-lntup|greprsync|wc-l`_start(){if[$judge-eq2]thenaction"rsyncisrunning"/bin/trueelsersync--daemonsleep1action"rsyncstarted"/bin/truefi}_stop(){if[`netstat-lntup|greprsyn..
分类:
其他好文 时间:
2017-08-31 11:09:06
阅读次数:
180
1 #include 2 #include 3 using namespace std; 4 int count = 0; 5 bool judge (int num,int ynum){ 6 if(num == ynum){ 7 coutynum){ 12 cout>ynum; 29 // cou... ...
分类:
其他好文 时间:
2017-08-29 14:15:28
阅读次数:
182
Stall Reservations Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7646 Accepted: 2710 Special Judge Description Oh those picky N (1 <= N < ...
分类:
编程语言 时间:
2017-08-25 00:05:42
阅读次数:
185
Addition Chains Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5273 Accepted: 2833 Special Judge Description An addition chain for n is an ...
分类:
其他好文 时间:
2017-08-24 13:27:47
阅读次数:
311
Form 封装方法:将需要封装成方法的代码选中,右键-重构-提取方法 Palyer.cs Computer.cs Judge.cs ...
分类:
其他好文 时间:
2017-08-23 16:21:36
阅读次数:
203
ACM Computer Factory Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8133 Accepted: 2943 Special Judge Description As you know, all the com ...
分类:
其他好文 时间:
2017-08-23 15:02:18
阅读次数:
213
Problem Description Giving two strings and you should judge if they are matched.The first string contains lowercase letters and uppercase letters.The ...
分类:
其他好文 时间:
2017-08-22 23:02:43
阅读次数:
160
Sightseeing trip Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6919 Accepted: 2646 Special Judge Description There is a travel agency in ...
分类:
其他好文 时间:
2017-08-19 23:38:08
阅读次数:
214