Borderou de evaluare (job #2552063)
Utilizator | Data | 20 februarie 2020 15:47:01 | |
---|---|---|---|
Problema | Project management | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int timp(int)':
main.cpp:28:15: error: 'int timp(int)' redeclared as different kind of symbol
int timp(int x) {
^
main.cpp:11:5: note: previous declaration 'int timp [128]'
int timp[128];
^~~~
main.cpp:31:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[x].size(); i++)
~~^~~~~~~~~~~~~
main.cpp:32:41: error: 'timp' cannot be used as a function
res = max(res, v[x]+timp(g[x][i]));
^
main.cpp: In function 'void solve()':
main.cpp:39:34: error: 'timp' cannot be used as a function
res = max(res, timp(i));
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !