摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 int map[100][100],visited[100],du[100],flag,n,m,i,j,k; 5 int main() 6 { 7 while(~sc 阅读全文
posted @ 2019-11-02 18:45 念文丶 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 //这个题可以无视题目,只需要注意(如果无向图连通并且所有结点的度都是偶数,则存在欧拉回路,否则不存在。 ) 5 int map[1000][1000],visite 阅读全文
posted @ 2019-11-02 17:49 念文丶 阅读(206) 评论(0) 推荐(0) 编辑