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
阅读全文
摘要:坐标席判断线段是否相交 class Solution { public: bool isSelfCrossing(vector<int>& distance) { if(distance.size()<4){ return false; } vector<pair<int, int>> s = {
阅读全文
浙公网安备 33010602011771号