Borderou de evaluare (job #1894474)
Utilizator | Data | 26 februarie 2017 20:58:15 | |
---|---|---|---|
Problema | Lacusta | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:7: error: ‘n’ was not declared in this scope
fin>>n>>m;
^
user.cpp:8:10: error: ‘m’ was not declared in this scope
fin>>n>>m;
^
user.cpp:10:41: error: ‘a’ was not declared in this scope
for(i=1;i<=n;i++)for(j=1;j<=m;j++)fin>>a[i][j];
^
user.cpp:11:2: error: ‘b’ was not declared in this scope
b[2][1]=32000;
^
user.cpp:12:27: error: ‘a’ was not declared in this scope
for(j=2;j<=m;j++)b[2][j]=a[2][j]+a[1][j]+a[1][1];
^
user.cpp:24:30: error: ‘a’ was not declared in this scope
if(j!=jmin)b[i+1][j]=min1+a[i+1][j]+a[i][j];
^
user.cpp:25:24: error: ‘a’ was not declared in this scope
else b[i+1][j]=min2+a[i+1][j]+a[i][j];
^
user.cpp:30:13: error: ‘a’ was not declared in this scope
fout<<min1+a[n][m]<<endl;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !