05 2018 档案

摘要:思路: 一般类似于数独的题目都是使用回溯解决,这里由于题目数据较小同样可以直接DFS得出结果。这里我用了一个偷懒的方法(next_permutation),直接求出全排列,然后将位置一一对应。 // Asimple #include <bits/stdc++.h> #define debug(a) 阅读全文
posted @ 2018-05-16 11:23 Asimple 阅读(302) 评论(0) 推荐(0) 编辑
摘要:A role-playing game (RPG and sometimes roleplaying game) is a game in which players assume the roles of characters in a fictional setting. Players tak 阅读全文
posted @ 2018-05-11 17:46 Asimple 阅读(277) 评论(0) 推荐(0) 编辑
摘要:链接:https://www.nowcoder.com/acm/contest/116/H来源:牛客网 题目描述 Once there was a king called XOR, he had a lot of land. Because of his name, he likes to play 阅读全文
posted @ 2018-05-02 11:15 Asimple 阅读(354) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示