Pagini recente » Borderou de evaluare (job #1189419) | Borderou de evaluare (job #2651041) | Borderou de evaluare (job #1853891) | Borderou de evaluare (job #783135) | Borderou de evaluare (job #2389972)
Borderou de evaluare (job #2389972)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:42:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^
main.cpp:42:13: warning: unused variable 'x' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^
main.cpp:42:15: warning: unused variable 'st' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^~
main.cpp:42:18: warning: unused variable 'dr' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^~
main.cpp:42:21: warning: unused variable 'mid' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^~~
main.cpp:42:25: warning: unused variable 'ans' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^~~
main.cpp:42:29: warning: unused variable 'ma' [-Wunused-variable]
int i,j,x,st,dr,mid,ans,ma=0;
^~
main.cpp:40: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:41: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:43:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:45:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q[i]);
^
main.cpp:48: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:36: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 | 35ms | 393kb | Incorect! | 0 |
| 12 | 71ms | 786kb | Incorect! | 0 |
| 13 | 105ms | 1310kb | Incorect! | 0 |
| 14 | 130ms | 1310kb | Incorect! | 0 |
| 15 | 138ms | 1441kb | Incorect! | 0 |
| 16 | 131ms | 1441kb | Incorect! | 0 |
| 17 | 140ms | 1441kb | Incorect! | 0 |
| 18 | 144ms | 1441kb | Incorect! | 0 |
| 19 | 145ms | 1441kb | Incorect! | 0 |
| 20 | 127ms | 1441kb | Incorect! | 0 |
| Punctaj total | 0 |