
比赛
文章平均质量分 69
方偲~
大佬养成中...
展开
-
ACM-ICPC 2018 徐州赛区(网络预赛)
目录I Characters with HashI Characters with HashMur loves hash algorithm, and he sometimes encrypt another one's name, and call him with that encrypted value. For instance, he calls Kimura K...原创 2018-09-10 09:42:37 · 271 阅读 · 0 评论 -
zcmu-1862 zbj的狼人杀(约瑟夫回环变形)
Problem I: zbj的狼人杀Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 140 Solved: 44[Submit][Status][Web Board]Description这天zbj和小伙伴总共n个人出去玩狼人杀,玩的正开心的时候又来了一群人总共n个,硬是要跟他们一起玩,所以他们想了一个游戏规则准备赶走他们。规则是这...原创 2018-10-23 19:36:50 · 216 阅读 · 0 评论 -
zcmu-2163 项链(字符串回文,思维题)
2163: 项链Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 250 Solved: 109[Submit][Status][Web Board]Description强迫症非常麻烦,尤其是买东西的时候。冠璐女神的生日快到了,某强迫症要送一条项链送给她,重点是,这条项链要对称,这条项链要对称,这条项链要对称。(很重要所以说三遍)...原创 2018-07-24 10:23:09 · 290 阅读 · 0 评论 -
zcmu-2269: Double Cola(找规律)
参考博主链接 感谢!2269: Double ColaTime Limit: 2 Sec Memory Limit: 256 MBSubmit: 34 Solved: 26[Submit][Status][Web Board]Descriptiontime limit per test1 secondmemory limit per test256 megab...原创 2018-10-23 12:30:02 · 614 阅读 · 0 评论 -
HDU-4015:Mario and Mushrooms(找规律)
Mario and MushroomsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 872 Accepted Submission(s): 661 Problem DescriptionMario usually re...原创 2018-10-21 13:26:15 · 365 阅读 · 0 评论 -
ZOJ-1167:Trees on the Level(建立树,bfs)
转载博客链接 Trees on the LevelTime Limit: 2 Seconds Memory Limit: 65536 KBTrees are fundamental in many branches of computer science. Current state-of-the art parallel computers such as Thinkin...转载 2018-10-18 15:00:03 · 255 阅读 · 0 评论 -
HDU-4011 Working in Beijing(题意理解)
Working in BeijingTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 2113 Accepted Submission(s): 901 Problem DescriptionMr. M is an unde...原创 2018-10-21 12:08:54 · 710 阅读 · 0 评论 -
HDU-4054.Hexadecimal View(模拟,十六进制转换)
M - MTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 4054DescriptionHexadecimal is very important and useful for computer programmer...原创 2018-10-21 11:50:21 · 198 阅读 · 0 评论 -
(待补充)HDU-4109 Instrction Arrangement(拓扑排序)
//队友开的,我还没整明白呢!!待补充 (10.25)//(10.26)还是没有明白的感觉...研究了下拓扑排序,但是不知道该怎么应用..Instrction ArrangementTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s)...原创 2018-10-25 21:02:57 · 150 阅读 · 0 评论 -
HDU-4018 Parsing URL(水题也要把题目看清楚呀)
Parsing URLTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 2609 Accepted Submission(s): 1237 Problem DescriptionIn computing, a Unifor...原创 2018-10-26 13:31:11 · 162 阅读 · 0 评论 -
HDU-4135 Co-prime(容斥原理模板题)
C - CTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 4135DescriptionGiven a number N, you are asked to count the number of intege...原创 2018-10-24 08:33:53 · 189 阅读 · 0 评论 -
2018 浙江省赛
目录A.PeakB - King of KaraokeJ - CONTINUE...?L - Doki Doki Literature ClubM - Lucky 7A.Peak【题意】给出的数组的元素大小,是否符合只有一个先上升在下降的趋势#include <cstdio>#include <algorithm>#includ...原创 2019-04-24 14:51:11 · 434 阅读 · 0 评论 -
2018 浙大校赛
A.Pretty Matrix水题没啥好说的。。。就是我刚开始CE了。。。www#include <iostream>#include <cstring>#include <cmath>#include <algorithm>using namespace std;typedef long long ll;const int M...2019-04-23 20:16:53 · 186 阅读 · 0 评论 -
2019中山大学校赛
先挖个坑原创 2019-04-22 16:26:48 · 345 阅读 · 0 评论 -
(牛客网)第十五届浙江大学宁波理工学院程序设计大赛(同步赛)
一个下大雪闲来无事的午后做了下比赛,还是有很多值得总结的地方,水题就直接略过。I Race Sorting 队友主敲,我就是改改bug#include <iostream>#include <cstdio>#include <cstring>#include <map>#include <queue>#in...原创 2019-04-22 16:20:41 · 188 阅读 · 0 评论 -
吉首大学第八届“新星杯”题解AEGIJK
吉首大学第八届“新星杯”大学生程序设计大赛(暨新生网络同步赛) 问题 A: 组合数 组合数公式+分解质因子求因子个数 问题 E: Jack的A+B 细节 问题 G: 圆桌上的晚餐 循环遍历,dfs做法 问题 J: 老肖数等式 水 问题 I: 夫子云游 求方案数,dfs做法 问题 K: WaWa的难题 全排列后,找规律 ...原创 2018-12-26 14:48:39 · 704 阅读 · 0 评论 -
【11.5湖南长沙】Problem A. Welcome(水题,快速模拟出答案,学习思维)
Problem A. WelcomeInput file: Output file: Time limit: Memory limit:stdinstdout1 second128 megabytes”How happy we are, To meet friends from afar!”Welcome to Hunan University of Chinese ...原创 2018-11-06 19:10:29 · 629 阅读 · 0 评论 -
2159-Problem H.ly的小迷弟(二分查找解决TLE问题)
参考博客链接 Problem H: H.ly的小迷弟Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 168 Solved: 62[Submit][Status][Web Board]Description众所周知ly虽然是个小胖子,但是长得还是很好看的,所以她有很多小迷弟(bu cun zai de),但是ly当然不是个只看颜值...原创 2018-10-24 19:15:37 · 518 阅读 · 0 评论 -
zcmu-1979: 过分的谜题(超难找规律)
1979: 过分的谜题Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 124 Solved: 84[Submit][Status][Web Board]Description2060年是云南中医学院的百年校庆,于是学生会的同学们搞了一个连续猜谜活动:共有10个谜题,现在告诉所有人第一个谜题,每个谜题的答案就是下一个谜题的线索.......原创 2018-10-24 18:54:12 · 684 阅读 · 0 评论 -
HDU-6225-Little Boxes(4个大数相加,模板题)
Little BoxesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 4083 Accepted Submission(s): 1549 Problem DescriptionLittle boxes on the...原创 2018-10-25 14:04:52 · 240 阅读 · 0 评论 -
HDU-6222 Heron and His Triangle(找规律,大数)
E - ETime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 6222DescriptionA triangle is a Heron’s triangle if it satisfies that the side ...原创 2018-10-25 13:34:48 · 206 阅读 · 0 评论 -
zcmu-1907: k倍区间(前缀和)
1907: k倍区间Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 242 Solved: 66[Submit][Status][Web Board]Description给定一个长度为N的数列,A1, A2, ... AN,如果其中一段连续的子序列Ai, Ai+1, ... Aj(i <= j)之和是K的倍数,我们就称这个区...原创 2018-10-12 17:15:04 · 158 阅读 · 0 评论 -
中医药院校程序设计竞赛备赛一-Problem B: Amity Assessment(二维转一维)
Problem B: Amity AssessmentTime Limit: 2 Sec Memory Limit: 256 MBSubmit: 68 Solved: 27[Submit][Status][Web Board]DescriptionBessie the cow and her best friend Elsie each received a sliding ...原创 2018-09-27 10:06:49 · 205 阅读 · 0 评论 -
中医药院校程序设计竞赛备赛一-Problem H: Block Towers(题意理解)
题目解释看红字 DescriptionStudents in a class are making towers of blocks. Each student makes a (non-zero) tower by stacking pieces lengthwise on top of each other. n of the students use pieces made of ...原创 2018-09-18 20:27:18 · 393 阅读 · 0 评论 -
中医药院校程序设计竞赛备赛一-Problem E: k倍区间(抽屉原理)
Problem E: k倍区间Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 158 Solved: 48[Submit][Status][Web Board]Description给定一个长度为N的数列,A1, A2, ... AN,如果其中一段连续的子序列Ai, Ai+1, ... Aj(i <= j)之和是K的倍数,我们...原创 2018-09-18 18:23:20 · 143 阅读 · 0 评论 -
中医药院校程序设计竞赛备赛一-Problem D: 不存在的泳池(然而我觉得并不水啊)
Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 336 Solved: 145[Submit][Status][Web Board]Description小w是云南中医学院的同学,有一天他看到了学校的百度百科介绍:截止到2014年5月,云南中医学院图书馆纸本藏书74.8457万册,纸质期刊388种,馆藏线装古籍图书1.8万册,电...原创 2018-09-18 18:19:06 · 183 阅读 · 0 评论 -
ACM-ICPC 2018 焦作赛区(网络预赛)
目录A. Magic Mirror(签到题)I. Save the Room(签到题)A. Magic Mirror(签到题)Jessie has a magic mirror.Every morning she will ask the mirror: 'Mirror mirror tell me, who is the most beautiful girl in...原创 2018-09-17 21:06:29 · 285 阅读 · 0 评论 -
zcmu-Problem C: 周期串plus(求字符串最小周期)
Problem C: 周期串plusTime Limit: 1 Sec Memory Limit: 128 MBSubmit: 212 Solved: 101[Submit][Status][Web Board]Description如果一个字符串可以由某个长度为k的字符串重复多次得到,我们说该串以k为周期。例如abcabcabcabc以3为周期(当然他也以6,12为周期)。...原创 2018-09-17 20:44:51 · 341 阅读 · 0 评论 -
二分函数upper_bound()与lower_bound()使用【带例题】
A - ATime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 2551Description"临流揽镜曳双魂 落红逐青裙 依稀往梦幻如真 泪湿千里云" 在MCA山上,除了住着众多武林豪侠之外,还生活着一个低调的世外高人...原创 2018-10-14 21:17:54 · 408 阅读 · 0 评论 -
ZOJ-Problem Set - 2042 Divisibility(dp)
代码参考博客感谢博主! DivisibilityTime Limit: 2 Seconds Memory Limit: 65536 KBConsider an arbitrary sequence of integers. One can place + or - operators between integers in the sequence, thus der...原创 2018-10-18 11:26:09 · 202 阅读 · 0 评论 -
HDU- 6227 Rabbits(题意理解)
H - HTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionHere N (N ≥ 3) rabbits are playing by the river. They are playing on a number lin...原创 2018-10-22 19:30:47 · 353 阅读 · 0 评论 -
ZOJ-2060 Fibonacci Again(斐波那契找规律,水题)
ZOJ Problem Set - 2060Fibonacci AgainTime Limit: 2 Seconds Memory Limit: 65536 KBThere are another kind of Fibonacci numbers: F(0) = 7, F(1) = 11, F(n) = F(n-1) + F(n-2) (n>=2) Input...原创 2018-10-17 11:16:17 · 249 阅读 · 0 评论 -
zoj-2001 Adding Reversed Numbers(水题)
代码参考博客 DescriptionThe Antique Comedians of Malidinesia prefer comedies to tragedies. Unfortunately, most of the ancient plays are tragedies. Therefore the dramatic advisor of ACM has decided to t...原创 2018-10-17 11:02:36 · 219 阅读 · 0 评论 -
竞赛准备赛-4-C:兰顿蚂蚁 L: 数字游戏
Problem C: 兰顿蚂蚁题目链接 模拟一下就好了,把每个实现的功能分开写成独立的函数,不然写在一块儿会很乱。注意转换方向的时候不要弄错了(我就弄错了一次)#include <cstdio>#include <cstdlib>#include <cstring>#include <cmath>#include <c...原创 2018-10-09 21:06:33 · 168 阅读 · 0 评论 -
ZOJ - 4016 Mergeable Stack(使用list序列式容器超方便)
代码参考学习感谢博客链接 DescriptionGiven nn initially empty stacks, there are three types of operations: 1 sv: Push the value vv onto the top of the ss-th stack. 2 s: Pop the topmost value out ...原创 2018-10-16 10:48:29 · 234 阅读 · 0 评论 -
ZOJ-Problem Set - 1205(大数运算,二十进制加法,水)
Martian AdditionTime Limit: 2 Seconds Memory Limit: 65536 KB In the 22nd Century, scientists have discovered intelligent residents live on the Mars. Martians are very fond of mathematics...原创 2018-10-18 19:17:28 · 146 阅读 · 0 评论 -
ZOJ-Problem Set - 1037 Gridland(找规律求最短路径长度)
Time Limit: 2 Seconds Memory Limit: 65536 KBBackgroundFor years, computer scientists have been trying to find efficient solutions to different computing problems. For some of them efficien...原创 2018-10-18 15:24:53 · 161 阅读 · 0 评论 -
竞赛准备赛三-ly的新闹钟(时针分针重合次数)
Problem A:Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 148 Solved: 36[Submit][Status][Web Board]Description最近ly买了一个新闹钟,每天盯着这个闹钟看,越看越喜欢....为了不让ly浪费时间,wjw决定给ly提出一个要求....从x点整到y点整,时针和分针总共会碰到几次...原创 2018-10-08 20:57:55 · 267 阅读 · 0 评论 -
2019年湘潭大学程序设计竞赛(重现赛)ABCDEF
目录A Who's better?B NumberC Math ProblemD StoneE WatermelonF Black & White//G Truthman or Fakeman//H ChatA Who's better?凭实力疯狂冗余的代码。。。#include <...原创 2019-05-05 16:48:36 · 384 阅读 · 0 评论