Pagini recente » Cod sursa (job #2345991) | Borderou de evaluare (job #1108995) | Borderou de evaluare (job #1000545) | Borderou de evaluare (job #360279) | Borderou de evaluare (job #1763558)
Borderou de evaluare (job #1763558)
Raport evaluator
Compilare:
user.cpp: In function ‘int cauta(int, int)’:
user.cpp:41:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(max>-INF)
^
user.cpp:105:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(max>-INF)
^
user.cpp: In function ‘int main()’:
user.cpp:162:14: warning: unused variable ‘j’ [-Wunused-variable]
int k,m,i,j,n1,n2;
^
user.cpp:166:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&k,&m);
^
user.cpp:168:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&v[i]);
^
user.cpp:171:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%lld %lld " ,&a,&b);
^
user.cpp:98:17: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(j<poz){
^
user.cpp:10:26: note: ‘poz’ was declared here
int i,j,s1,s2,s,flag,poz,p,max,min;
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 4ms | 272kb | Incorect | 0 |
✗ | 2 | 0ms | 268kb | Incorect | 0 |
✓ | 3 | 0ms | 268kb | Incorect | 0 |
✗ | 4 | 4ms | 264kb | Incorect | 0 |
✗ | 5 | 160ms | 276kb | Incorect | 0 |
✗ | 6 | 168ms | 276kb | Incorect | 0 |
✗ | 7 | 152ms | 276kb | Incorect | 0 |
✗ | 8 | 196ms | 272kb | Incorect | 0 |
✓ | 9 | 192ms | 272kb | Incorect | 0 |
✗ | 10 | 192ms | 272kb | Incorect | 0 |
Punctaj total | 0 |