![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
训练赛
Amber0130
这个作者很懒,什么都没留下…
展开
-
Regular Forestation
Regular Forestation时间限制: 1 Sec 内存限制: 128 MB题目描述A forestation is an act of planting a bunch of trees to grow a forest, usually to replace a forest that had been cut down. Strangely enough, graph theorists have another idea on how to make a forest, i.e原创 2020-09-01 13:58:54 · 161 阅读 · 0 评论 -
Find String in a Grid
Find String in a Grid时间限制: 10 Sec 内存限制: 256 MB题目描述You have a grid G containing RRR rows (numbered from 111 to RRR, top to bottom) and CCC columns (numbered from 111 to CCC, left to right) of uppercase characters. The character in the rth row and the原创 2020-08-31 09:21:05 · 173 阅读 · 0 评论 -
Addition Robot
Addition Robot时间限制: 3 Sec 内存限制: 256 MB题目描述Adding two numbers several times is a time-consuming task, so you want to build a robot. The robot should have a string S=S1S2…SNS=S_1S_2…S_NS=S1S2…SN of NNN characters on its memory that represents additi原创 2020-08-31 09:14:39 · 134 阅读 · 0 评论 -
小青争的零食
小青争的零食时间限制: 5 Sec 内存限制: 128 MB题目描述小静喜欢吃零食,快要变成小青争了。她万恶的好朋友小赵要求他连续吃两个零食之后必须吃一种蔬菜。(零食、蔬菜、零食、零食可以,但是蔬菜、零食、零食、零食不行)小静是一个听话、爱思考但是很能吃小姑娘,她想知道按照好朋友的要求,想吃饱的话,食物的不同序列,一共有多少种。输入本题有多组测试数据,处理到文件结束。每组数据输入三个数字 n,a,bn,a,bn,a,b。nnn 代表小青争吃饱要吃多少个食物,aaa 是零食的种类数,b原创 2020-08-31 09:02:06 · 292 阅读 · 0 评论 -
Songwriter
Songwriter时间限制: 1 Sec 内存限制: 256 MB题目描述Andi is a mathematician, a computer scientist, and a songwriter. After spending so much time writing songs, he finally writes a catchy melody that he thought as his best creation. However, the singer who will sin原创 2020-08-30 18:11:55 · 129 阅读 · 0 评论 -
磨合
磨合时间限制: 2 Sec 内存限制: 128 MB题目描述两个人对一件事有不同的看法时,就会产生矛盾发生摩擦。但一日日度过,不同形状的两颗心慢慢也会变得越发相近。小赵和小静经常会对一件事产生不同的看法,A or B不能折中。因为不愿意因为一些小事影响了彼此的友情,所以他们会选择一些无关紧要的事情向对方做出妥协。但是矛盾并不会因为一时的妥协而消失,只能尽量取得平衡,以期在将来说服对方(使用语言或者其他物理方式:)。已知两人对 nnn 件事情有不同的看法,每件事必须有一个人做出大度的让步,对第原创 2020-08-30 09:20:52 · 153 阅读 · 0 评论