摘要: POJ 2316 SPIN 题意简述:有一个密码锁,每次对密码锁每个轮盘进行操作,问最终状态。 很简单的模拟。。。 时间复杂度 O(nm),n是密码锁大小,m是操作次数。 #include <cstdio> #include <algorithm> #include <cstring> using 阅读全文
posted @ 2020-08-21 12:15 whatss7 阅读(341) 评论(0) 推荐(0)