
模拟
文章平均质量分 84
安静de想着网名
300字以内
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
acm 模板
卢卡斯定理 主席树 Sunday AC自动机 链式前向星 #include<string.h> #define MAX 10000 struct node { int to,nex,wei; }edge[MAX*2+5]; int head[MAX+5],cnt; void add(int u,int v,int w)//添加一个单向边u->v 权为w {...原创 2017-08-11 17:47:51 · 350 阅读 · 0 评论 -
About 日历
判断闰年,判断星期几原创 2017-08-12 14:54:25 · 528 阅读 · 0 评论 -
STL——set
set原创 2017-08-13 12:44:40 · 213 阅读 · 0 评论 -
机器人指令缩减【模拟】
CF-GYM-101608-E原创 2018-02-03 12:38:23 · 293 阅读 · 0 评论 -
GYM-101808-C-Help Shahhoud
C. Help Shahhoud Shahhoud is participating in the first Div.3 contest on Codeforces, the first problem was: Given two strings A and B of equal length N (N is odd), find the minimum number of steps n...原创 2018-07-18 12:48:51 · 460 阅读 · 0 评论 -
Call of Accepted【中缀表达式】2018ICPC沈阳网络赛
Call of Accepted You and your friends are at the table, playing an old and interesting game - the Call of Cthulhu. There is a mechanism in the game: rolling the dice. You use a notation to communica...原创 2018-09-08 18:52:10 · 374 阅读 · 0 评论 -
Origami【栈】
字节跳动冬令营网络赛 Chiaki has a very big sheet of paper. This sheet has a form of rectangle with dimensions 1 x n and numbers from 1 to n was written on each small 1 x 1 grid. Chiaki would like to fold the pa...原创 2018-12-01 18:28:58 · 326 阅读 · 0 评论