#include using namespace std; int cant[101][102] = { 0 }; int ans[101] = { 0 }; bool kouwei[101][5] = { 0 }; int n, m; //²ÍÌü£¬Ñ§Éú void dg() { for (int i = 1; i <=n;i++){ int w=1; //cout<> n >> m; for (int i = 1; i <= m; i++) { int yi, er; cin >> yi >> er; if (er < yi) { int u = er; er = yi; yi = u; } if (yi < er) { cant[yi][0]++; cant[yi][cant[yi][0]] = er; } } dg(); for(int i=1;i<=n;i++){ cout<