Borderou de evaluare (job #1552961)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(nod*)’:
user.cpp:43:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->po[in[j]]==NULL)
^
user.cpp:44:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->po[in[j]]=new nod();
^
user.cpp:45:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->po[in[j]]->tata=tm;
^
user.cpp:46:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->po[in[j]]->ch=in[j];
^
user.cpp:47:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->po[in[j]]->lv=tm->lv+1;
^
user.cpp:48:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->po[in[j]];
^
user.cpp: In function ‘int main()’:
user.cpp:79:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,l,x,y,z;
^
user.cpp:79:13: warning: unused variable ‘l’ [-Wunused-variable]
int i,j,l,x,y,z;
^
user.cpp:79:15: warning: unused variable ‘x’ [-Wunused-variable]
int i,j,l,x,y,z;
^
user.cpp:79:17: warning: unused variable ‘y’ [-Wunused-variable]
int i,j,l,x,y,z;
^
user.cpp:79:19: warning: unused variable ‘z’ [-Wunused-variable]
int i,j,l,x,y,z;
^
user.cpp:80:11: warning: unused variable ‘tm’ [-Wunused-variable]
nod * tm;
^
user.cpp:77:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strigat.in","r",stdin);
^
user.cpp:78:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strigat.out","w",stdout);
^
user.cpp:82:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:85:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sin[i]+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Grad de spaima gresit! | 0 |
2 | 0ms | 288kb | Grad de spaima gresit! | 0 |
3 | 0ms | 284kb | Grad de spaima gresit! | 0 |
4 | 0ms | 288kb | Grad de spaima gresit! | 0 |
5 | 0ms | 284kb | Grad de spaima gresit! | 0 |
6 | 0ms | 292kb | Grad de spaima gresit! | 0 |
7 | 0ms | 296kb | Grad de spaima gresit! | 0 |
8 | 0ms | 292kb | Grad de spaima gresit! | 0 |
9 | 0ms | 292kb | Grad de spaima gresit! | 0 |
10 | 0ms | 292kb | Grad de spaima gresit! | 0 |
Punctaj total | 0 |