Pagini recente » Borderou de evaluare (job #1760074) | Borderou de evaluare (job #16063) | Borderou de evaluare (job #1600989) | Borderou de evaluare (job #2129805) | Borderou de evaluare (job #1688493)
Borderou de evaluare (job #1688493)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:80:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->fiu[s2[j]]==NULL)
^
user.cpp:82:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->fiu[s2[j]]=new nod();
^
user.cpp:83:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->fiu[s2[j]]->tata=tm;
^
user.cpp:85:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->fiu[s2[j]];
^
user.cpp:108:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->fiu[si[i]]!=NULL)
^
user.cpp:110:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->fiu[si[i]];
^
user.cpp:118:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->fiu[si[i]]!=NULL)
^
user.cpp:119:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->fiu[si[i]];
^
user.cpp:64:9: warning: unused variable ‘ans’ [-Wunused-variable]
int ans=0,n,m,i,j,l,l1,st,dr;
^
user.cpp:64:17: warning: unused variable ‘m’ [-Wunused-variable]
int ans=0,n,m,i,j,l,l1,st,dr;
^
user.cpp:62:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in","r",stdin);
^
user.cpp:63:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out","w",stdout);
^
user.cpp:68:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&l1,&n);
^
user.cpp:69:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si+1);
^
user.cpp:74:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&l);
^
user.cpp:75:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2+1);
^
/tmp/ccVfOViO.o: In function `main':
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 380kb | OK | 10 |
2 | 4ms | 296kb | OK | 10 |
3 | 12ms | 408kb | OK | 10 |
4 | 120ms | 13852kb | OK | 10 |
5 | 184ms | 22300kb | OK | 10 |
6 | 116ms | 13712kb | OK | 10 |
7 | 244ms | 27472kb | OK | 10 |
8 | 124ms | 13912kb | OK | 10 |
9 | 12ms | 2060kb | OK | 10 |
10 | 4ms | 936kb | OK | 10 |
Punctaj total | 100 |