Borderou de evaluare (job #2087407)
Utilizator | Data | 13 decembrie 2017 16:40:33 | |
---|---|---|---|
Problema | Divizor si multiplu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int nrdiv(int)’:
user.cpp:7:19: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
int nr1=0,d=2,p;
^
user.cpp: In function ‘int main()’:
user.cpp:31:5: error: expected ‘,’ or ‘;’ before ‘int’
int n,x,y,maxd=1,q,p;
^
user.cpp:32:9: error: ‘n’ was not declared in this scope
in>>n;
^
user.cpp:35:13: error: ‘x’ was not declared in this scope
in>>x>>y;
^
user.cpp:35:16: error: ‘y’ was not declared in this scope
in>>x>>y;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !