Borderou de evaluare (job #2204123)
Utilizator | Data | 14 mai 2018 17:57:32 | |
---|---|---|---|
Problema | Rj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:17:11: error: ‘::main’ must return ‘int’
void main()
^
user.cpp: In function ‘void citire()’:
user.cpp:29:1: error: ‘ifstream’ was not declared in this scope
ifstream f(InFile);
^~~~~~~~
user.cpp:29:1: note: suggested alternative:
In file included from /usr/include/c++/6/ios:38:0,
from /usr/include/c++/6/istream:38,
from /usr/include/c++/6/fstream:38,
from user.cpp:1:
/usr/include/c++/6/iosfwd:162:34: note: ‘std::ifstream’
typedef basic_ifstream<char> ifstream;
^~~~~~~~
user.cpp:30:1: error: ‘f’ was not declared in this scope
f>>n>>m;
^
user.cpp: In function ‘void afisare(int (*)[102])’:
user.cpp:66:1: error: ‘ofstream’ was not declared in this scope
ofstream f(OutFile);
^~~~~~~~
user.cpp:66:1: note: suggested alternative:
In file included from /usr/include/c++/6/ios:38:0,
from /usr/include/c++/6/istream:38,
from /usr/include/c++/6/fstream:38,
from user.cpp:1:
/usr/include/c++/6/iosfwd:165:34: note: ‘std::ofstream’
typedef basic_ofstream<char> ofstream;
^~~~~~~~
user.cpp:73:1: error: ‘f’ was not declared in this scope
f<<tmin<<' '<<xmin<<' '<<ymin<<endl;
^
user.cpp:73:32: error: ‘endl’ was not declared in this scope
f<<tmin<<' '<<xmin<<' '<<ymin<<endl;
^~~~
user.cpp:73:32: note: suggested alternative:
In file included from /usr/include/c++/6/istream:39:0,
from /usr/include/c++/6/fstream:38,
from user.cpp:1:
/usr/include/c++/6/ostream:590:5: note: ‘std::endl’
endl(basic_ostream<_CharT, _Traits>& __os)
^~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !