Borderou de evaluare (job #2783035)
Utilizator | Data | 13 octombrie 2021 17:58:42 | |
---|---|---|---|
Problema | Cercuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:15:19: error: stray '\' in program
15 | cout << -1\n;
| ^
main.cpp: In function 'int main()':
main.cpp:12:5: error: 'f' was not declared in this scope
12 | f >> T;
| ^
main.cpp:13:5: error: 'g' was not declared in this scope
13 | g << fixed << setprecision(3);
| ^
main.cpp:15:19: error: expected ';' before 'n'
15 | cout << -1\n;
| ^~
| ;
main.cpp:18:9: error: 'dx' was not declared in this scope; did you mean 'dd'?
18 | dx = x2 - x1;
| ^~
| dd
main.cpp:19:9: error: 'dy' was not declared in this scope; did you mean 'dd'?
19 | dy = y2 - y1;
| ^~
| dd
main.cpp:21:9: error: 'sr' was not declared in this scope
21 | sr = r1 + r2;
| ^~
main.cpp:22:9: error: 'dr' was not declared in this scope; did you mean 'dd'?
22 | dr = abs(r1 - r2);
| ^~
| dd
main.cpp:11:16: warning: unused variable 'p' [-Wunused-variable]
11 | double dd, p, h;
| ^
main.cpp:11:19: warning: unused variable 'h' [-Wunused-variable]
11 | double dd, p, h;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !