Pagini recente » Borderou de evaluare (job #3031715) | Borderou de evaluare (job #2747195) | Borderou de evaluare (job #1187027) | Borderou de evaluare (job #2707561) | Borderou de evaluare (job #2146613)
Borderou de evaluare (job #2146613)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:12: warning: overflow in implicit constant conversion [-Woverflow]
{ int imin=999999999999,sirmin,poz,imax=0;
^
user.cpp:15:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(strlen(a[i])<imin)
^
user.cpp:26:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
sd[strlen(sd)-1]=NULL;
^
user.cpp:45:42: warning: NULL used in arithmetic [-Wpointer-arith]
if(strstr(a[i],s)&&s[0]!=NULL)
^
user.cpp:48:31: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[strlen(s)-1]=NULL;
^
user.cpp:50:42: warning: NULL used in arithmetic [-Wpointer-arith]
if(strstr(a[i],s)&&s[0]!=NULL)
^
user.cpp:54:44: warning: NULL used in arithmetic [-Wpointer-arith]
if(strstr(a[i],ss)&&ss[0]!=NULL)
^
user.cpp:57:44: warning: NULL used in arithmetic [-Wpointer-arith]
if(strstr(a[i],sd)&&sd[0]!=NULL)
^
user.cpp:80:25: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
sd[strlen(sd)-1]=NULL;
^
user.cpp:82:23: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[strlen(s)-1]=NULL;
^
user.cpp:84:25: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
sp[strlen(sp)-1]=NULL;
^
user.cpp:10:25: warning: unused variable ‘sirmin’ [-Wunused-variable]
{ int imin=999999999999,sirmin,poz,imax=0;
^
user.cpp:21:11: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
strcpy(s,a[poz]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1592kb | Incorect | 0 |
| 2 | 0ms | 1592kb | Incorect | 0 |
| 3 | 0ms | 1596kb | Incorect | 0 |
| 4 | 0ms | 1592kb | Incorect | 0 |
| 5 | 0ms | 1600kb | Incorect | 0 |
| 6 | 0ms | 1592kb | Incorect | 0 |
| 7 | 60ms | 1604kb | Incorect | 0 |
| 8 | 72ms | 1604kb | Incorect | 0 |
| 9 | 64ms | 1608kb | Incorect | 0 |
| 10 | 92ms | 1608kb | Incorect | 0 |
| 11 | 104ms | 1604kb | Incorect | 0 |
| 12 | 136ms | 1608kb | Incorect | 0 |
| 13 | Depăşit | 1624kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1616kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1612kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1616kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1600kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1596kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1596kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1592kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |