Borderou de evaluare (job #767916)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Livada | Compilator | cpp-32 |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 13 mar. 2024 20:28:36 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:25: error: 'i' does not name a type
9 | short int a[1001][1001];i,j,m,n,p,q,c1,c2;
| ^
main.cpp: In function 'int main()':
main.cpp:14:10: error: 'm' was not declared in this scope; did you mean 'tm'?
14 | fin>>m>>n>>p>>q;
| ^
| tm
main.cpp:14:13: error: 'n' was not declared in this scope
14 | fin>>m>>n>>p>>q;
| ^
main.cpp:14:16: error: 'p' was not declared in this scope
14 | fin>>m>>n>>p>>q;
| ^
main.cpp:14:19: error: 'q' was not declared in this scope
14 | fin>>m>>n>>p>>q;
| ^
main.cpp:16:9: error: 'i' was not declared in this scope
16 | for(i=1;i<=m;i++){
| ^
main.cpp:17:13: error: 'j' was not declared in this scope
17 | for(j=1;j<=n;j++){
| ^
main.cpp:22:9: error: 'i' was not declared in this scope
22 | for(i=1;i+p<=m;i++){
| ^
main.cpp:23:13: error: 'j' was not declared in this scope
23 | for(j=1;j+q<=n;j++){
| ^
main.cpp:26:17: error: 'c1' was not declared in this scope
26 | for(c1=i;c1<p+i;c1++){
| ^~
main.cpp:28:21: error: 'c2' was not declared in this scope
28 | for(c2=j;c2<q+j;c2++){
| ^~