Borderou de evaluare (job #1021992)
Utilizator | Data | 4 noiembrie 2013 15:46:07 | |
---|---|---|---|
Problema | Proc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:12: warning: missing terminating ' character [enabled by default]
ifstream f('"proc.in");
^
user.cpp:6:1: error: missing terminating ' character
ifstream f('"proc.in");
^
user.cpp:7:11: error: expected ‘,’ or ‘...’ before ‘(’ token
ofstream g("proc.out");
^
user.cpp:7:23: error: expected ‘)’ before ‘;’ token
ofstream g("proc.out");
^
user.cpp: In function ‘int main()’:
user.cpp:38:8: error: invalid operands of types ‘std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}’ and ‘int’ to binary ‘operator>>’
f>>n>>one>>p;
^
user.cpp:41:5: error: ‘g’ was not declared in this scope
g<<tmin;
^
user.cpp:42:7: error: request for member ‘close’ in ‘f’, which is of non-class type ‘std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}’
f.close();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !