摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2807把矩阵相乘放在第二重循环,第三重循环只进行比较可以水过,优化的方法不懂主要用这题练习floyd的写法#include #include using namespace std ;const int INF=0... 阅读全文