- 博客(5)
- 收藏
- 关注
原创 运用Doolitle分解法解线性方程组
#include<stdio.h> const int maxn=1100; double b[maxn],x[maxn],y[maxn]; double a[1100][1100]; double l[1100][1100]; double u[1100][1100]; int n; int main(){ scanf("%d",&n); for(int i=1;i<=n;i++) for(int j=1;j<=n;j++)
2020-09-28 09:10:07 1432 4
原创 2015长春网络赛 —— B. Ponds (拓扑排序删点+DFS)
题目描述 Description Betty owns a lot of ponds, some of them are connected with other ponds by pipes, and there will not be more than one pipe between two ponds. Each pond has a value v. Now Betty wants to remove some ponds because she does not have enough mon
2020-09-10 21:00:00 242 1
原创 UPC组队赛第三场——G: The Famous ICPC Team Again (主席树)
问题 G: The Famous ICPC Team Again 时间限制: 5 Sec 内存限制: 128 MB 题目描述 When Mr. B, Mr. G and Mr. M were preparing for the 2012 ACM-ICPC World Final Contest, Mr. B had collected a large set of contest problems for their daily training. When they decided to take tr
2020-09-09 13:27:57 147
原创 UPC组队赛第四场—— H: Boring Counting (主席树+二分)
问题 H: Boring Counting 时间限制: 3 Sec 内存限制: 128 MB 题目描述 In this problem you are given a number sequence P consisting of N integer and Pi is the ith element in the sequence. Now you task is to answer a list of queries, for each query, please tell us among [L,
2020-09-09 11:46:48 151 2
原创 UPC组队第三场——K: A Famous Grid (BFS+细节)
题目描述 Mr. B has recently discovered the grid named “spiral grid”. Construct the grid like the following figure. (The grid is actually infinite. The figure is only a small part of it.) Considering traveling in it, you are free to any cell containing a compo
2020-09-08 15:14:56 196 2
记事本说明文档word版
2022-10-01
安卓开发项目--天气预报
2022-10-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人