Borderou de evaluare (job #732954)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Geometrie (clasa a 8-a) | Compilator | cpp-32 |
Rundă | Tema 1 Clasa a 8-a | Status | evaluat |
Dată | 22 sept. 2023 16:48:10 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:43: error: expected initializer before '-' token
11 | double n,c,x2,y2,minn=1001,x3=-1001,y3-1001;
| ^
main.cpp:23:34: error: 'y3' was not declared in this scope; did you mean 'x3'?
23 | if (y[i]>y3) {
| ^~
| x3
main.cpp:30:21: error: 'y3' was not declared in this scope; did you mean 'x3'?
30 | y3=y[i];
| ^~
| x3
main.cpp:36:29: error: 'y3' was not declared in this scope; did you mean 'x3'?
36 | out << x3 << " " << y3;
| ^~
| x3