Borderou de evaluare (job #2235299)
Utilizator | Data | 26 august 2018 15:48:36 | |
---|---|---|---|
Problema | Craciun | Status | done |
Runda | Algoritmiada 2018 Runda Maraton | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:74:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp:103:1: error: ‘priority_queue’ does not name a type
priority_queue <int, vi, cmp> Q;
^~~~~~~~~~~~~~
user.cpp: In function ‘void DFS(int)’:
user.cpp:109:2: error: ‘Q’ was not declared in this scope
Q.push(nod);
^
user.cpp: In function ‘void solve(int)’:
user.cpp:120:8: error: ‘Q’ was not declared in this scope
while(Q.size() != 1)
^
user.cpp:130:2: error: ‘Q’ was not declared in this scope
Q.pop();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !