11 2021 档案

摘要:1.转成int处理结果超出int最大值了 class Solution { public: int ret=-1; int findMinStep(string board, string hand) { int bnum=9;//补一位9 int hnum[6]={0}; //RYBGW //46 阅读全文
posted @ 2021-11-10 11:50 巴啦啦大魔王 阅读(87) 评论(0) 推荐(0)
摘要:坐标席判断线段是否相交 class Solution { public: bool isSelfCrossing(vector<int>& distance) { if(distance.size()<4){ return false; } vector<pair<int, int>> s = { 阅读全文
posted @ 2021-11-01 11:00 巴啦啦大魔王 阅读(34) 评论(0) 推荐(0)