Borderou de evaluare (job #2162985)

Utilizator andrei.gramescuAndrei Gramescu andrei.gramescu Data 12 martie 2018 16:19:44
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:57: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] if(h[ sparce[i][j-1] ] < h[ sparce[i + pwr(j-1)][j-1] ]) ^ user.cpp:7:22: note: in definition of macro ‘pwr’ #define pwr(x) (1 << x) ^ user.cpp:50:49: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] else sparce[i][j] = sparce[i + pwr(j-1)][j-1]; ^ user.cpp:7:22: note: in definition of macro ‘pwr’ #define pwr(x) (1 << x) ^ user.cpp:32:33: 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:34:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d ", &k); ^ user.cpp:55:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3148kbKilled by signal 11(SIGSEGV).0
24ms3136kbKilled by signal 11(SIGSEGV).0
34ms3124kbKilled by signal 11(SIGSEGV).0
44ms3060kbKilled by signal 11(SIGSEGV).0
54ms3032kbKilled by signal 11(SIGSEGV).0
64ms3108kbKilled by signal 11(SIGSEGV).0
74ms3012kbKilled by signal 11(SIGSEGV).0
84ms3024kbKilled by signal 11(SIGSEGV).0
94ms3132kbKilled by signal 11(SIGSEGV).0
104ms3168kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?