B - You Are Given a Decimal String... CodeForces - 1202B
摘要:
#include <bits/stdc++.h> using namespace std; /* 这道题的难点在于怎样加x或者y才能使的a转化为b,并且加的x和y的和最少 这道题竟然用了floyd,转换成求最短路 这才深刻地体会到,我根本不会算法 */ const int maxn=10; const int INF=0x3f3f3f3f; int dis[maxn][maxn]; int num 阅读全文
posted @ 2019-10-19 10:40 文明大学生 阅读(160) 评论(0) 推荐(0)
浙公网安备 33010602011771号