Borderou de evaluare (job #2242554)
Utilizator | Data | 18 septembrie 2018 21:48:17 | |
---|---|---|---|
Problema | Ferma3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int rezolvare1()’:
user.cpp:91:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int rezolvare2()’:
user.cpp:127:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:129:13: error: ‘j’ was not declared in this scope
for(j=1;j<=m;j++)
^
user.cpp:126:9: warning: unused variable ‘linie’ [-Wunused-variable]
int linie,coloana,culoare,smax=0;
^~~~~
user.cpp:126:15: warning: unused variable ‘coloana’ [-Wunused-variable]
int linie,coloana,culoare,smax=0;
^~~~~~~
user.cpp:126:23: warning: unused variable ‘culoare’ [-Wunused-variable]
int linie,coloana,culoare,smax=0;
^~~~~~~
user.cpp:126:31: warning: unused variable ‘smax’ [-Wunused-variable]
int linie,coloana,culoare,smax=0;
^~~~
user.cpp:134:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:138:11: warning: unused variable ‘i’ [-Wunused-variable]
int v,i,j;
^
user.cpp:138:13: warning: unused variable ‘j’ [-Wunused-variable]
int v,i,j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !