Problem | humantrafficking |
---|---|
User | gghx |
Submission Time | 2023-11-26 11:31:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
humantrafficking.cpp: In function ‘int main()’:
humantrafficking.cpp:47:17: error: ‘u’ was not declared in this scope
47 | if(determined[u]==1) continue;
| ^
humantrafficking.cpp:47:24: error: continue statement not within a loop
47 | if(determined[u]==1) continue;
| ^~~~~~~~
humantrafficking.cpp:49:21: error: ‘u’ was not declared in this scope
49 | for(int i=0;i<adj[u].size();i++){
| ^
humantrafficking.cpp:57:15: error: ‘u’ was not declared in this scope
57 | if(tfl<dist[u]) dist[u]--;
| ^
humantrafficking.cpp:58:14: error: ‘u’ was not declared in this scope
58 | determined[u]=1;
| ^
humantrafficking.cpp: At global scope:
humantrafficking.cpp:60:2: error: ‘cout’ does not name a type
60 | cout<<dist[1];
| ^~~~
humantrafficking.cpp:61:1: error: expected declaration b