Pagini recente » Borderou de evaluare (job #2532038) | Borderou de evaluare (job #2957828) | Borderou de evaluare (job #1857010) | Borderou de evaluare (job #2977860) | Borderou de evaluare (job #2389964)
Borderou de evaluare (job #2389964)
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 | 1003ms | 131kb | Time limit exceeded | 0 |
| 2 | 1003ms | 131kb | Time limit exceeded | 0 |
| 3 | 1000ms | 131kb | Time limit exceeded | 0 |
| 4 | 1003ms | 131kb | Time limit exceeded | 0 |
| 5 | 1000ms | 131kb | Time limit exceeded | 0 |
| 6 | 1003ms | 131kb | Time limit exceeded | 0 |
| 7 | 1000ms | 131kb | Time limit exceeded | 0 |
| 8 | 1003ms | 131kb | Time limit exceeded | 0 |
| 9 | 1000ms | 131kb | Time limit exceeded | 0 |
| 10 | 1003ms | 131kb | Time limit exceeded | 0 |
| 11 | 4ms | 131kb | Wall time limit exceeded | 0 |
| 12 | 6ms | 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 |