Borderou de evaluare (job #2450304)

Utilizator davidcotigacotiga david davidcotiga Data 22 august 2019 16:38:07
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:9: warning: unused variable 'n' [-Wunused-variable] int m, n = u; ^ main.cpp: In function 'int main()': main.cpp:61:35: 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:37: 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:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:65:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp:67:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:70:28: 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
12ms131kbOK1010
22ms131kbOK1010
33ms131kbOK1010
47ms131kbOK1010
541ms262kbOK1020
6112ms655kbOK10
7146ms1048kbOK1040
8161ms1048kbOK10
9156ms1048kbOK10
10168ms1048kbOK10
Punctaj total100

Ceva nu functioneaza?