DNA Sorting Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 83442 Accepted: 33584 Description One measure of ``unsortedness'' in a sequence ...
分类:
其他好文 时间:
2017-05-04 20:13:04
阅读次数:
219
//取消状态栏getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);一定得在setContentView()上面隐藏虚拟按键: prot ...
分类:
移动开发 时间:
2017-05-04 20:09:45
阅读次数:
274
selenium3+Python+firefox53 兼容问题,搞了一天,最后发现是被自己坑了。。。。 电脑安装了,Python2.7 跟Python3 pytho2.7下面是selenium2.4.x Python3下面是selenium3.x firefox是53 jdk是1.8 因为电脑jdk ...
分类:
编程语言 时间:
2017-05-04 20:00:18
阅读次数:
1081
Somtime 'async await' can have a bad effect on code proferemence. Let's take a look the below example: In the example, we are doing two await operatio ...
分类:
其他好文 时间:
2017-05-04 16:30:46
阅读次数:
167
1 #include<iostream> 2 #include<string> 3 using namespace std; 4 int main() 5 { 6 int n,i,j; 7 string s,f; 8 cin>>n;//输入行数 9 for (i=0;i<n;i++) 10 { 11 ...
分类:
其他好文 时间:
2017-05-04 14:41:52
阅读次数:
118
【jquery 事件绑定】 1、加入元素事件绑定 (1) 加入事件为当前元素 $('p').on('click',function(){ //code here ... }); (2) 加入事件为未来元素(动态加入元素) $(document父).on('click','p子',function() ...
分类:
Web程序 时间:
2017-05-04 14:41:24
阅读次数:
165
迭代器 迭代器是访问集合元素的一种方式。迭代器对象从集合的第一个元素开始访问,直到所有的元素被访问完结束。迭代器只能往前不会后退,不过这也没什么,因为人们很少在迭代途中往后退。另外,迭代器的一大优点是不要求事先准备好整个迭代过程中所有的元素。迭代器仅仅在迭代到某个元素时才计算该元素,而在这之前或之后 ...
分类:
编程语言 时间:
2017-05-04 14:41:09
阅读次数:
226
1 #include<iostream> 2 #include<set> 3 using namespace std; 4 int main() 5 { 6 int s=0; 7 int F=479001600; 8 multiset<unsigned int> a; 9 int n; 10 whi ...
分类:
其他好文 时间:
2017-05-04 13:26:27
阅读次数:
94
1 #include<stdio.h> 2 int main() 3 { 4 int a,b,s,t,i,j; 5 while((scanf("%d",&a)==1)) 6 { 7 if (a<=12&&a>=1) 8 { 9 t=0; 10 for (i=1;i<=a;i++) 11 { 12 s ...
分类:
其他好文 时间:
2017-05-04 13:23:53
阅读次数:
118