Pagini recente » Borderou de evaluare (job #1634352) | Borderou de evaluare (job #208329) | Borderou de evaluare (job #2800834) | Borderou de evaluare (job #2800938) | Borderou de evaluare (job #1669447)
Borderou de evaluare (job #1669447)
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/ccI1mCgl.o: In function `main':
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 384kb | OK | 10 |
| 2 | 4ms | 296kb | OK | 10 |
| 3 | 12ms | 408kb | OK | 10 |
| 4 | 120ms | 13856kb | OK | 10 |
| 5 | 176ms | 22300kb | OK | 10 |
| 6 | 116ms | 13712kb | OK | 10 |
| 7 | 240ms | 27476kb | OK | 10 |
| 8 | 120ms | 13912kb | OK | 10 |
| 9 | 12ms | 2064kb | OK | 10 |
| 10 | 4ms | 932kb | OK | 10 |
| Punctaj total | 100 |