1 Excalibur__C

尚未进行身份认证

暂无相关简介

等级
TA的排名 2w+

Codeforces Round #623 (Div. 2, based on VK Cup 2019-2020 - Elimina F. Moving Points (树状数组)

F. Moving Pointstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n points on a coordinate axis OX. The i-th point is located at the ...

2020-02-26 01:09:54

Codeforces Round #624 (Div. 3) E. Construct the Binary Tree(模拟二叉树)

Description:You are given two integers nnn and ddd. You need to construct a rooted binary tree consisting of n vertices with a root at the vertex 111 and the sum of depths of all vertices equals to d...

2020-02-25 22:32:58

Codeforces Round #623 (Div. 2, based on VK Cup 2019-2020 - Elimina D. Recommendations(并查集)

time limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputVK news recommendation system daily selects interesting publications of one of n disjoint cate...

2020-02-24 16:29:14

Codeforces Round #575 (Div. 3) D2. RGB Substring (hard version)

time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe only difference between easy and hard versions is the size of the input.You are given...

2020-02-23 15:47:57

Codeforces Round #544 (Div. 3) E. K Balanced Teams(DP)

time limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are a coach at your local university. There are n students under your supervision, the pro...

2020-02-22 21:53:51

Codeforces Round #545 (Div. 2) D. Camp Schedule(KMP next数组使用)

time limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputThe new camp by widely-known over the country Spring Programming Camp is going to start soon. H...

2020-02-22 19:45:05

Codeforces Round #620 (Div. 2) C. Air Conditioner

DiscriptionGildong owns a bulgogi restaurant. The restaurant has a lot of customers, so many of them like to make a reservation before visiting it.Gildong tries so hard to satisfy the customers that...

2020-02-16 22:46:28

2020/2/15日志

这一周cf比赛很频繁,中间掉了两次,之后赶上来了昨天情人节那场估计都在陪npy过节吧hhh,出的三道题都没有难的算法,单身狗的上分夜~今晚的比赛还是关于思维,不过当时在交第一题的时候交错题目一直wawawa,最后搞到头铁心态都崩了明天补题...

2020-02-15 22:47:52

2020/2/13日志

最近cf很频繁昨晚教育div2 今晚还有一场div2思维冲冲冲然后vj上经常交不上不知道为什么冲冲冲

2020-02-13 11:16:03

数论——佩尔方程变量分解

最小解,记作(x1,y1),则所有的解(xi,yi)由以下的递回关系式得到:各个变量的通项公式:

2020-02-11 23:54:39

Codeforces Round 1300 D Aerodynamic(思维+中学数学)

#include<bits/stdc++.h>using namespace std;#define ll long longconst int maxnn=1e5+50;ll x[maxnn],y[maxnn];int n;int judge(){ for(int i=1;i<=n/2;i++) { int j=i+n/2; ...

2020-02-10 22:30:59

2020/2/9日志

前不久刚刚复习了01字典树,然后今天cf的c题就出了一道异或函数最大值计算序列,然后不知道怎么想的就按思路敲了半个小时…其实还是找规律,找到最大的之后根本无需考虑接下来的数列,f(a,b)函数看起来很麻烦实际简化了二进制每次末尾判断的运算,然后就转化为二进制串的处理问题就有很明显了,早该想到cf题目应该不会直接这么裸的算法,但也发现自己写生疏算法的时候还是不够果断,明天早起看看以前写的博客吧...

2020-02-10 01:16:52

2020/2/5日志

刚刚知道div3在1600之上几乎全是1A(爬,明明尽在咫尺结果又掉分早知道就手快读慢点打了,这次div3的e1e2也能做,但是敲完前四道就只剩下十分钟了,也就只读完题碰了碰运气。之后分析了分析如果每道题加快5min的出题速度e1也是有希望的。最近一直在研究cf的题目,数论练习没有特别刻意的刷过,依旧保持着原来的速度。斗志上继续加把劲。好像有些嗜睡,可能是家里过于舒服了?总感觉罪恶感挺深的。...

2020-02-05 23:51:56

2020/2/2日志

前天div2题目思路比较绕题目出的很慢,c题快结束前才调出来,如果没有延长半小时可能就是掉分场了,今天还有一场div3思维,打算报上继续锻炼手速思维,最近专题做起来心有余而力不足,一道题分析半天出来一交就wa很很无奈,两边都要更加努力阿,加油...

2020-02-04 09:53:52

2020/1/29日志

cf做了这么久终于遇到一个欧拉函数了,d题题目比较裸,套上模板就能过,以后尽量搞简单的板子,越繁琐越难调越容易头铁,前几道题都很麻烦估计都没有想看d的了最近疫情好像越来越厉害了,附近出现两个确诊的,人心惶惶我还是老老实实呆在家里打题吧希望今晚多上点分呀...

2020-01-30 01:42:09

Educational Codeforces Round 81 (Rated for Div. 2) D. Same GCDs

time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two integers a and m. Calculate the number of integers x such that 0≤x<m and ...

2020-01-30 01:32:19

2020/1/23日志

div3三道题…不出意外的话今晚应该是要暴毙了d题哪有时间写完啊摔现在只求少掉点分吧qwq

2020-01-23 00:47:32

2020/1/19日志

放假一周了,这一周打了两次cf,今晚不出意外应该是三道题,第四题刚调过就结束了,这次比上次手速快了点很多基本分析之后都能得到有效的解决方法(前几题简单也占很大一部分,网速好也占一大部分),数论练习依旧得跟上,最近光看cf老题还没怎么总结总结知识点,这两天好好写写。放了假但是事情还是好多啊啊啊...

2020-01-20 01:47:43

Codeforces Round #614 (Div. 2) C. NEKO's Maze Game

**time limit per test1.5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output3R2 as DJ Mashiro - Happiness BreezeIce - DJ Mashiro is dead or aliveNEKO#ΦωΦ has just ...

2020-01-20 01:46:31

Codeforces Round #614 (Div. 2) B. JOE is on TV!

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output3R2 - Standby for ActionOur dear Cafe’s owner, JOE Miller, will soon take part in a new game T...

2020-01-20 01:45:14

查看更多

勋章 我的勋章
  • 领英
    领英
    绑定领英第三方账户获取
  • Github
    Github
    绑定GitHub第三方账户获取
  • 技术圈认证
    技术圈认证
    用户完成年度认证,即可获得
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv4
    勤写标兵Lv4
    授予每个自然周发布9篇以上(包括9篇)原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。