Borderou de evaluare (job #2190340)
Utilizator | Data | 30 martie 2018 16:33:15 | |
---|---|---|---|
Problema | Teren | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:10: error: ‘n’ was not declared in this scope
fin>>n>>m>>x;
^
user.cpp:8:13: error: ‘m’ was not declared in this scope
fin>>n>>m>>x;
^
user.cpp:8:16: error: ‘x’ was not declared in this scope
fin>>n>>m>>x;
^
user.cpp:9:10: error: ‘i’ was not declared in this scope
for (i=1;i<=n;i++) {
^
user.cpp:10:14: error: ‘j’ was not declared in this scope
for (j=1;j<=m;j++) {
^
user.cpp:16:10: error: ‘i1’ was not declared in this scope
for (i1=1;i1<=n;i1++)
^~
user.cpp:17:14: error: ‘i2’ was not declared in this scope
for (i2=i1;i2<=n;i2++) {
^~
user.cpp:20:13: error: ‘suma’ was not declared in this scope
suma = 0;
^~~~
user.cpp:21:13: error: ‘st’ was not declared in this scope
st = 1;
^~
user.cpp:22:18: error: ‘dr’ was not declared in this scope
for (dr=1;dr <= m;dr++) {
^~
user.cpp:29:13: error: ‘aria’ was not declared in this scope
aria = (i2-i1+1) * (dr-st+1);
^~~~
user.cpp:29:33: error: ‘dr’ was not declared in this scope
aria = (i2-i1+1) * (dr-st+1);
^~
user.cpp:30:24: error: ‘maxim’ was not declared in this scope
if (aria > maxim)
^~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !