![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ZOJ
y931
这个作者很懒,什么都没留下…
展开
-
ZOJ1004 python AC
周末就松懈了,周一继续码题练手ZOJ1004:https://zoj.pintia.cn/problem-sets/91827364500/problems/91827364503以后就不放原题了,链接直接看大致题意:每次输入两行字符串,第一行字符串通过栈操作变形成第二串字符串,输出所有操作方案,以及每种方案的步骤规定的栈操作有两种:1) i: 入栈操作,将第一行字符串中首字母压入栈2) o: 出栈操作,将栈首字母出栈例子:madamadamm...原创 2020-05-25 18:23:48 · 312 阅读 · 0 评论 -
ZOJ1003 python AC
又一题愉快的暴搜(深搜),不过对python使用递推还是有点不习惯,python的参数传递方式和C++差的有点多好了,上题目ZOJ1003Crashing BalloonTime Limit: 2000 msMemory Limit: 65536 KBOn every June 1st, the Children's Day, there will be a game named "crashing balloon" on TV. The rule is very simple...原创 2020-05-22 15:25:03 · 298 阅读 · 0 评论 -
ZOJ1002 python AC
ZOJ1002:https://zoj.pintia.cn/problem-sets/91827364500/problems/91827364501Fire NetTime Limit: 2000 msMemory Limit: 65536 KBSuppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each re原创 2020-05-21 15:13:01 · 439 阅读 · 0 评论 -
ZOJ1001 python AC
日常无聊打发时间,刷刷题,由于不记得以前的号了,正好重新码起,以前都是用C++做题的,现在使用python3.8,复习复习算法的过程中顺便熟悉熟悉python的使用,第一篇多说点,后面就不说明了。好了,进入正题ZOJ1001 A + B ProblemTime Limit: 2000 msMemory Limit: 65536 KBCalculate a + bInputThe input will consist of a series of pa...原创 2020-05-21 15:01:28 · 384 阅读 · 0 评论