Borderou de evaluare (job #773122)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Insule ( clasa a 10-a ) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 apr. 2024 16:59:11 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void citire()':
main.cpp:15:9: error: 'i' was not declared in this scope
15 | for(i=1;i<=n;i++)
| ^
main.cpp:16:13: error: 'j' was not declared in this scope
16 | for(j=1;j<m;j++)
| ^
main.cpp: In function 'void en(int, int)':
main.cpp:22:3: error: 'coada' was not declared in this scope; did you mean 'coadal'?
22 | coada[ultim]=l*65548+c;
| ^~~~~
| coadal
main.cpp: In function 'int de()':
main.cpp:27:15: error: 'coada' was not declared in this scope; did you mean 'coadal'?
27 | int ret_val=coada[prim];
| ^~~~~
| coadal
main.cpp: In function 'int main()':
main.cpp:42:8: error: 'l' was not declared in this scope; did you mean 'dl'?
42 | en(l,c);
| ^
| dl
main.cpp:42:10: error: 'c' was not declared in this scope; did you mean 'dc'?
42 | en(l,c);
| ^
| dc
main.cpp:43:5: error: 'insula' was not declared in this scope; did you mean 'insule'?
43 | insula(l,c)=-1;
| ^~~~~~
| insule
main.cpp:44:20: error: 'n' was not declared in this scope
44 | for(int k=1;k<=n;k++){
| ^
main.cpp:45:24: error: 'm' was not declared in this scope
45 | for(int r=1;r<=m;r++){
| ^
main.cpp:50:17: error: 'd' was not declared in this scope
50 | d=insule[l][c];
| ^
main.cpp:51:21: error: 'i' was not declared in this scope
51 | for(i=0;i<4;i++)
| ^
main.cpp:56:24: error: 'endll' was not declared in this scope
56 | }while (l!=endll || c!=endc);
| ^~~~~
main.cpp:56:36: error: 'endc' was not declared in this scope; did you mean 'en'?
56 | }while (l!=endll || c!=endc);
| ^~~~
| en
main.cpp:60:20: error: 'n' was not declared in this scope