QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#737234 | #9564. Hey, Have You Seen My Kangaroo? | ucup-team5409 | Compile Error | / | / | C++14 | 2.3kb | 2024-11-12 15:09:18 | 2024-11-12 15:09:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:3:1: error: ‘vector’ does not name a type 3 | vector<int>a[205],c[205],d[205]; | ^~~~~~ answer.code: In function ‘void add(int, int, int)’: answer.code:10:5: error: ‘a’ was not declared in this scope 10 | a[u].push_back(v); | ^ answer.code:12:5: error: ‘c’ was not declared in this scope 12 | c[u].push_back(w); | ^ answer.code:14:5: error: ‘d’ was not declared in this scope 14 | d[u].push_back(a[v].size()-1); | ^ answer.code: In function ‘void update()’: answer.code:23:9: error: ‘c’ was not declared in this scope 23 | c[pr1[p]][pr2[p]]-=l[t]; | ^ answer.code:24:14: error: ‘d’ was not declared in this scope 24 | c[p][d[pr1[p]][pr2[p]]]+=l[t]; | ^ answer.code: At global scope: answer.code:28:1: error: ‘queue’ does not name a type 28 | queue<int>q; | ^~~~~ answer.code: In function ‘bool bfs()’: answer.code:31:11: error: ‘q’ was not declared in this scope 31 | while(q.size()) | ^ answer.code:35:5: error: ‘memset’ was not declared in this scope 35 | memset(b,false,sizeof(b)); | ^~~~~~ answer.code:1:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’? +++ |+#include <cstring> 1 | answer.code:36:5: error: ‘q’ was not declared in this scope 36 | q.push(s); | ^ answer.code:37:10: error: ‘INT_MAX’ was not declared in this scope 37 | l[s]=INT_MAX; | ^~~~~~~ answer.code:1:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’? +++ |+#include <climits> 1 | answer.code:43:23: error: ‘a’ was not declared in this scope 43 | for(int i=0;i<a[n1].size();i++) | ^ answer.code:45:16: error: ‘c’ was not declared in this scope 45 | if(c[n1][i]&&!b[a[n1][i]]) | ^ answer.code:48:29: error: ‘min’ was not declared in this scope 48 | l[a[n1][i]]=min(l[n1],c[n1][i]); | ^~~ answer.code: In function ‘int main()’: answer.code:63:5: error: ‘ios’ has not been declared 63 | ios::sync_with_stdio(false); | ^~~ answer.code:64:5: error: ‘cin’ was not declared in this scope 64 | cin.tie(0); | ^~~ answer.code:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? +++ |+#include <iostream> 1 | answer.code:116:9: error: ‘cout’ was not declared in this scope 116 | cout<<"JIONG!"<<endl; | ^~~~ answer.code:116:9: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? answer.code:116:25: error: ‘endl’ was not declared in this scope 116 | cout<<"JIONG!"<<endl; | ^~~~ answer.code:1:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’? +++ |+#include <ostream> 1 | answer.code:124:9: error: ‘cout’ was not declared in this scope 124 | cout<<n*m-k-flow<<endl; | ^~~~ answer.code:124:9: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? answer.code:124:27: error: ‘endl’ was not declared in this scope 124 | cout<<n*m-k-flow<<endl; | ^~~~ answer.code:124:27: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?