10 2018 档案
摘要:regular expressions 参考博客:https://blog.csdn.net/zhouzhaoxiong1227/article/details/52026323?utm_source=blogxgwz1 1.数字 1)正整数: ^[1-9][0-9]*$ 2)非正整数: ^((-[
阅读全文
摘要:转至:https://blog.csdn.net/hairetz/article/details/4161954 (1) getch()和getche()函数 这两个函数都是从键盘上读入一个字符。其调用格式为: getch(); getche(); 两者的区别是: getch()函数不将读入的字符回
阅读全文
摘要:DOM是Document Object Model文档对象模型的缩写。 D:文档 – html 文档 或 xml 文档 O:对象 – document 对象的属性和方法 M:模型 The HTML DOM Tree of Objects html 的DOM是关于如何获取、修改、添加、删除html元素
阅读全文
摘要:01 exam JavaScript String Methods Replace "Microsoft" with "W3Schools" in the paragraph below: Try it paul,paula,pauline,panl,paul
阅读全文
摘要:到现在还不知道为什么我设置的背景图片为什么没有效果,明明是按照网上的教程来的,但。。。。。。。。。。。好气哦,,,,,,,,,嗯哼嗯哼嗯哼 说实话:自己写的网页真丑 。。。。。真丑 index.html logIn.html register.html css.css logIn.css
阅读全文
摘要:#include<iostream> using namespace std; int main() { cout<<endl; endl(cout); getchar(); return 0; } #include<iostream> using namespace std; int main()
阅读全文
摘要:转至:https://blog.csdn.net/CallMeQiuqiuqiu/article/details/54743459 http://www.w3school.com.cn/cssref/css_colors_legal.asp 在CSS中怎样修改文字颜色呢? 1.通过英文单词来赋值 2
阅读全文
摘要:地址:https://www.w3schools.com/css/css_units.asp https://www.cnblogs.com/xiaohuochai/p/5485683.html em rem
阅读全文
摘要:#include #include #include using namespace std; void bubblesort(int A[],int n) { for(bool sorted=false;sorted=!sorted;n--) for(int i=1;iA[i]) { swap(A[i-1],...
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=2049 思路: 正难则反。可以反着来求:选对的情况。利用排列组合公式: 然后再求剩下的都选错有多少情况。递推寻找规律: code:
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=2046 思维:与之前有两道题目相似,n可以由n-1和n-2递推过来。f(n)=f(n-1)*1+f(n-2)*1. 也可以在草稿纸上直接画,寻找各项之间的规律。规律很明显。 code:
阅读全文
摘要:题目:http://acm.hdu.edu.cn/showproblem.php?pid=1290 思路:先在草稿纸上画,找规律。 规律: a[n],b[n],c[n],分别代表一条直线分成的段数,二维的块数,三位的块数。 先考虑二维(直线)的情况,n个点把直线分成的份数a[n]=n+1。二维(平面
阅读全文

浙公网安备 33010602011771号