
codeforces
say_c_box
小白不能不努力~
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Round #364 (Div. 2)(A,B,C,D) 题解
PS:水平有限(惭愧脸)比赛的时候只写了前四题。剩下的等会写了再更新= =E貌似也不难,但还没调对。A. Cardstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard out原创 2016-07-23 10:51:56 · 1546 阅读 · 0 评论 -
CodeForces 699B——One Bomb(预处理,暴力枚举)
C - One BombTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionYou are given a description of a depot. It is a rectangular check原创 2016-07-23 12:15:29 · 866 阅读 · 0 评论 -
CodeForces 698A——Vacations(动态规划)
D - VacationsTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionVasya has n days of vacations! So he decided to improve his IT s原创 2016-07-23 12:59:34 · 1471 阅读 · 0 评论 -
Gym 100947C——Rotate It !!(水题水题)
Rotate It !!time limit per test2 secondsmemory limit per test64 megabytesinputstandard inputoutputstandard outputDzy and Fox have a sequence A consisting of N n原创 2016-08-06 22:55:19 · 513 阅读 · 0 评论 -
Codeforces Round #367 (Div. 2) D——Vasiliy's Multiset(异或字典树)
D. Vasiliy's Multisettime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAuthor has gone out of the stories ab原创 2016-08-12 13:45:33 · 914 阅读 · 0 评论 -
codeforces725D————Taxes(哥德巴赫猜想)
Taxestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMr. Funt now lives in a country with a very specific原创 2016-11-30 18:25:10 · 381 阅读 · 0 评论 -
codeforces 788B—— Weird journey(图论,组合,欧拉回路变形)详解
Weird journeytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle boy Igor wants to become a traveller.原创 2017-03-30 21:21:08 · 1018 阅读 · 0 评论 -
后缀数组nlogn模板
int t1[maxn],t2[maxn],c[maxn]; bool cmp(int *r,int a,int b,int l) { return r[a]==r[b] &&r[l+a] == r[l+b]; } void get_sa(int str[],int sa[],int Rank[],int height[],int n,int m) {原创 2017-08-09 15:44:03 · 378 阅读 · 0 评论