Pagini recente » Borderou de evaluare (job #636388) | Borderou de evaluare (job #333417) | Borderou de evaluare (job #475621) | Borderou de evaluare (job #1178497) | Borderou de evaluare (job #1552988)
Borderou de evaluare (job #1552988)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(nod*)’:
user.cpp:43:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->po[sin[i][j]]==NULL)
^
user.cpp:45:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->po[sin[i][j]]=new nod();
^
user.cpp:46:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->po[sin[i][j]]->tata=tm;
^
user.cpp:47:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->po[sin[i][j]]->ch=sin[i][j];
^
user.cpp:48:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->po[sin[i][j]]->lv=tm->lv+1;
^
user.cpp:50:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->po[sin[i][j]];
^
user.cpp: In function ‘int main()’:
user.cpp:76:13: warning: unused variable ‘l’ [-Wunused-variable]
int i,j,l,x,y,z;
^
user.cpp:76:15: warning: unused variable ‘x’ [-Wunused-variable]
int i,j,l,x,y,z;
^
user.cpp:76:17: warning: unused variable ‘y’ [-Wunused-variable]
int i,j,l,x,y,z;
^
user.cpp:76:19: warning: unused variable ‘z’ [-Wunused-variable]
int i,j,l,x,y,z;
^
user.cpp:77:11: warning: unused variable ‘tm’ [-Wunused-variable]
nod * tm;
^
user.cpp:74: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:75: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:79: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:82:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sin[i]+1);
^
user.cpp:86:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&fri[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Lungimea strigatului gresita! | 4 |
2 | 0ms | 292kb | Lungimea strigatului gresita! | 4 |
3 | 40ms | Depăşit | Memory limit exceeded. | 0 |
4 | 36ms | Depăşit | Memory limit exceeded. | 0 |
5 | 36ms | Depăşit | Memory limit exceeded. | 0 |
6 | 36ms | Depăşit | Memory limit exceeded. | 0 |
7 | 32ms | Depăşit | Memory limit exceeded. | 0 |
8 | 32ms | Depăşit | Memory limit exceeded. | 0 |
9 | 32ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 316kb | Lungimea strigatului gresita! | 4 |
Punctaj total | 12 |