![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
【CCF-CSP】
文章平均质量分 66
ccf-csp的刷题之路
拉斯克尔尼科夫
这个作者很懒,什么都没留下…
展开
-
【CCF-CSP】202203-3 计算资源调度器
题目:计算资源调度器 50分代码 #include<bits/stdc++.h> using namespace std; const int N = 1010; int n,m; typedef struct node{ int area;//分区 int id;//节点编号 int task;//任务数量 }node; bool cmp(const node x,const node y){ if(x.task != y.task){ ret原创 2022-04-21 17:54:46 · 1402 阅读 · 2 评论 -
【CCF-CSP】 202109-3 脉冲神经网络
题目 题目:脉冲神经网络 代码 一、33分版本 #include<bits/stdc++.h> using namespace std; static unsigned long ne = 1; const int M = 1000; const int BM = 100000; /* RAND_MAX assumed to be 32767 */ int myrand(void) { ne = ne * 1103515245 + 12345; return((unsigned原创 2022-05-21 11:08:46 · 527 阅读 · 0 评论 -
【CCF-CSP】 202112-1 序列查询
一、题目 202112-1 序列查询 二、题解 70分 被删掉找不到了XD 思路就是暴力求每个f(i)和g(i),做差取绝对值求和。 当时参加考试的我甚至连暴力的方法都没想到,太菜了哈哈哈 100分 #include<bits/stdc++.h> using namespace std; const int M = 100010; int n,N; int a[M]; int main() { //freopen("C:/Users/Anderson/Desktop/in.txt",原创 2022-05-30 16:35:54 · 128 阅读 · 0 评论 -
【CCF-CSP】202112-3 登机牌条码
题目 202112-3 登机牌条码 代码 #include<bits/stdc++.h> using namespace std; const int N = 100010; int main() { int mode = 0; int w,s; cin>>w>>s; string in; int code[N]; int res[N]; cin>>in; int j=0; for(in原创 2022-05-13 17:58:51 · 299 阅读 · 0 评论 -
【CCF-CSP】 202104-3 DHCP服务器
DHCP服务器原创 2022-06-04 23:18:24 · 202 阅读 · 0 评论 -
【CCF-CSP】20190302 二十四点(java)
代码 import java.util.*; public class Main2 { static HashMap<Character,Integer> pr = new HashMap<Character, Integer>(); static Stack<Integer> num; static Stack<Character> op; public static void main(String args[]) { Scanner in原创 2021-08-19 11:43:29 · 120 阅读 · 0 评论