Borderou de evaluare (job #1254234)

Utilizator fluture.godlikeGafton Mihnea Alexandru fluture.godlike Data 2 noiembrie 2014 12:59:35
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d%d", &n, &m); ^ user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:18:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d", &val); ^ user.cpp:23:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=] fscanf(fin, "%d", &f); ^ user.cpp:26:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d%d", &pos, &val); ^ user.cpp:26:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:31:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(fin, "%d%d", &pos, &val); ^ user.cpp:31:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:12:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &m); ^ user.cpp:18:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &val); ^ user.cpp:23:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &f); ^ user.cpp:26:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &pos, &val); ^ user.cpp:31:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &pos, &val); ^ user.cpp: In function ‘long int interogare(int, int, int, int, int)’: user.cpp:61:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbOK1010
28ms268kbOK1010
312ms276kbOK1010
436ms320kbOK1010
54ms780kbKilled by signal 11(SIGSEGV).00
620ms936kbKilled by signal 11(SIGSEGV).00
732ms1016kbKilled by signal 11(SIGSEGV).0
812ms900kbKilled by signal 11(SIGSEGV).0
920ms980kbKilled by signal 11(SIGSEGV).0
1028ms1012kbKilled by signal 11(SIGSEGV).0
Punctaj total40

Ceva nu functioneaza?