Borderou de evaluare (job #2220010)

Utilizator stefan.botezStefan Botez stefan.botez Data 10 iulie 2018 12:53:03
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=] scanf("%d%d", poz, val); ^ user.cpp:55:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=] user.cpp:40:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbint.in", "r", stdin); ^ user.cpp:41:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("arbint.out", "w", stdout); ^ user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:46:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp:52:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op); ^ user.cpp:55:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", poz, val); ^ user.cpp:60:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1320kbKilled by signal 11(SIGSEGV).00
20ms1320kbKilled by signal 11(SIGSEGV).00
30ms1344kbKilled by signal 11(SIGSEGV).00
40ms1408kbKilled by signal 11(SIGSEGV).00
524ms2612kbKilled by signal 11(SIGSEGV).00
628ms2700kbKilled by signal 11(SIGSEGV).00
7188ms2736kbOK10
828ms2680kbKilled by signal 11(SIGSEGV).0
928ms2716kbKilled by signal 11(SIGSEGV).0
1032ms2736kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?