Borderou de evaluare (job #2141501)
Utilizator | Data | 24 februarie 2018 13:07:36 | |
---|---|---|---|
Problema | Doctor Who | Status | done |
Runda | Info Oltenia 2018 Proba pe Echipe Clasele 11 - 12 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void tare()’:
user.cpp:38:17: error: ‘n’ was not declared in this scope
for(i=1; i<=n; ++i)
^
user.cpp:51:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<C.size(); ++i)
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:63:6: error: redefinition of ‘void dfs(int)’
void dfs(int node)
^
user.cpp:16:6: note: ‘void dfs(int)’ previously defined here
void dfs(int node)
^
user.cpp: In function ‘int main()’:
user.cpp:70:12: error: ‘n’ was not declared in this scope
fin >> n >> m;
^
user.cpp:70:17: error: ‘m’ was not declared in this scope
fin >> n >> m;
^
user.cpp:71:9: error: ‘i’ was not declared in this scope
for(i=1; i<=n; ++i) fin >> Val[i];
^
user.cpp:73:9: error: ‘i’ was not declared in this scope
for(i=1; i<=m; ++i)
^
user.cpp:75:16: error: ‘x’ was not declared in this scope
fin >> x >> y;
^
user.cpp:75:21: error: ‘y’ was not declared in this scope
fin >> x >> y;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !