Borderou de evaluare (job #1127425)
Utilizator | Data | 27 februarie 2014 12:26:35 | |
---|---|---|---|
Problema | Jocul Flip | 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:10:13: error: two or more data types in declaration of ‘i’
int int i,j,n=0,s=0,k=0;
^
user.cpp:10:15: error: two or more data types in declaration of ‘j’
int int i,j,n=0,s=0,k=0;
^
user.cpp:10:17: error: two or more data types in declaration of ‘n’
int int i,j,n=0,s=0,k=0;
^
user.cpp:10:21: error: two or more data types in declaration of ‘s’
int int i,j,n=0,s=0,k=0;
^
user.cpp:10:25: error: two or more data types in declaration of ‘k’
int int i,j,n=0,s=0,k=0;
^
user.cpp:14:19: error: two or more data types in declaration of ‘T’
int int T[N][M];
^
user.cpp:15:10: error: ‘i’ was not declared in this scope
for (i=1;i<=N;i++)
^
user.cpp:17:14: error: ‘j’ was not declared in this scope
for (j=1;j<=M;j++)
^
user.cpp:19:16: error: ‘T’ was not declared in this scope
f>>T[i][j];
^
user.cpp:24:14: error: ‘i’ was not declared in this scope
for (i=1;i<=N;i++)
^
user.cpp:26:18: error: ‘j’ was not declared in this scope
for (j=1;j<=M;j++)
^
user.cpp:28:21: error: ‘T’ was not declared in this scope
if (T[i][j]>=0)
^
user.cpp:30:21: error: ‘n’ was not declared in this scope
n=n+T[i][j];
^
user.cpp:34:21: error: ‘s’ was not declared in this scope
s=s+(T[i][j]*(-1));
^
user.cpp:37:17: error: ‘s’ was not declared in this scope
if (s>n)
^
user.cpp:37:19: error: ‘n’ was not declared in this scope
if (s>n)
^
user.cpp:39:26: error: ‘j’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !