Borderou de evaluare (job #3328844)
| Utilizator | Data | 10 decembrie 2025 19:01:44 | |
|---|---|---|---|
| Problema | CMMDC | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include fstream
| ^~~~~~~
main.cpp: In function 'int main()':
main.cpp:11:9: error: 'ifstream' was not declared in this scope
11 | ifstream fin(cmmdc.in);
| ^~~~~~~~
main.cpp:1:1: note: 'std::ifstream' is defined in header '<fstream>'; did you forget to '#include <fstream>'?
+++ |+#include <fstream>
1 | #include fstream
main.cpp:12:9: error: 'ofstream' was not declared in this scope
12 | ofstream fout(cmmdc.out);
| ^~~~~~~~
main.cpp:12:9: note: 'std::ofstream' is defined in header '<fstream>'; did you forget to '#include <fstream>'?
main.cpp:14:9: error: 'fin' was not declared in this scope
14 | fin a b;
| ^~~
main.cpp:16:22: error: expected ')' before numeric constant
16 | fout (result 1 result 0);
| ~ ^ ~
| )
main.cpp:16:9: error: 'fout' was not declared in this scope
16 | fout (result 1 result 0);
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
