Borderou de evaluare (job #1937906)
Utilizator | Data | 24 martie 2017 13:17:52 | |
---|---|---|---|
Problema | Omogene | 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:8: error: expected initializer before ‘>>’ token
cin>>n>>m;
^
user.cpp:10:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:10:16: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:11:13: error: ‘j’ was not declared in this scope
for(j=1;j<=m;j++)
^
user.cpp:11:20: error: ‘m’ was not declared in this scope
for(j=1;j<=m;j++)
^
user.cpp:13:22: error: ‘x’ was not declared in this scope
cin>>x;
^
user.cpp:16:25: error: ‘s0’ was not declared in this scope
s0[i][j]=s0[i-1][j]+s0[i][j-1]+s0[i-1][j-1];
^
user.cpp:20:25: error: ‘s1’ was not declared in this scope
s1[i][j]=s1[i-1][j]+s1[i][j-1]+s1[i-1][j-1];
^
user.cpp:24:25: error: ‘s2’ was not declared in this scope
s2[i][j]=s2[i-1][j]+s2[i][j-1]+s2[i-1][j-1];
^
user.cpp:27:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:27:16: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:28:13: error: ‘j’ was not declared in this scope
for(j=1;j<=m;j++)
^
user.cpp:28:20: error: ‘m’ was not declared in this scope
for(j=1;j<=m;j++)
^
user.cpp:30:16: error: ‘s1’ was not declared in this scope
if(s1[i][j]==s0[i][j]&&s0[i][j]==s2[i][j])
^
user.cpp:30:26: error: ‘s0’ was not declared in this scope
if(s1[i][j]==s0[i][j]&&s0[i][j]==s2[i][j])
^
user.cpp:30:46: error: ‘s2’ was not declared in this scope
if(s1[i][j]==s0[i][j]&&s0[i][j]==s2[i][j])
^
user.cpp:31:17: error: ‘cnt’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !