Pagini recente » Borderou de evaluare (job #848392) | Borderou de evaluare (job #782764) | Borderou de evaluare (job #1835196) | Borderou de evaluare (job #440230) | Borderou de evaluare (job #2389667)
Borderou de evaluare (job #2389667)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:41:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^
main.cpp:41:13: warning: unused variable 'x' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^
main.cpp:41:15: warning: unused variable 'st' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^~
main.cpp:41:18: warning: unused variable 'dr' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^~
main.cpp:41:21: warning: unused variable 'mid' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^~~
main.cpp:41:25: warning: unused variable 'ans' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^~~
main.cpp:39:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("galeti.in","r",stdin);
^
main.cpp:40:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("galeti.out","w",stdout);
^
main.cpp:42:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:44:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q[i]);
^
main.cpp:47:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp: In function 'int cautarebinara(int, int)':
main.cpp:35:12: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect! | 0 |
| 2 | 2ms | 131kb | Incorect! | 0 |
| 3 | 2ms | 131kb | Incorect! | 0 |
| 4 | 2ms | 131kb | Incorect! | 0 |
| 5 | 3ms | 131kb | Incorect! | 0 |
| 6 | 3ms | 131kb | Incorect! | 0 |
| 7 | 3ms | 131kb | Incorect! | 0 |
| 8 | 3ms | 131kb | Incorect! | 0 |
| 9 | 3ms | 131kb | Incorect! | 0 |
| 10 | 3ms | 131kb | Incorect! | 0 |
| 11 | 5ms | 131kb | Wall time limit exceeded | 0 |
| 12 | 5ms | 131kb | Wall time limit exceeded | 0 |
| 13 | 6ms | 131kb | Wall time limit exceeded | 0 |
| 14 | 6ms | 131kb | Wall time limit exceeded | 0 |
| 15 | 6ms | 131kb | Wall time limit exceeded | 0 |
| 16 | 6ms | 131kb | Wall time limit exceeded | 0 |
| 17 | 6ms | 131kb | Wall time limit exceeded | 0 |
| 18 | 6ms | 131kb | Wall time limit exceeded | 0 |
| 19 | 6ms | 131kb | Wall time limit exceeded | 0 |
| 20 | 6ms | 131kb | Wall time limit exceeded | 0 |
| Punctaj total | 0 |