Borderou de evaluare (job #965059)
Utilizator | Data | 23 iunie 2013 10:58:08 | |
---|---|---|---|
Problema | Puncte2 | 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:5:5: error: ‘f’ was not declared in this scope
{ f>>n;
^
user.cpp:6:10: error: ‘g’ was not declared in this scope
if(n==3) g<<0;
^
user.cpp:7:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if(n=4) g<<1;
^
user.cpp:7:14: error: ‘g’ was not declared in this scope
else if(n=4) g<<1;
^
user.cpp:8:15: error: ‘g’ was not declared in this scope
else if(n==5) g<<5;
^
user.cpp:9:16: error: ‘g’ was not declared in this scope
else if (n==6) g<<15;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !