Borderou de evaluare (job #1537576)
Utilizator | Data | 27 noiembrie 2015 15:48:59 | |
---|---|---|---|
Problema | Patrate2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream fin("patrate2.in");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream fout("patrate2.out");
^
user.cpp: In function ‘int produs(int)’:
user.cpp:15:36: error: ‘i’ was not declared in this scope
temp+=vecotr_de_numar_mare[i]*numar;
^
user.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:28:5: error: ‘fin’ was not declared in this scope
fin>>n;
^
user.cpp:41:15: error: ‘prod’ was not declared in this scope
prod(i);
^
user.cpp:43:15: error: ‘a’ was not declared in this scope
for(int i=a[0];i>=1;--i){
^
user.cpp:45:9: error: ‘fout’ was not declared in this scope
fout<<vecotr_de_numar_mare[i];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !