Borderou de evaluare (job #3358754)
| Utilizator | Data | 19 iunie 2026 22:48:07 | |
|---|---|---|---|
| Problema | Plantatie | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:4:14: warning: missing terminating " character
4 | ifstream fin("plantatie.in);
| ^
main.cpp:4:14: error: missing terminating " character
4 | ifstream fin("plantatie.in);
| ^~~~~~~~~~~~~~~
main.cpp:5:14: error: expected ',' or '...' before '(' token
5 | ofstream fout("plantatie.out");
| ^
main.cpp:5:31: error: expected ')' before ';' token
5 | ofstream fout("plantatie.out");
| ^
| )
main.cpp:4:13: note: to match this '('
4 | ifstream fin("plantatie.in);
| ^
main.cpp: In function 'int main()':
main.cpp:21:8: error: invalid operands of types 'std::ifstream(std::ofstream)' {aka 'std::basic_ifstream<char>(std::basic_ofstream<char>)'} and 'int' to binary 'operator>>'
21 | fin>>n>>m;
| ~~~^~~
| | |
| | int
| std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}
main.cpp:26:16: error: invalid operands of types 'std::ifstream(std::ofstream)' {aka 'std::basic_ifstream<char>(std::basic_ofstream<char>)'} and 'int' to binary 'operator>>'
26 | fin>>a[i][j];
| ~~~^~~~~~~~~
| | |
| | int
| std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}
main.cpp:46:12: error: invalid operands of types 'std::ifstream(std::ofstream)' {aka 'std::basic_ifstream<char>(std::basic_ofstream<char>)'} and 'int' to binary 'operator>>'
46 | fin>>x>>y>>l;
| ~~~^~~
| | |
| | int
| std::ifstream(std::ofstream) {aka std::basic_ifstream<char>(std::basic_ofstream<char>)}
main.cpp:47:9: error: 'fout' was not declared in this scope
47 | fout<<getMin(x,y,l)<<endl;
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
