Borderou de evaluare (job #1981427)
Utilizator | Data | 15 mai 2017 18:32:10 | |
---|---|---|---|
Problema | Trapez | 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:23:16: error: variable ‘std::ifstream in’ has initializer but incomplete type
ifstream in("trapez.in");
^
user.cpp:24:17: error: variable ‘std::ofstream out’ has initializer but incomplete type
ofstream out("trapez.out");
^
user.cpp:35:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= v.size(); i++){
^
user.cpp:36:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i; j <= v.size(); j++){
^
user.cpp:43:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < pv.size(); i++){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !