QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#390577 | #3733. 地铁 | ucup-team1383 | Compile Error | / | / | C++98 | 1.5kb | 2024-04-15 17:21:58 | 2024-04-15 17:21:58 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:23:19: error: ‘>>’ should be ‘> >’ within a nested template argument list 23 | vector<vector<node>>g(100010); | ^~ | > > answer.code: In function ‘void dij()’: answer.code:28:16: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 28 | q.push({0, 1, -1}); | ^ answer.code:28:15: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 28 | q.push({0, 1, -1}); | ~~~~~~^~~~~~~~~~~~ answer.code:30:22: error: ‘t’ does not name a type; did you mean ‘tm’? 30 | auto t = q.top(); | ^ | tm answer.code:32:27: error: request for member ‘u’ in ‘t’, which is of non-class type ‘long long int [100010]’ 32 | int u = t.u; | ^ answer.code:33:27: error: request for member ‘w’ in ‘t’, which is of non-class type ‘long long int [100010]’ 33 | int w = t.w; | ^ answer.code:34:28: error: request for member ‘op’ in ‘t’, which is of non-class type ‘long long int [100010]’ 34 | int op = t.op; | ^~ answer.code:39:27: error: ‘c’ does not name a type 39 | for (auto c : g[u]) { | ^ answer.code:60:18: error: expected ‘;’ before ‘}’ token 60 | } | ^ | ; 61 | } | ~ answer.code:61:9: error: expected primary-expression before ‘}’ token 61 | } | ^ answer.code:60:18: error: expected ‘;’ before ‘}’ token 60 | } | ^ | ; 61 | } | ~ answer.code:61:9: error: expected primary-expression before ‘}’ token 61 | } | ^ answer.code:60:18: error: expected ‘)’ before ‘}’ token 60 | } | ^ | ) 61 | } | ~ answer.code:39:21: note: to match this ‘(’ 39 | for (auto c : g[u]) { | ^ answer.code:61:9: error: expected primary-expression before ‘}’ token 61 | } | ^ answer.code: In function ‘int main()’: answer.code:76:43: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 76 | g[a[i]].push_back({b[i], c[i], t[i]}); | ^ answer.code:76:42: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 76 | g[a[i]].push_back({b[i], c[i], t[i]}); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ answer.code:77:43: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 77 | g[b[i]].push_back({a[i], c[i], t[i]}); | ^ answer.code:77:42: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 77 | g[b[i]].push_back({a[i], c[i], t[i]}); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~