Borderou de evaluare (job #1358940)
Utilizator | Data | 24 februarie 2015 20:40:37 | |
---|---|---|---|
Problema | Maxd | 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:8:14: error: ‘maxd’ was not declared in this scope
ifstream cin(maxd.in)
^
user.cpp:9:1: error: expected ‘,’ or ‘;’ before ‘ofstream’
ofstream cout(maxd.out)
^
user.cpp:12:16: error: ‘exp’ was not declared in this scope
while(n>0){exp=0;
^
user.cpp:13:17: error: ‘d’ was not declared in this scope
while(n%d==0){
^
user.cpp:18:12: error: invalid conversion from ‘int (*)(int)’ to ‘int’ [-fpermissive]
return nrdiv;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !