摘要: CSP-S 2023 题解 T1 密码锁 观察到锁的状态数量很少,可以考虑暴力搜索每一个状态判断合法性。令 \(k=10\),时间复杂度 \(O(10^k\times k)\)。 code #include <iostream> #include <cstdio> #include <cstring 阅读全文
posted @ 2023-11-01 12:05 ereoth 阅读(708) 评论(1) 推荐(0)