Borderou de evaluare (job #1107692)
Utilizator | Data | 14 februarie 2014 09:21:22 | |
---|---|---|---|
Problema | Triunghi3 | 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:9:7: error: ‘n’ was not declared in this scope
fin>>n;
^
user.cpp:10:7: error: ‘i’ was not declared in this scope
for (i=1;i<=n;i++)
^
user.cpp:11:8: error: ‘j’ was not declared in this scope
for (j=1;j<=i;j++) {
^
user.cpp:12:4: error: ‘ic’ was not declared in this scope
ic=i;
^
user.cpp:13:9: error: ‘a’ was not declared in this scope
fin>>a[ic][j];
^
user.cpp:17:7: error: ‘i’ was not declared in this scope
for (i=1;i<=n;i++)
^
user.cpp:18:8: error: ‘j’ was not declared in this scope
for (j=1;j<=n-i+1;j++)
^
user.cpp:19:4: error: ‘l’ was not declared in this scope
l[i][j]=l[i-1][j]+a[i][j];
^
user.cpp:19:22: error: ‘a’ was not declared in this scope
l[i][j]=l[i-1][j]+a[i][j];
^
user.cpp:20:6: error: ‘j’ was not declared in this scope
for(j=1;j<=n;j++)
^
user.cpp:21:8: error: ‘i’ was not declared in this scope
for (i=1;i<=n-j+1;i++)
^
user.cpp:22:4: error: ‘c’ was not declared in this scope
c[i][j]=c[i][j-1]+a[i][j];
^
user.cpp:22:22: error: ‘a’ was not declared in this scope
c[i][j]=c[i][j-1]+a[i][j];
^
user.cpp:24:7: error: ‘i’ was not declared in this scope
for (i=n,j=1;i>=1;i--,j++)
^
user.cpp:24:11: error: ‘j’ was not declared in this scope
for (i=n,j=1;i>=1;i--,j++)
^
user.cpp:25:3: error: ‘d’ was not declared in this scope
d[i][j]=a[i][j];
^
user.cpp:25:11: error: ‘a’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !