Pagini recente » Borderou de evaluare (job #2556516) | Borderou de evaluare (job #2540827) | Borderou de evaluare (job #2444750) | Borderou de evaluare (job #2850162) | Borderou de evaluare (job #2389682)
Borderou de evaluare (job #2389682)
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 | Corect! | 5 |
2 | 2ms | 131kb | Corect! | 5 |
3 | 2ms | 131kb | Corect! | 5 |
4 | 2ms | 131kb | Corect! | 5 |
5 | 3ms | 131kb | Corect! | 5 |
6 | 3ms | 131kb | Corect! | 5 |
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 | 30 |