Problem | erp |
---|---|
User | Haocheng |
Submission Time | 2024-11-15 16:39:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
erp.cpp:6:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin>>n>>e;
| ^~~
| sin
erp.cpp:7:8: error: ‘pi’ was not declared in this scope
7 | vector<pi> adj[n+3];
| ^~
erp.cpp:7:10: error: template argument 1 is invalid
7 | vector<pi> adj[n+3];
| ^
erp.cpp:7:10: error: template argument 2 is invalid
erp.cpp:7:19: error: array bound is not an integer constant before ‘]’ token
7 | vector<pi> adj[n+3];
| ^
erp.cpp:8:1: error: expected unqualified-id before ‘for’
8 | for(int i=0;i<e;i++){
| ^~~
erp.cpp:8:13: error: ‘i’ does not name a type
8 | for(int i=0;i<e;i++){
| ^
erp.cpp:8:17: error: ‘i’ does not name a type
8 | for(int i=0;i<e;i++){
| ^
erp.cpp:14:14: error: array bound is not an integer constant before ‘]’ token
14 | int