Problem | adjmatrix |
---|---|
User | yongteckrice |
Submission Time | 2023-02-02 11:03:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
adjmatrix.cpp: In function ‘int main()’:
adjmatrix.cpp:11:24: error: expected ‘;’ before ‘)’ token
11 | for (int i{1};i<=n,i++)
| ^
| ;
adjmatrix.cpp:28:29: error: could not convert ‘it’ from ‘std::_Rb_tree_iterator<std::pair<const int, std::__cxx11::basic_string<char> > >’ to ‘bool’
28 | for (auto it = mp.begin(); it! = mp.end(); it++)
| ^~
| |
| std::_Rb_tree_iterator<std::pair<const int, std::__cxx11::basic_string<char> > >
adjmatrix.cpp:28:31: error: expected ‘;’ before ‘!’ token
28 | for (auto it = mp.begin(); it! = mp.end(); it++)
| ^
| ;
adjmatrix.cpp:28:33: error: expected primary-expression before ‘=’ token
28 | for (auto it = mp.begin(); it! = mp.end