Borderou de evaluare (job #2320512)
Utilizator | Data | 14 ianuarie 2019 20:45:29 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'ifstream' does not name a type
ifstream in("cmlsc.in");
^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
ofstream out("cmlsc.out")
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:12:9: error: 'in' was not declared in this scope
in >> marime_sir_unu;
^~
main.cpp:41:13: error: 'out' was not declared in this scope
out << cel_mai_lung_subsir_comun[k]<<endl;
^~~
main.cpp:41:50: error: 'endl' was not declared in this scope
out << cel_mai_lung_subsir_comun[k]<<endl;
^~~~
main.cpp:41:50: note: suggested alternative:
In file included from /usr/include/c++/6/iostream:39:0,
from main.cpp:1:
/usr/include/c++/6/ostream:590:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^~~~
main.cpp:45:12: error: 'out' was not declared in this scope
out << "Inexistent";
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !