
ccf
Lau Patrick
Hunan University
Any ideologies wont end up.
展开
-
ccf 202012-3 带配额的文件系统
ccf没调试太狗血了只过了题目里给的两个测试用例,不知道哪里错了,需要自己构造测试用例嘛????ps: 花了好几天时间写的,改天再看吧//// Created by clay on 2021/4/24.//#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; cin.get(); map<string,map<string,i原创 2021-04-29 15:34:13 · 243 阅读 · 0 评论 -
ccf 202104-2 邻域均值
第二题 updating...只得了70分,优化半天实在想不出怎么优化时间复杂度,改天再修改吧主要是维护一个区间和 利用map<vector<int>,map<vector<int>,int>>这个数据结构//// Created by clay on 2021/4/23.//#include <bits/stdc++.h>using namespace std;int main(){ int n,L,r,t..原创 2021-04-23 13:50:40 · 1552 阅读 · 2 评论 -
ccf 202012-2 期末预测之最佳阈值
multimap+map即可(累加的思想)//// Created by clay on 2021/4/13.//#include <bits/stdc++.h>using namespace std;int main(){ int m; cin>>m; multimap<int,int> mp; for(int i=0;i<m;i++){ int x,y; cin>>x&原创 2021-04-14 09:54:36 · 101 阅读 · 0 评论