QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#652105 | #7878. Matrix Distances | GuanYunchang | Compile Error | / | / | C++98 | 1.9kb | 2024-10-18 18:20:40 | 2024-10-18 18:20:59 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:14:1: error: ‘mt19937’ does not name a type 14 | mt19937 rng(chrono::steady_clock::now().time_since_epoch().count()); | ^~~~~~~ answer.code:39:31: error: ‘>>’ should be ‘> >’ within a nested template argument list 39 | map<long long,vector<long long>>mx,my; | ^~ | > > answer.code: In function ‘void solve()’: answer.code:56:14: error: ‘it’ does not name a type; did you mean ‘int’? 56 | for(auto it:st) | ^~ | int answer.code:75:6: error: expected ‘;’ before ‘cout’ 75 | } | ^ | ; 76 | cout<<ans*2<<"\n"; | ~~~~ answer.code:78:1: error: expected primary-expression before ‘}’ token 78 | } | ^ answer.code:76:23: error: expected ‘)’ before ‘}’ token 76 | cout<<ans*2<<"\n"; | ^ | ) 77 | 78 | } | ~ answer.code:56:8: note: to match this ‘(’ 56 | for(auto it:st) | ^ answer.code:78:1: error: expected primary-expression before ‘}’ token 78 | } | ^