Borderou de evaluare (job #960643)
Utilizator | Data | 10 iunie 2013 21:11:24 | |
---|---|---|---|
Problema | Insule | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void fill(int, int, int)’:
user.cpp:14:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
{if (a[y]==k) {
^
user.cpp:15:6: error: incompatible types in assignment of ‘int’ to ‘int [100]’
a[y]=k*-1;
^
user.cpp: In function ‘int lee(int, int)’:
user.cpp:25:11: error: invalid array assignment
b[j]=a[j];
^
user.cpp:37:11: error: request for member ‘x’ in ‘c’, which is of non-class type ‘punct [10000]’
u++; c.x=xv; c.y=yv;}
^
user.cpp:37:20: error: request for member ‘y’ in ‘c’, which is of non-class type ‘punct [10000]’
u++; c.x=xv; c.y=yv;}
^
user.cpp:41:11: error: request for member ‘x’ in ‘c’, which is of non-class type ‘punct [10000]’
u++; c.x=xv; c.y=yv;}
^
user.cpp:41:19: error: request for member ‘y’ in ‘c’, which is of non-class type ‘punct [10000]’
u++; c.x=xv; c.y=yv;}
^
user.cpp: In function ‘int main()’:
user.cpp:53:8: error: incompatible types in assignment of ‘int’ to ‘int [100]’
=a[m+1]=-4;
^
user.cpp:59:12: error: incompatible types in assignment of ‘int’ to ‘int [100]’
{f>>x; a[j]=x-'0';}
^
user.cpp:63:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
{if (a[j]==1) {r++; fill(i,j,1);}
^
user.cpp:64:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (a[j]==2) {g++; fill(i,j,2);}
^
user.cpp:65:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (a[j]==3) {b++; fill(i,j,3);}}
^
user.cpp: In function ‘int lee(int, int)’:
user.cpp:43:5: warning: control reaches end of non-void function [-Wreturn-type]
p++;}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !