Borderou de evaluare (job #3207622)
Utilizator | Data | 26 februarie 2024 16:33:21 | |
---|---|---|---|
Problema | Pluricex | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'ofstream' does not name a type
5 | ofstream fout("pluricex.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:9: error: 'ifstream' was not declared in this scope; did you mean 'std::ifstream'?
10 | ifstream fin("pluricex.in");
| ^~~~~~~~
| std::ifstream
In file included from /usr/include/c++/12.2.1/ios:38,
from /usr/include/c++/12.2.1/istream:38,
from /usr/include/c++/12.2.1/fstream:38,
from main.cpp:1:
/usr/include/c++/12.2.1/iosfwd:162:41: note: 'std::ifstream' declared here
162 | typedef basic_ifstream<char> ifstream;
| ^~~~~~~~
main.cpp:11:9: error: 'fin' was not declared in this scope
11 | fin>>n>>k>>d;
| ^~~
main.cpp: In function 'void afis()':
main.cpp:54:9: error: 'fout' was not declared in this scope
54 | fout<<z[i]<<' ';
| ^~~~
main.cpp:55:9: error: 'fout' was not declared in this scope
55 | fout<<'\n';
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !