Pagini recente » Borderou de evaluare (job #1296115) | Borderou de evaluare (job #2294097) | Borderou de evaluare (job #978876) | Borderou de evaluare (job #203345) | Borderou de evaluare (job #1669444)
Borderou de evaluare (job #1669444)
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/ccUykqWZ.o: In function `main':
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 388kb | OK | 10 |
2 | 4ms | 300kb | OK | 10 |
3 | 8ms | 404kb | OK | 10 |
4 | 116ms | 13856kb | OK | 10 |
5 | 180ms | 22304kb | OK | 10 |
6 | 112ms | 13712kb | OK | 10 |
7 | 236ms | 27476kb | OK | 10 |
8 | 120ms | 13908kb | OK | 10 |
9 | 12ms | 2060kb | OK | 10 |
10 | 4ms | 936kb | OK | 10 |
Punctaj total | 100 |