Borderou de evaluare (job #2668714)

Utilizator KOTOAMATSUKAMIDistinguished Heavenly Gods KOTOAMATSUKAMI Data 5 noiembrie 2020 11:03:45
Problema Cautare binara Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int bsearch1(int, int, int)': main.cpp:94:12: warning: unused variable 'n' [-Wunused-variable] int m, n = u; ^ main.cpp: In function 'int main()': main.cpp:235: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:239: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:243:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:251:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ main.cpp:259:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ main.cpp:271:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &tip, &val); ^ main.cpp: In function 'int bsearch1(int, int, int)': main.cpp:94:9: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] int m, n = u; ^ main.cpp: In function 'int main()': main.cpp:94:9: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbIncorect00
22ms131kbIncorect00
33ms131kbIncorect00
47ms131kbIncorect00
532ms262kbIncorect00
6105ms655kbIncorect0
7124ms1048kbIncorect00
8168ms1048kbIncorect0
9166ms1048kbIncorect0
10151ms1015kbIncorect0
Punctaj total0

Ceva nu functioneaza?