Borderou de evaluare (job #3204346)
Utilizator | Data | 16 februarie 2024 12:30:27 | |
---|---|---|---|
Problema | Rufe | Status | done |
Runda | 16_februarie_simulare_oji_2024_clasele_11_12 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:5:17: error: variable 'std::ifstream fin' has initializer but incomplete type
5 | ifstream fin("rufe.in");
| ^
main.cpp:6:18: error: variable 'std::ofstream fout' has initializer but incomplete type
6 | ofstream fout("rufe.out");
| ^
main.cpp:13:23: warning: unused variable 'firstDistance' [-Wunused-variable]
13 | long long firstDistance = a - n, secondDistance = b - m;
| ^~~~~~~~~~~~~
main.cpp:13:46: warning: unused variable 'secondDistance' [-Wunused-variable]
13 | long long firstDistance = a - n, secondDistance = b - m;
| ^~~~~~~~~~~~~~
main.cpp:15:13: error: 'firstDistance' was not declared in this scope
15 | if (firstDistance < 0) {
| ^~~~~~~~~~~~~
main.cpp:18:13: error: 'secondDistance' was not declared in this scope
18 | if (secondDistance < 0) {
| ^~~~~~~~~~~~~~
main.cpp:21:22: error: 'firstDistance' was not declared in this scope
21 | lastTshirt = firstDistance + secondDistance;
| ^~~~~~~~~~~~~
main.cpp:21:38: error: 'secondDistance' was not declared in this scope
21 | lastTshirt = firstDistance + secondDistance;
| ^~~~~~~~~~~~~~
main.cpp:7:21: warning: unused variable 'MAX_SIZE' [-Wunused-variable]
7 | const long long MAX_SIZE = 1000000000;
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !