Borderou de evaluare (job #2166358)
Utilizator | Data | 13 martie 2018 16:46:43 | |
---|---|---|---|
Problema | Multisum | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:1: error: ‘ifstream’ does not name a type
ifstream fi("multisum.in");
^
user.cpp:3:1: error: ‘ofstream’ does not name a type
ofstream fo("multisum.out");
^
user.cpp: In function ‘void divizori(int, int)’:
user.cpp:17:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p == divp.size()){
^
user.cpp: In function ‘int main()’:
user.cpp:63:3: error: ‘fi’ was not declared in this scope
fi >> n >> c;
^
user.cpp:63:14: error: ‘c’ was not declared in this scope
fi >> n >> c;
^
user.cpp:65:11: error: ‘a’ was not declared in this scope
fi >> a >> b;
^
user.cpp:65:16: error: ‘b’ was not declared in this scope
fi >> a >> b;
^
user.cpp:67:7: error: ‘ans’ was not declared in this scope
ans = 0; nr = 0;
^
user.cpp:67:16: error: ‘nr’ was not declared in this scope
ans = 0; nr = 0;
^
user.cpp:78:9: error: ‘fo’ was not declared in this scope
fo << ans << '\n';
^
user.cpp:80:9: error: ‘fo’ was not declared in this scope
fo << nr << '\n';
^
user.cpp:83:3: error: expected ‘;’ before ‘}’ token
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !