Borderou de evaluare (job #1921527)
Utilizator | Data | 10 martie 2017 13:03:09 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:36: error: expected ‘,’ or ‘...’ before ‘int’
int divizor(int numar1, int numar2 int n=0)
^
user.cpp: In function ‘int divizor(int, int)’:
user.cpp:19:11: error: ‘n’ was not declared in this scope
return n;
^
user.cpp:20:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !