模拟
W.A.R
热爱敲代码(划掉)的低级代码狗缓慢level up ing!!!!
展开
-
PAT甲级1011 简单模拟
题目链接:传送门 emm无脑模拟,随便做就好 #include<stdio.h> #include<string.h> #include<math.h> #include<string> #include<algorithm> #include<iostream> #include<map> #include<...原创 2020-04-29 15:24:36 · 156 阅读 · 0 评论 -
PAT甲级1009 多项式乘法(简单模拟)
题目链接:传送门 多项式乘法,简单模拟跟之前多项式加法异曲同工,只要你英文够好看得出是多项式基本就没得问题。 #include<stdio.h> #include<string.h> #include<math.h> #include<algorithm> #include<map> #include<set> #includ...原创 2020-04-29 11:33:55 · 179 阅读 · 0 评论 -
PAT甲级1008 简单模拟
题目链接:传送门 简单模拟一下 坑点是如果相邻的两个楼层如果是相同的话不能只停留一个5秒,要照常当作两个楼层停留两个5秒。 #include<stdio.h> #include<string.h> #include<math.h> #include<algorithm> #include<map> #include<set> ...原创 2020-04-29 09:56:05 · 151 阅读 · 0 评论