QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#651867 | #7878. Matrix Distances | HuangHanSheng | Compile Error | / | / | C++98 | 1.1kb | 2024-10-18 18:06:01 | 2024-10-18 18:06:17 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void answer_to_the_question()’: answer.code:17:21: error: ‘>>’ should be ‘> >’ within a nested template argument list 17 | vector<vector<ll>>arr(n,vector<ll>(m)); | ^~ | > > answer.code:18:21: error: ‘>>’ should be ‘> >’ within a nested template argument list 18 | map<ll,vector<ll>>mpx,mpy; | ^~ | > > answer.code:28:14: error: ‘i’ does not name a type 28 | for(auto i:mpx){ | ^ answer.code:36:6: error: expected ‘;’ before ‘for’ 36 | } | ^ | ; 37 | for(auto i:mpy){ | ~~~ answer.code:37:5: error: expected primary-expression before ‘for’ 37 | for(auto i:mpy){ | ^~~ answer.code:36:6: error: expected ‘;’ before ‘for’ 36 | } | ^ | ; 37 | for(auto i:mpy){ | ~~~ answer.code:37:5: error: expected primary-expression before ‘for’ 37 | for(auto i:mpy){ | ^~~ answer.code:36:6: error: expected ‘)’ before ‘for’ 36 | } | ^ | ) 37 | for(auto i:mpy){ | ~~~ answer.code:28:8: note: to match this ‘(’ 28 | for(auto i:mpx){ | ^ answer.code:37:14: error: ‘i’ does not name a type 37 | for(auto i:mpy){ | ^ answer.code:45:6: error: expected ‘;’ before ‘cout’ 45 | } | ^ | ; 46 | cout << (ansx+ansy)*2 << nl; | ~~~~ answer.code:47:1: error: expected primary-expression before ‘}’ token 47 | } | ^ answer.code:46:33: error: expected ‘)’ before ‘}’ token 46 | cout << (ansx+ansy)*2 << nl; | ^ | ) 47 | } | ~ answer.code:37:8: note: to match this ‘(’ 37 | for(auto i:mpy){ | ^ answer.code:47:1: error: expected primary-expression before ‘}’ token 47 | } | ^