Problem | humantrafficking |
---|---|
User | gghx |
Submission Time | 2023-11-23 06:18:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
humantrafficking.cpp:2:7: error: expected nested-name-specifier before ‘namespacestd’
2 | using namespacestd;
| ^~~~~~~~~~~~
humantrafficking.cpp: In function ‘int main()’:
humantrafficking.cpp:8:2: error: ‘ios’ has not been declared
8 | ios::sync_with_stdio(0);
| ^~~
humantrafficking.cpp:9:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
9 | cin.tie(0);
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from humantrafficking.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
humantrafficking.cpp:12:2: error: ‘vector’ was not declared in this scope
12 | vector<pl> adj[n+1]; //endpoint, weight, traffic light
| ^~~~~~
humantrafficking.cpp:12:2: note: suggested alternatives:
I