Borderou de evaluare (job #3161483)
Utilizator | Data | 27 octombrie 2023 11:31:57 | |
---|---|---|---|
Problema | Minuni | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:13: error: variable 'std::ifstream fin' has initializer but incomplete type
3 | ifstream fin("minuni.in");
| ^
main.cpp:4:14: error: variable 'std::ofstream fout' has initializer but incomplete type
4 | ofstream fout("minuni.out")
| ^
main.cpp:6:1: error: expected ',' or ';' before 'long'
6 | long long n,m,x,y;
| ^~~~
main.cpp: In function 'int main()':
main.cpp:10:12: error: 'n' was not declared in this scope
10 | fin >> n >> m;
| ^
main.cpp:10:17: error: 'm' was not declared in this scope; did you mean 'tm'?
10 | fin >> n >> m;
| ^
| tm
main.cpp:12:16: error: 'x' was not declared in this scope
12 | fin >> x >> y;
| ^
main.cpp:12:21: error: 'y' was not declared in this scope
12 | fin >> x >> y;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !