QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#474888 | #6749. Target | MaMengQi | Compile Error | / | / | C++98 | 931b | 2024-07-13 08:58:39 | 2024-07-13 08:58:39 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:5:1: error: ‘unordered_map’ does not name a type 5 | unordered_map<string,int> d; | ^~~~~~~~~~~~~ answer.code: In function ‘std::string bfs(double, double)’: answer.code:9:30: error: ‘>>’ should be ‘> >’ within a nested template argument list 9 | queue <pair<double,string>> q; | ^~ | > > answer.code:10:12: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 10 | q.push({a,""}); | ^ answer.code:10:11: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 10 | q.push({a,""}); | ~~~~~~^~~~~~~~ answer.code:11:5: error: ‘d’ was not declared in this scope 11 | d[""]=0; | ^ answer.code:27:20: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 27 | q.push({nx,ny}); | ^ answer.code:27:19: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 27 | q.push({nx,ny}); | ~~~~~~^~~~~~~~~ answer.code:33:20: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 33 | q.push({nx,ny}); | ^ answer.code:33:19: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 33 | q.push({nx,ny}); | ~~~~~~^~~~~~~~~ answer.code:36:1: warning: control reaches end of non-void function [-Wreturn-type] 36 | } | ^