sNowEmber
sNowEmber
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
sNowEmber的博客
全部文章
(共3篇)
题解 | #浮点数加法#人人都懂的版本
#include <algorithm> #include <iostream> using namespace std; int cf=0; string plusf(string x,string y){ int len1=x.size(),len2=y.siz...
2023-01-28
0
291
题解 | #【模板】单源最短路2#
个人认为比较标准的邻接矩阵Dij写法,仅供参考#include <bits/stdc++.h> #define INF 0x7fffffff using namespace std; int G[5050][5050]; int dis[5050]; //min dis fr...
2022-11-14
0
350
题解 | #玛雅人的密码#
简单易懂bfs,宝宝也能学会~ #include<bits/stdc++.h> using namespace std; struct str{ int count; //记录移动次数(为什么要加?答:因为bfs队列一直在循环,不清楚排队的兄弟经过了几次字符移动) st...
C++
C
广度优先搜索
2022-03-14
8
433