Borderou de evaluare (job #2453932)
Utilizator | Data | 6 septembrie 2019 16:24:13 | |
---|---|---|---|
Problema | Aquapark | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'bool event::operator<(event) const':
main.cpp:30:38: warning: self-comparison always evaluates to false [-Wtautological-compare]
return mch[nr].first > mch[nr].first;
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp: At global scope:
main.cpp:41:1: error: 'vector' does not name a type
vector <int> g[MMAX + 5];
^~~~~~
main.cpp: In function 'void dfs(int, int)':
main.cpp:48:19: error: 'g' was not declared in this scope
for(auto it : g[node])
^
main.cpp: In function 'int main()':
main.cpp:78:17: error: 'g' was not declared in this scope
g[st.top()].push_back(v[i].nr);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !