11 2022 档案
摘要:此次读后感写于读完《程序员修炼之道:从小工到专家》的第二章的第二节 一、注重实效的途径: 2.正交性: 1)定义:简单说就是完全互不影响 2)非正交系统: 这提示我们不要依赖无法控制的事物属性。 3)编码过程:
阅读全文
摘要:本次读后感写于阅读完《代码大全2》第四章。 一、关键的”构建“决策 1.选择编程语言 二、编程约定 三、认清你在技术浪潮中的位置 四、选择主要的构建方法 五、总结
阅读全文
摘要:题目: 代码: #include<iostream> #include<cstdio> using namespace std; const int N=100010; //权值,父系节点,子系节点 struct node { int num,fa,ch; }; bool st[N]; int n;
阅读全文
摘要:题目: 代码: #include<iostream> #include<cstdio> #include<string> using namespace std; const int N=100010; //处理输入,跳过空格 string split(string s) { string ss;
阅读全文