0_0_35991358_13850.cpp: In function 'int main()': 0_0_35991358_13850.cpp:43:26: error: 'm' was not declared in this scope while(scanf("%d %d",&n,&m)!=EOF) { ^ 0_0_35991358_13850.cpp:72:3: error: expected ';' before 'vec' vec.clear(); ^