Borderou de evaluare (job #2672822)

Utilizator vansJos da pa perete vans Data 14 noiembrie 2020 23:07:56
Problema Arbori indexati binar Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:34: 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:41:36: 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:42:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:44:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ main.cpp:47:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op); ^ main.cpp:50:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] updBIT(x, y); ^ main.cpp:53:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] printf("%d\n", query(y) - query(x - 1)); ^ main.cpp:54:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] else scanf("%d", &x), printf("%d\n", query2(x)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
24ms131kbIncorect0
312ms262kbIncorect0
443ms393kbIncorect0
597ms655kbIncorect0
6140ms917kbIncorect0
7155ms1179kbIncorect0
8211ms1441kbIncorect0
9212ms1441kbIncorect0
10195ms1441kbIncorect0
Punctaj total0

Ceva nu functioneaza?