上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页
摘要: 解题过程 开场lfw过A,然后byf突然想到E的构造方法,WA了一发开始查错,shl中途看G,说"这不是bzoj原题吗?"拿到一血带歪榜,然后byf该出E拿到一血又带歪榜。。。shl写出B,之后lfw C想复杂调不出,shl WA一发C过掉 ,byf发现F题是几何题,想起了寒假刚几何起步的lfw,b 阅读全文
posted @ 2019-04-21 19:03 StarHai 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 解题过程 开场shl突然不会背包,丢给lfw写A过了。然后shl推出C题,拿到一血。接着byf和lfw发现H是水题,开始写H,byf强行想写nlogn的复杂度,然后WA了,lfw重写H,然而没有认真读题,没有按照题中给的找循环节的方法,又WA了,3发WA才过。E题爆搜题,因为数据有\r,\n,shl 阅读全文
posted @ 2019-04-21 18:50 StarHai 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 解题过程 开场byf去修锅,各种spj没写,还有写挂的。开场shl写A,lfw写K,shl写E,shl写G,前期签到顺利。随后lfw推出D的规律,开始写,遇到了一些错误,首先MLE了,因为k^2预处理,lfw用的string来存不同的子串丢到unordered_map里,那么就是k^3的存储,肯定炸 阅读全文
posted @ 2019-04-21 18:30 StarHai 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 解题过程 中午吃饭比较晚,到机房lfw开始发各队的账号密码,byf开始读D题,shl电脑卡的要死,启动中...然后听到谁说A题过了好多,然后shl让blf读A题,A题blf一下就A了。然后lfw读完M题(shl的电脑终于打开了,然后输入密码,密码错误。。。自闭),说AC 自动机板题,然后找板子,,, 阅读全文
posted @ 2019-04-20 23:23 StarHai 阅读(2742) 评论(0) 推荐(0) 编辑
摘要: 解题过程 开场lfw看J,被孪生素数误导,没有看出水题的本质,byf及时提醒后,lfw忘记N=1的情况要特判。之后byf写E,忘记开long long,wa+1。Shl看出A题思路,告诉lfw开始写A,lfw忘记先排序,WA+1。byf看出B题做法,lfw写java过掉,shl与lfw讨论G,lfw 阅读全文
posted @ 2019-04-14 23:35 StarHai 阅读(1181) 评论(2) 推荐(0) 编辑
摘要: 解题过程 开场开A,A题shl看错题意,被制止。然后开始手推A,此时byf看错E题题意,开始上机。推出A的规律后,shl看了E题,发现题意读错。写完A题,忘记判断N=0的情况,WA+1。过了A后,shl重新写E,lfw开始开J题,E题过不了样例,lfw多次起立让shl调试,然后shl拿到E的一血,l 阅读全文
posted @ 2019-04-14 12:49 StarHai 阅读(2939) 评论(0) 推荐(1) 编辑
摘要: Team members StarHai binarycopycode Fly_White Caution 读题 数组第一维的访问速度比其他维速度快。 清空数组 乘法运算取模里面涉及到减法注意变为负数的情况,应该 ans=((ans-num)%mod + mod)%mod; 模板要自己想明白,不要总 阅读全文
posted @ 2019-04-13 17:23 StarHai 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 题目地址:https://codeforces.com/contest/1136 A: Nastya Is Reading a Book 题解:挨个判断即可,水题。 参考代码: 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n,l[11 阅读全文
posted @ 2019-04-09 00:17 StarHai 阅读(383) 评论(0) 推荐(1) 编辑
摘要: 解题过程 开场shl过B,C,然后lfw写J,J WA了以后shl写A,但是因为OJ上空间开小WA了,而不是MLE?,J加了特判过了。之后一直在检查A错哪了,直到qt发现问题改了空间,浪费许多时间,但是拿到A一血,shl和byf推出K,不会写组合数而抄了板子, 但是WA, shl想出E题拿到一血了, 阅读全文
posted @ 2019-03-25 16:57 StarHai 阅读(709) 评论(0) 推荐(0) 编辑
摘要: It's said that Aladdin had to solve seven mysteries before getting the Magical Lamp which summons a powerful Genie. Here we are concerned about the fo 阅读全文
posted @ 2019-03-13 16:48 StarHai 阅读(336) 评论(0) 推荐(0) 编辑
摘要: A.Regular bracket sequence A string is called bracket sequence if it does not contain any characters other than "(" and ")". A bracket sequence is cal 阅读全文
posted @ 2019-03-09 16:39 StarHai 阅读(713) 评论(0) 推荐(1) 编辑
摘要: A : Be Positive 题目地址:https://codeforces.com/problemset/problem/1130/A 题解:让你求是否满足一个d使得数列长为n的a数组的每个数除以d以后,所得数列正数的数量大于ceil(n);(除以后四舍五入,0不是正数) 注意d为负数的情况 参 阅读全文
posted @ 2019-03-04 21:49 StarHai 阅读(378) 评论(0) 推荐(0) 编辑
摘要: A. Sea Battle time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Sea Battle time limit pe 阅读全文
posted @ 2019-02-24 11:01 StarHai 阅读(632) 评论(0) 推荐(0) 编辑
摘要: D. Magic Gems time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Reziba has many magic gems 阅读全文
posted @ 2019-02-20 20:22 StarHai 阅读(233) 评论(0) 推荐(0) 编辑
摘要: A. Best Subsegment time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given array a1 阅读全文
posted @ 2019-02-20 12:54 StarHai 阅读(615) 评论(0) 推荐(0) 编辑
摘要: Rimi learned a new thing about integers, which is - any positive integer greater than 1 can be divided by its divisors. So, he is now playing with thi 阅读全文
posted @ 2019-02-18 22:04 StarHai 阅读(238) 评论(0) 推荐(0) 编辑
摘要: #define xhxj (Xin Hang senior sister(学姐)) If you do not know xhxj, then carefully reading the entire description is very important. As the strongest f 阅读全文
posted @ 2019-02-18 21:51 StarHai 阅读(863) 评论(0) 推荐(0) 编辑
摘要: Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only if it is divisible by 阅读全文
posted @ 2019-02-18 21:35 StarHai 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Treblecross is a two player game where the goal is to get three X in a row on a one-dimensional board. At the start of the game all cells in the board 阅读全文
posted @ 2019-02-17 09:26 StarHai 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Chinese people think of '8' as the lucky digit. Bob also likes digit '8'. Moreover, Bob has his own lucky number L. Now he wants to construct his luck 阅读全文
posted @ 2019-02-16 19:13 StarHai 阅读(335) 评论(0) 推荐(0) 编辑
摘要: Alice and Bob are playing a strange game. The rules of the game are: Now you are given the number of cells in each of the piles, you have to find the 阅读全文
posted @ 2019-02-16 18:59 StarHai 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Alice and Bob are playing game of Misère Nim. Misère Nim is a game playing on k piles of stones, each pile containing one or more stones. The players 阅读全文
posted @ 2019-02-16 18:56 StarHai 阅读(434) 评论(0) 推荐(0) 编辑
摘要: You are given an n x n chess board. Only pawn is used in the 'Incredible Chess' and they can move forward or backward. In each column there are two pa 阅读全文
posted @ 2019-02-16 18:52 StarHai 阅读(358) 评论(0) 推荐(0) 编辑
摘要: Jolly and Emily are two bees studying in Computer Science. Unlike other bees they are fond of playing two-player games. They used to play Tic-tac-toe, 阅读全文
posted @ 2019-02-16 18:44 StarHai 阅读(364) 评论(0) 推荐(0) 编辑
摘要: Adam and Eve enter this year’s ACM International Collegiate Programming Contest. Last night, they played the Calendar Game, in celebration of this con 阅读全文
posted @ 2019-01-28 19:44 StarHai 阅读(169) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 20 下一页