Pagini recente » Borderou de evaluare (job #2332509) | Borderou de evaluare (job #1162693) | Borderou de evaluare (job #340081) | Borderou de evaluare (job #1021317) | Borderou de evaluare (job #1669432)
Borderou de evaluare (job #1669432)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:85:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->fiu[s2[j]]==NULL)
^
user.cpp:87:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->fiu[s2[j]]=new nod();
^
user.cpp:88:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->fiu[s2[j]]->tata=tm;
^
user.cpp:90:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->fiu[s2[j]];
^
user.cpp:113:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->fiu[si[i]]!=NULL)
^
user.cpp:115:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->fiu[si[i]];
^
user.cpp:123:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->fiu[si[i]]!=NULL)
^
user.cpp:124:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->fiu[si[i]];
^
user.cpp:69:9: warning: unused variable ‘ans’ [-Wunused-variable]
int ans=0,n,m,i,j,l,l1,st,dr;
^
user.cpp:69:17: warning: unused variable ‘m’ [-Wunused-variable]
int ans=0,n,m,i,j,l,l1,st,dr;
^
user.cpp:67: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:68: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:73: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:74:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si+1);
^
user.cpp:79:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&l);
^
user.cpp:80:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2+1);
^
/tmp/ccV7TbbS.o: In function `main':
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 384kb | OK | 10 |
2 | 4ms | 300kb | OK | 10 |
3 | 12ms | 416kb | OK | 10 |
4 | 64ms | 12704kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 88ms | 19940kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 64ms | 12572kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 108ms | 24376kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 64ms | 12752kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 12ms | 2068kb | OK | 10 |
10 | 4ms | 944kb | OK | 10 |
Punctaj total | 50 |