Borderou de evaluare (job #1580565)
Utilizator | Data | 25 ianuarie 2016 22:08:50 | |
---|---|---|---|
Problema | Cartele | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:20:25: error: ‘n’ has not been declared
void rotire(int a[][51],n)
^
user.cpp: In function ‘void rotire(int (*)[51], int)’:
user.cpp:23:9: error: ‘i’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:23:16: error: ‘n’ was not declared in this scope
for(i=1;i<=n;i++)
^
user.cpp:24:13: error: ‘j’ was not declared in this scope
for(j=1;j<=n;j++)
^
user.cpp:25:9: error: ‘cj’ was not declared in this scope
cj][j]=
^
user.cpp:25:11: error: expected ‘;’ before ‘]’ token
cj][j]=
^
user.cpp:22:9: warning: unused variable ‘c’ [-Wunused-variable]
int c[51][51];
^
user.cpp: In function ‘int main()’:
user.cpp:44:28: error: ‘ok’ was not declared in this scope
while(k!=0 and ok==0)
^
user.cpp:46:25: error: too few arguments to function ‘void rotire(int (*)[51], int)’
rotire(a);
^
user.cpp:20:6: note: declared here
void rotire(int a[][51],n)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !