Problem | pigeonnests |
---|---|
User | Sans12345 |
Submission Time | 2023-02-28 13:57:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pigeonnests.cpp:94:2: error: stray ‘#’ in program
94 | }#include <bits/stdc++.h>
| ^
pigeonnests.cpp:94:3: error: ‘include’ does not name a type
94 | }#include <bits/stdc++.h>
| ^~~~~~~
pigeonnests.cpp:97:11: error: redefinition of ‘const int nmax’
97 | const int nmax = 2001;
| ^~~~
pigeonnests.cpp:4:11: note: ‘const int nmax’ previously defined here
4 | const int nmax = 2001;
| ^~~~
pigeonnests.cpp:100:21: error: redefinition of ‘std::vector<std::pair<long long int, long long int> > adj [2001]’
100 | vector<pair<ll,ll>> adj[nmax];
| ^~~
pigeonnests.cpp:7:21: note: ‘std::vector<std::pair<long long int, long long int> > adj [2001]’ previously declared here
7 | vector<pair<ll,ll>> adj[nmax];
| ^~~
pigeonnests.cpp:101:4: error: redefinition of ‘ll st [2001]’