Borderou de evaluare (job #1282293)
Utilizator | Data | 4 decembrie 2014 00:43:36 | |
---|---|---|---|
Problema | Elementul majoritar | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘ifstream’ does not name a type
ifstream f("elmaj.in");
^
user.cpp:4:1: error: ‘ofstream’ does not name a type
ofstream g("elmaj.out");
^
user.cpp: In function ‘int main()’:
user.cpp:9:5: error: ‘f’ was not declared in this scope
f>>n;nr1=0;
^
user.cpp:25:9: error: ‘g’ was not declared in this scope
g<<m<<" "<<nr1;
^
user.cpp:27:9: error: ‘g’ was not declared in this scope
g<<"-1";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !