Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2137845)
| Utilizator | Data | 21 februarie 2018 08:17:47 | |
|---|---|---|---|
| Problema | Cautare binara | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int bsearch1(int, int, int)’:
user.cpp:25:12: warning: unused variable ‘n’ [-Wunused-variable]
int m, n = u;
^
user.cpp: In function ‘int main()’:
user.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);
^
user.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);
^
user.cpp:63:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:65:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.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 | 0ms | 936kb | OK | 10 | 10 |
| 2 | 0ms | 816kb | OK | 10 | 10 |
| 3 | 0ms | 880kb | OK | 10 | 10 |
| 4 | 4ms | 936kb | OK | 10 | 10 |
| 5 | 24ms | 860kb | OK | 10 | 20 |
| 6 | 84ms | 1012kb | OK | 10 | |
| 7 | 128ms | 1204kb | OK | 10 | 40 |
| 8 | 132ms | 1208kb | OK | 10 | |
| 9 | 136ms | 1204kb | OK | 10 | |
| 10 | 136ms | 1204kb | OK | 10 | |
| Punctaj total | 100 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
