Using a character set repeated 1 or more times, make a pattern to search for strings that do not contain the characters 'a', 'e', 'i', 'o', 'u', and '
分类:
其他好文 时间:
2016-03-05 23:26:08
阅读次数:
279
执行Maven Install打包的时候,提示以下警告信息: [WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent! 需要在<proj
分类:
其他好文 时间:
2016-03-05 21:42:20
阅读次数:
170
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { cl
分类:
Web程序 时间:
2016-03-05 20:10:44
阅读次数:
213
C++拾遗 更新一些平时遇到的小细节: 1.关于类的无参构造函数和带有全部默认参考值的构造函数的区别 书上说的是带有全部默认值的构造函数就是无参构造函数,私以为不以为然,来看下边这个例子: 1 #include <iostream> 2 using namespace std; 3 class A
分类:
编程语言 时间:
2016-03-05 20:09:59
阅读次数:
210
#include<iostream>#include<math.h>#include<time.h>using namespace std;void main(){ srand(time(0)); int a, b, c; for (int i = 0; i < 30; i++) { a = ran
分类:
其他好文 时间:
2016-03-05 18:55:46
阅读次数:
173
自产自销,不喜欢匆喷 解决思路,搞不定的地方就用new 加{} demo using (var db = DbServices.GetDbProvider()) { IQueryable<AreaPropertyLogEntity> queryAreaProperty = db.GetQuery<A
分类:
其他好文 时间:
2016-03-05 18:45:50
阅读次数:
141
鸡兔同笼 注意各种Error情况 #include <cstdio> #include <algorithm> #include <cstring> using namespace std; #define REP(n) for(int o=0;o<n;o++) bool Do() { int n,
分类:
其他好文 时间:
2016-03-05 14:41:03
阅读次数:
117
贪心算法 如果在类中定义自定义类型对应sort的比较函数,要注意再比较函数前加上static。说明该函数是静态函数,在内存中占用固定的内存。 1 #include <cstdio> 2 #include <algorithm> 3 using namespace std; 4 5 #define R
分类:
其他好文 时间:
2016-03-05 14:37:49
阅读次数:
146
贪心算法 1 #include <cstdio> 2 #include <algorithm> 3 #include <cstring> 4 using namespace std; 5 6 #define REP(n) for(int o=0;o<n;o++) 7 8 bool Do() { 9
分类:
其他好文 时间:
2016-03-05 14:37:36
阅读次数:
188
题目链接 #include #include using namespace std; typedef long long ll; int main() { ll n; while(~scanf("%I64d",&n)) {//其实算是 贪心了吧 //先手想赢,他会x2,这样子才能尽量避免让后手赢 ...
分类:
其他好文 时间:
2016-03-05 06:52:50
阅读次数:
190