Borderou de evaluare (job #2431431)
Utilizator | Data | 19 iunie 2019 14:05:17 | |
---|---|---|---|
Problema | Camion | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: multiple types in one declaration
};
^
main.cpp:9:1: error: declaration does not declare anything [-fpermissive]
main.cpp: In function 'int main()':
main.cpp:12:10: error: 'n' was not declared in this scope
fin>>n>>m>>h>>c;
^
main.cpp:12:13: error: 'm' was not declared in this scope
fin>>n>>m>>h>>c;
^
main.cpp:12:16: error: 'h' was not declared in this scope
fin>>n>>m>>h>>c;
^
main.cpp:12:19: error: 'c' was not declared in this scope
fin>>n>>m>>h>>c;
^
main.cpp:13:10: error: 'i' was not declared in this scope
for (i=1;i<=n;i++)
^
main.cpp:14:14: error: 'j' was not declared in this scope
for (j=1;j<=m;j++)
^
main.cpp:15:13: error: 'v' was not declared in this scope
v[i][j]=j;
^
main.cpp:16:9: error: 'i' was not declared in this scope
for (i=1;i<=h;i++) {
^
main.cpp:19:9: error: 'i' was not declared in this scope
for (i=1;i<=n;i++) {
^
main.cpp:20:9: error: 'sol' was not declared in this scope
sol[i]=v[i][c];
^~~
main.cpp:20:16: error: 'v' was not declared in this scope
sol[i]=v[i][c];
^
main.cpp:21:9: error: 'sol2' was not declared in this scope
sol2[i]=c;
^~~~
main.cpp:23:9: error: 'i' was not declared in this scope
for (i=h;i>=1;i--) {
^
main.cpp:24:14: error: 'k' was not declared in this scope
for (k=n;k>=1;k--) {
^
main.cpp:26:17: error: 'sol2' was not declared in this scope
sol2[k]+=d[i].col-
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !