Borderou de evaluare (job #2683047)
Utilizator | Data | 10 decembrie 2020 12:18:41 | |
---|---|---|---|
Problema | Sudest | Status | done |
Runda | ada35 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:1: error: 'ifstream' does not name a type
ifstream fin("sudest.in");
^~~~~~~~
main.cpp:4:1: error: 'ofstream' does not name a type
ofstream fout("sudest.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:20:2: error: 'fin' was not declared in this scope
fin>>n;
^~~
main.cpp:74:2: error: 'fout' was not declared in this scope
fout<<a[n][n]<<endl;
^~~~
main.cpp:74:17: error: 'endl' was not declared in this scope
fout<<a[n][n]<<endl;
^~~~
main.cpp:74:17: 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:84:9: error: 'l' was not declared in this scope
fout<<l[i].a<<" "<<sol[i].b<<endl;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !