Borderou de evaluare (job #1693521)
Utilizator | Data | 23 aprilie 2016 12:16:53 | |
---|---|---|---|
Problema | Jocul Flip | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:10: error: ISO C++ forbids declaration of ‘bkt’ with no type [-fpermissive]
bkt(int i)
^
user.cpp: In function ‘int bkt(int)’:
user.cpp:11:11: error: ‘n’ was not declared in this scope
if(i<=n)
^
user.cpp:24:29: error: ‘m’ was not declared in this scope
for(k=1,s2=0;k<=m;k++)s2+=v[j][k]*a[j];
^
user.cpp:30:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:36:16: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)for(j=1;j<=m;j++)f>>v[i][j];
^
user.cpp:36:26: error: ‘j’ was not declared in this scope
for(i=1;i<=n;i++)for(j=1;j<=m;j++)f>>v[i][j];
^
user.cpp:36:33: error: ‘m’ was not declared in this scope
for(i=1;i<=n;i++)for(j=1;j<=m;j++)f>>v[i][j];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !