MST su metropoliu

Taškai: 0

Compile: FAIL

MST_metropolis.cpp: In function ‘void solve(int)’: MST_metropolis.cpp:157:21: error: expected ‘)’ before ‘{’ token if(it != s.begin(){ ^ MST_metropolis.cpp: In function ‘int main()’: MST_metropolis.cpp:181:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d", &n, &m); ^ MST_metropolis.cpp:184:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d %d %d", &x, &y, &w); ^

nr.resulttimemessage