Borderou de evaluare (job #1814961)

Utilizator DoubleNyNinicu Cristian DoubleNy Data 24 noiembrie 2016 18:14:35
Problema Range minimum query Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%d %d", a, b); ^ user.cpp:39:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:25:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rmq.in", "r", stdin); ^ user.cpp:26:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rmq.out", "w", stdout); ^ user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &arr[i]); ^ user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", a, b); ^ user.cpp:39:24: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:39:24: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbKilled by signal 11(SIGSEGV).00
20ms440kbKilled by signal 11(SIGSEGV).00
30ms740kbKilled by signal 11(SIGSEGV).00
416ms3736kbKilled by signal 11(SIGSEGV).00
516ms3732kbKilled by signal 11(SIGSEGV).00
616ms4440kbKilled by signal 11(SIGSEGV).0
724ms5908kbKilled by signal 11(SIGSEGV).00
832ms7348kbKilled by signal 11(SIGSEGV).00
932ms7348kbKilled by signal 11(SIGSEGV).00
1032ms7348kbKilled by signal 11(SIGSEGV).00
Punctaj total0

Ceva nu functioneaza?