上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 31 下一页
摘要: # 计算机网络在信息时代中的应用 Internet是全球最大最重要的计算机网络 中文译名互联网、因特网。注意互联网≠互连网 互联网的两个重要基本特点**连通性**和**资源共享** # 互联网概述 **计算机网络的定义**,计算机网络是由若干结点和连接节点的链路组成的 互联网(Internet),互 阅读全文
posted @ 2022-09-05 21:52 PHarr 阅读(170) 评论(0) 推荐(0) 编辑
摘要: # 定义 **数据结构**:带**结构**的数据元素的集合 # 数据的逻辑结构 数据的逻辑结构可以归为四类 1. 线形结构,一个前驱一个后继 2. 树形结构,一个前驱多个后继 3. 图形结构,多个前驱多个后继 4. 集合结构,元素直接无直接关系的 # 数据的存储结构 数据的存储结构: 1. 顺序存储 阅读全文
posted @ 2022-09-05 21:13 PHarr 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 6 题 vp 排名 54/253 铜,现场排名22/152银 感觉浙江省的 acm 强度继承了浙江 oi 强度还是很高的 A. Hello, ACMer! 这题就是找到hznu的个数 #include<bits/stdc++.h> using namespace std; int32_t main( 阅读全文
posted @ 2022-09-01 21:22 PHarr 阅读(230) 评论(0) 推荐(0) 编辑
摘要: # 6-1 最大子段和 因为是字段和,所以要尽可能的多加,如果在加的过程中当前和为负数时,往后累加一定不会比保留当前值更优秀,所以要把之前的部分抛弃重新累加 ```cpp int mis(int a[], const int n) { int res = 0 , sum = 0 ; for( int 阅读全文
posted @ 2022-09-01 16:39 PHarr 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 总算度过了被踩的暑假训练生活 阅读全文
posted @ 2022-08-21 22:04 PHarr 阅读(463) 评论(0) 推荐(2) 编辑
摘要: - 换元法(替代法) - 分部积分法 # 18.1 代替法 **例子1** $$ \int x^2\cos x^3 \mathrm{d} x $$ 要求解这样的一个积分,可以从换元开始,首先使得$t=x^3$,这样自然而然的就可以得到$\cos x^3 = \ cos t$.但是并不能直接把$\ma 阅读全文
posted @ 2022-08-20 15:05 PHarr 阅读(123) 评论(0) 推荐(0) 编辑
摘要: I 鸽子的整数运算 #include<bits/stdc++.h> using namespace std; int read() { int x = 0, f = 1, ch = getchar(); while ((ch < '0' || ch > '9') && ch != '-') ch = 阅读全文
posted @ 2022-08-17 20:04 PHarr 阅读(83) 评论(0) 推荐(0) 编辑
摘要: A - When? 问21:00后的第k分钟的时间 #include<bits/stdc++.h> using namespace std; const int N = 2e5+5; int n , a[N] , cnt , k; int32_t main(){ int n , h = 21 , m 阅读全文
posted @ 2022-08-16 20:48 PHarr 阅读(15) 评论(0) 推荐(0) 编辑
摘要: G 最长递增长度 求一下最长上升子序列,这里用了一个典型的$O(n\log n )$的做法就是模拟栈,并且不断替换栈,使得栈中的元素在保持长度不变的情况下尽可能的小 #include<bits/stdc++.h> using namespace std; int read() { int x = 0 阅读全文
posted @ 2022-08-14 21:06 PHarr 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 题单地址 https://ac.nowcoder.com/acm/problem/collection/2647 阅读全文
posted @ 2022-08-10 20:38 PHarr 阅读(26) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 31 下一页