Borderou de evaluare (job #2598128)
Utilizator | Data | 11 aprilie 2020 12:00:50 | |
---|---|---|---|
Problema | Foametea | Status | done |
Runda | Fmi No Stress 9 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:35: error: ISO C++ forbids declaration of 'min' with no type [-fpermissive]
inline min(long long a,long long b){
^
main.cpp: In function 'void dijkstra()':
main.cpp:24:32: warning: unused variable 'l' [-Wunused-variable]
int node=pq.top().node,l=pq.top().l,c=pq.top().c,cost=pq.top().cost,nr=pq.top().nr;
^
main.cpp:24:45: warning: unused variable 'c' [-Wunused-variable]
int node=pq.top().node,l=pq.top().l,c=pq.top().c,cost=pq.top().cost,nr=pq.top().nr;
^
main.cpp: In function 'int main()':
main.cpp:54:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(!ok)
^~
main.cpp:56:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return 0;
^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !