Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2405806)
| Utilizator | Data | 14 aprilie 2019 23:05:12 | |
|---|---|---|---|
| Problema | Cautare binara | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int bsearch1(int, int, int)':
main.cpp:25:12: warning: unused variable 'n' [-Wunused-variable]
int m, n = u;
^
main.cpp: In function 'int main()':
main.cpp:61:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r",stdin);
^
main.cpp:62:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out","w",stdout);
^
main.cpp:63:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:65:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:67:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
main.cpp:70:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &tip, &val);
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 10 | 10 |
| 2 | 2ms | 131kb | OK | 10 | 10 |
| 3 | 3ms | 131kb | OK | 10 | 10 |
| 4 | 7ms | 131kb | OK | 10 | 10 |
| 5 | 34ms | 262kb | OK | 10 | 20 |
| 6 | 105ms | 655kb | OK | 10 | |
| 7 | 157ms | 1048kb | OK | 10 | 40 |
| 8 | 160ms | 1048kb | OK | 10 | |
| 9 | 165ms | 1048kb | OK | 10 | |
| 10 | 155ms | 1048kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
