Borderou de evaluare (job #2488952)

Utilizator bogdanvladmihaiBogdan Vlad-Mihai bogdanvladmihai Data 7 noiembrie 2019 20:10:44
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int binary_query(int, int)': main.cpp:33:7: warning: unused variable 'temp_value' [-Wunused-variable] int temp_value = value; ^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:49:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("aib.in", "r", stdin); ^ main.cpp:50:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("aib.out", "w", stdout); ^ main.cpp:51:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:54:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &value); ^ main.cpp:58:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op_type); ^ main.cpp:60:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &pos, &value); ^ main.cpp:63:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &lo, &ri); ^ main.cpp:66:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &value); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms524kbOK10
26ms524kbOK10
313ms524kbOK10
442ms786kbOK10
591ms786kbOK10
6149ms856kbOK10
7146ms786kbOK10
8220ms983kbOK10
9183ms1048kbOK10
10189ms917kbOK10
Punctaj total100

Ceva nu functioneaza?