Borderou de evaluare (job #1649048)
Utilizator | Data | 11 martie 2016 12:25:11 | |
---|---|---|---|
Problema | Fractii2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:11: error: expected unqualified-id before string constant
ifstream ("fractii2.in");
^
user.cpp:5:11: error: expected ‘)’ before string constant
user.cpp:6:11: error: expected unqualified-id before string constant
ofstream ("fractii2.out");
^
user.cpp:6:11: error: expected ‘)’ before string constant
user.cpp: In function ‘int calc(int, int)’:
user.cpp:16:1: error: ‘g’ was not declared in this scope
g<<i<<' ';
^
user.cpp:19:1: error: ‘g’ was not declared in this scope
g<<i+1<< ' ';}
^
user.cpp:20:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:26:1: error: ‘f’ was not declared in this scope
f>>t>>n;
^
user.cpp:26:4: error: ‘t’ was not declared in this scope
f>>t>>n;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !