2964:日历问题 "查看" "提交" "统计" "提示" "提问" 总时间限制: 1000ms 内存限制: 65536kB 描述 在我们现在使用的日历中, 闰年被定义为能被4整除的年份,但是能被100整除而不能被400整除的年是例外,它们不是闰年。例如:1700, 1800, 1900 和 210 ...
分类:
编程语言 时间:
2020-02-03 18:40:55
阅读次数:
108
#80. 二分图最大权匹配 统计 描述 提交 自定义测试 从前一个和谐的班级,有 $n_l$ 个是男生,有 $n_r$ 个是女生。编号分别为 $1, \dots, n_l$ 和 $1, \dots, n_r$。 有若干个这样的条件:第 $v$ 个男生和第 $u$ 个女生愿意结为配偶,且结为配偶后幸福 ...
分类:
编程语言 时间:
2020-02-03 16:04:16
阅读次数:
91
1 #define HAVE_STRUCT_TIMESPEC 2 #include<bits/stdc++.h> 3 using namespace std; 4 string s[30][10]; 5 int ans[1007][1007]; 6 int num[1007]; 7 string t ...
分类:
其他好文 时间:
2020-02-03 15:52:44
阅读次数:
70
Let's define a number ebne (even but not even) if and only if its sum of digits is divisible by 22 but the number itself is not divisible by 22. For e ...
分类:
其他好文 时间:
2020-02-03 15:36:17
阅读次数:
55
注:难度不分先后,想起啥记录啥。 1.单引号和双引号区别 答:双引号中的变量可以解析,单引号就是绝对的字符串。 2.传值和传引用的区别 答:传值:在函数范围内,改变变量值得大小,都不不会影响到函数外边的变量值。 传引用:在函数范围内,对值的任何改变,在函数外部也有所体现,因为传引用传的是内存地址。 ...
分类:
Web程序 时间:
2020-02-02 15:41:19
阅读次数:
464
Delegate proper right to some user: Login/Logout Audit - GPO Setting - Event Viewer File Auditing Modify audit settings of the folder. ...
分类:
其他好文 时间:
2020-02-02 00:58:40
阅读次数:
85
http://acm.hdu.edu.cn/showproblem.php?pid=2041 #include <stdio.h> #include <cstring> #include <algorithm> #include <vector> #include <map> #include <a ...
分类:
其他好文 时间:
2020-02-01 16:25:41
阅读次数:
77
0. vs 查看预编译后的代码 1. # 和 ## #define P(A) { printf(" the square of %s is %d\n", #A, A * A); } #define Q(B) { printf(" the square of "#B" is %d\n" , B * B ...
分类:
其他好文 时间:
2020-02-01 16:16:27
阅读次数:
68
题目链接 题解: copy from: https://www.luogu.com.cn/blog/ryoku/ryoku-di-xin-nian-huan-le-sai-ti-xie segment tree, seg[i]为区间元素个数,每次从剩下的数中找第(b[i]+1)小的数,然后去掉次数( ...
分类:
其他好文 时间:
2020-02-01 10:22:33
阅读次数:
65
HDU 4300 Clairewd‘s message 拓展KMP入门 题意 "原题链接" 这个题关键是要读懂题意,~~我做的时候就没有读懂,泪~~。题意是说给你的一个两个字符串,一个是26个字母密码表,依次对应替换的字母。然后给你一个字符串,这个字符串是不完整的(完整的应该是前半部分是加密的,后半 ...
分类:
其他好文 时间:
2020-01-31 22:46:56
阅读次数:
82