DjTang
DjTang
全部文章
分类
数据结构专题班(2)
算法笔记(1)
题解(10)
归档
标签
去牛客网
登录
/
注册
DjTang的博客
TA的专栏
2篇文章
0人订阅
数据结构笔记
2篇文章
697人学习
全部文章
(共33篇)
洛谷 P1025 [NOIP2001 提高组] 数的划分
连接:https://www.luogu.com.cn/problem/P1025 题目描述 将整数nn分成kk份,且每份不能为空,任意两个方案不相同(不考虑顺序)。 例如:n=7n=7,k=3k=3,下面三种分法被认为是相同的。 1,1,51,1,5; 1,5,11,5,1; ...
2021-08-16
0
531
SCAU2021春季个人排位赛第六场 (部分题解)
A题 AtCoder - abc184_f Problem Statement Takahashi will participate in a programming contest, which lasts for TT minutes and presents NN problem...
2021-08-16
0
590
SCAU2021春季个人排位赛第七场 (部分题解))
A:折半搜索+二分 跟上星期一样的知识点 B:拓扑排序 C:里面知识点都经常考并且糅合在一起,非常好的一道题。并查集+树DP考虑边的贡献 D:扫描线 上星期知识点 出这道题是因为可以用bitset暴力卡,可以学习bitset,但是记得补正解 E:思维题 拿来签到 ...
2021-08-16
0
444
SCAU2021春季个人排位赛第八场 (部分题解)
A:签到 B:高斯消元模板题,但我自己好像也没读懂题意 C:hash+暴力枚举C的长度(哈希base要以10,卡模数1e9+7被卡了) D:边双连通缩点+树直径 E:组合数学+DP F:思维 G:模拟 A题 CodeForces - 49D Vasya and Petya have i...
2021-08-16
0
436
SCAU2021春季个人排位赛第九场 (部分题解)
A题 CodeForces - 864C A bus moves along the coordinate line Ox from the point x = 0 to the point x = a. After starting from the point x = 0, it reac...
2021-08-16
0
436
01字典树 + 贪心 The XOR Largest Pair LibreOJ - 10050
题目描述 在给定的 NN 个整数 A1,A2,…,ANA1,A2,…,AN 中选出两个进行异或运算,得到的结果最大是多少? 输入格式 第一行一个整数 NN。 第二行 NN 个整数 AiAi。 输出格式 一个整数表示答案。 样例 Input Output ...
2021-08-16
0
381
Codeforces Round #722 (Div. 2) 20210525
A. Eshag Loves Big Arrays time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Eshag has an array...
2021-08-16
0
720
Codeforces Round #723 (Div. 2)
晚晚上号 A. Mean Inequality 题解 排序,从左往右,奇数位放最大,偶数为放最小,然后一路放上去放满2*n个数即可。题目说明了必定有一组b满足条件。 code: #include <iostream> #include <stdio.h> #inclu...
2021-08-16
0
436
Deltix Round,Spring2021(open for everyone,rated,Div.1+Div.2)
A. Game of Life time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output William really likes the ce...
2021-08-16
0
370
专题一 MATLAB基础知识
1.1 MATLAB系统环境 操作界面: (1)MATLAB主窗口 (2)命令行窗口 命令行窗口用于输入命令并显示命令的执行结果 续行符:…加换行 (3)当前文件夹窗口 如何设置: 在当前文件夹工具栏或者当前文件夹窗口选择某文件夹为当前文件夹 使用cd命令(cd e:\work)...
2021-08-16
0
753
首页
上一页
1
2
3
4
下一页
末页