Borderou de evaluare (job #1955752)
Utilizator | Data | 6 aprilie 2017 10:44:05 | |
---|---|---|---|
Problema | Clepsidru | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:17: error: variable ‘std::ifstream fin’ has initializer but incomplete type
ifstream fin("clepsidru.in");
^
user.cpp:9:18: error: variable ‘std::ofstream fout’ has initializer but incomplete type
ofstream fout("clepsidru.out");
^
user.cpp:10:10: error: expected primary-expression before ‘>’ token
fin>>>n>>b;
^
user.cpp:7:13: warning: unused variable ‘s’ [-Wunused-variable]
int n,b,s,p,k;
^
user.cpp:7:15: warning: unused variable ‘p’ [-Wunused-variable]
int n,b,s,p,k;
^
user.cpp:7:17: warning: unused variable ‘k’ [-Wunused-variable]
int n,b,s,p,k;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !