Borderou de evaluare (job #3198957)
Utilizator | Pop Tudor tudorp_ | Data | 31 ianuarie 2024 10:37:30 |
---|---|---|---|
Problema | Roy-Floyd | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:13: error: variable 'std::ifstream fin' has initializer but incomplete type
8 | ifstream fin("rf.in");
| ^
main.cpp:9:14: error: variable 'std::ofstream fout' has initializer but incomplete type
9 | ofstream fout("rf.out");
| ^
main.cpp: In function 'int main()':
main.cpp:13:10: error: 'n' was not declared in this scope
13 | fin>>n;
| ^
main.cpp:18:18: error: 'm' was not declared in this scope; did you mean 'tm'?
18 | fin>>m[i][j];
| ^
| tm
main.cpp:28:28: error: 'm' was not declared in this scope; did you mean 'tm'?
28 | int drum_nou = m[i][k]+m[k][j];
| ^
| tm
main.cpp:39:19: error: 'm' was not declared in this scope; did you mean 'tm'?
39 | fout<<m[i][j]<<" ";
| ^
| tm
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !