Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1763536)
| Utilizator | Data | 24 septembrie 2016 14:06:33 | |
|---|---|---|---|
| Problema | Bitcost | Status | done |
| Runda | Algoritmiada 2016 Runda Finala Juniors | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int cauta(int, int)’:
user.cpp:42:19: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(max>-INF)
^
user.cpp:107: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:100: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 | 276kb | Incorect | 0 |
| ✗ | 2 | 0ms | 276kb | Incorect | 0 |
| ✓ | 3 | 0ms | 272kb | Incorect | 0 |
| ✗ | 4 | 4ms | 276kb | Incorect | 0 |
| ✗ | 5 | 160ms | 276kb | Incorect | 0 |
| ✗ | 6 | 164ms | 272kb | Incorect | 0 |
| ✗ | 7 | 156ms | 276kb | Incorect | 0 |
| ✗ | 8 | 192ms | 276kb | Incorect | 0 |
| ✓ | 9 | 192ms | 280kb | Incorect | 0 |
| ✗ | 10 | 192ms | 276kb | Incorect | 0 |
| Punctaj total | 0 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !

