
模拟
文章平均质量分 83
代码是块糖
来自SDUT计院学生一枚。个人主页:http://www.ihypo.net
展开
-
POJ 2632 Crashing Robots (模拟 坐标调整)(fflush导致RE)
fflush(stdin)会导致Runtime Error原创 2014-06-11 17:34:01 · 940 阅读 · 0 评论 -
POJ 1573 Robot Motion (经典模拟)
#include #include #include #include int bj[12][12];char MAP[12][12];int main(){ int n,m,s; while (~scanf ("%d%d%d",&n,&m,&s) && (n || m || s)) { memset (bj,0,size原创 2014-06-11 19:33:21 · 702 阅读 · 0 评论 -
POJ 1068 Parencodings (模拟)
题目地址:http://poj.org/problem?id=1068题目大意:有一穿叫S原创 2014-06-10 10:26:04 · 624 阅读 · 0 评论 -
POJ 2996 Help Me with the Game (模拟)
题目链接:http://poj.org/problem?id=2996POJ原创 2014-06-12 19:05:19 · 1122 阅读 · 0 评论 -
POJ 2993 Emag eht htiw Em Pleh (模拟)(strtok 应用)
题目链接:http://poj.org/problem?id=2993这个题和POJ 2996属于姊妹题,POJ 2996集体报告见:http://blog.youkuaiyun.com/codehypo/article/details/30281829就是给你黑白双方的每个棋子的信息(是哪种,以及坐标),然后填充这个棋盘,并打印。 其实这个题目比2996还要简单,不过这个题我尝试用了一下前几原创 2014-06-12 20:35:44 · 869 阅读 · 0 评论