Borderou de evaluare (job #2009318)
Utilizator | Data | 9 august 2017 12:52:53 | |
---|---|---|---|
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:7:13: error: ‘n’ was not declared in this scope
short a[n][m],b[n][m],m,n,i,j,min1,min2,jmin;
^
user.cpp:7:16: error: ‘m’ was not declared in this scope
short a[n][m],b[n][m],m,n,i,j,min1,min2,jmin;
^
user.cpp:11:10: error: ‘a’ was not declared in this scope
f>>a[i][j];
^
user.cpp:12:3: error: ‘b’ was not declared in this scope
b[1][0]=32000;
^
user.cpp:14:13: error: ‘a’ was not declared in this scope
b[1][i]=a[0][0]+a[0][i]+a[1][i];
^
user.cpp:41:26: error: ‘a’ was not declared in this scope
b[i+1][j]=min1+a[i][j]+a[i+1][j];
^
user.cpp:43:21: error: ‘a’ was not declared in this scope
b[i+1][j]=a[i][j]+a[i+1][j]+min2;
^
user.cpp:48:11: error: ‘a’ was not declared in this scope
g<<min1+a[m-1][n-1];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !