【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 · 1494 阅读 · 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 · 596 阅读 · 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 · 151 阅读 · 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 · 347 阅读 · 0 评论 -
【CCF-CSP】 202104-3 DHCP服务器
DHCP服务器原创 2022-06-04 23:18:24 · 231 阅读 · 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 · 153 阅读 · 0 评论
分享