Borderou de evaluare (job #1318372)
Utilizator | Data | 15 ianuarie 2015 21:39:15 | |
---|---|---|---|
Problema | CMMDC | 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:12:25: error: ‘ymax’ was not declared in this scope
xmin=xmax; ymin=ymax;
^
user.cpp:13:23: warning: left operand of comma operator has no effect [-Wunused-value]
for (int i=2;i<=n,i++)
^
user.cpp:13:30: error: expected ‘;’ before ‘)’ token
for (int i=2;i<=n,i++)
^
user.cpp:16:32: error: ‘xmin’ cannot be used as a function
xmin=min (x,xmin(n)) xmax=max(x,max);
^
user.cpp:16:35: error: expected ‘;’ before ‘xmax’
xmin=min (x,xmin(n)) xmax=max(x,max);
^
user.cpp:17:32: error: ‘ymin’ cannot be used as a function
ymin=min (y,ymin(n)) ymax=max(y,max);
^
user.cpp:17:35: error: expected ‘;’ before ‘ymax’
ymin=min (y,ymin(n)) ymax=max(y,max);
^
user.cpp: At global scope:
user.cpp:20:5: error: ‘g’ does not name a type
} g.close(); return 0;
^
user.cpp:20:16: error: expected unqualified-id before ‘return’
} g.close(); return 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !