Pagini recente » Borderou de evaluare (job #1860259) | Borderou de evaluare (job #513506) | Borderou de evaluare (job #1961437) | Atasamentele paginii please_d0_not_enter | Borderou de evaluare (job #2641019)
Borderou de evaluare (job #2641019)
Raport evaluator
Compilare:
main.cpp: In function 'int cautare_binara()':
main.cpp:12:25: warning: unused variable 'poz' [-Wunused-variable]
int st=1,dr=i-1,mid,poz,sol=-1;
^~~
main.cpp: In function 'int main()':
main.cpp:34:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("findmin.in","r",stdin);
^
main.cpp:35:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("findmin.out","w",stdout);
^
main.cpp:37:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&a);
^
main.cpp:43:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 3ms | 131kb | OK | 10 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 51ms | 655kb | OK | 10 |
| 6 | 58ms | 655kb | OK | 10 |
| 7 | 68ms | 786kb | OK | 10 |
| 8 | 700ms | 3670kb | Time limit exceeded | 0 |
| 9 | 702ms | 3670kb | Time limit exceeded | 0 |
| 10 | 703ms | 3670kb | Time limit exceeded | 0 |
| Punctaj total | 70 |