Borderou de evaluare (job #2106779)
Utilizator | Data | 16 ianuarie 2018 10:53:07 | |
---|---|---|---|
Problema | Pescari | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void bordare()’:
user.cpp:15:20: error: ‘n’ was not declared in this scope
for(int i=0;i<=n+1;i++)
^
user.cpp:17:9: error: ‘a’ was not declared in this scope
a[i][0]=a[i][m+1]=-3;
^
user.cpp:17:22: error: ‘m’ was not declared in this scope
a[i][0]=a[i][m+1]=-3;
^
user.cpp:19:20: error: ‘m’ was not declared in this scope
for(int j=0;j<=m+1;j++)
^
user.cpp:21:9: error: ‘a’ was not declared in this scope
a[0][j]=a[n+1][j]=-3;
^
user.cpp:21:19: error: ‘n’ was not declared in this scope
a[0][j]=a[n+1][j]=-3;
^
user.cpp: In function ‘void afisare()’:
user.cpp:26:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:26:16: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:27:1: error: expected primary-expression before ‘}’ token
}
^
user.cpp:27:1: error: expected ‘;’ before ‘}’ token
user.cpp: In function ‘int main()’:
user.cpp:31:10: error: ‘n’ was not declared in this scope
fin>>n>>m>>p1;
^
user.cpp:31:13: error: ‘m’ was not declared in this scope
fin>>n>>m>>p1;
^
user.cpp:31:16: error: ‘p1’ was not declared in this scope
fin>>n>>m>>p1;
^
user.cpp:32:5: error: ‘p’ was not declared in this scope
p=1;
^
user.cpp:37:18: error: ‘a’ was not declared in this scope
fin>>a[i][j];
^
user.cpp:41:17: error: ‘u’ was not declared in this scope
u++;
^
user.cpp:48:9: error: ‘lee’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !