Borderou de evaluare (job #2057245)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 4 noiembrie 2017 15:01:24
Problema Armate Status done
Runda Algoritmiada 2017 Runda Finala Seniori Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:13: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] dp[1 - a & 1][MAXVAL] = 1; ^ user.cpp:33:37: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] dp[i & 1][j] |= dp[1 - i & 1][j - v[i]]; ^ user.cpp:35:37: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] dp[i & 1][j] |= dp[1 - i & 1][j + v[i]]; ^ user.cpp:17:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&q); ^ user.cpp:19:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&v[i]); ^ user.cpp:23:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&a,&b); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms600kbOK55
20ms596kbOK55
312ms600kbOK55
412ms600kbOK55
5104ms596kbOK55
692ms600kbOK55
7772ms600kbOK530
8568ms600kbOK5
9980ms600kbOK5
10940ms592kbOK5
11588ms596kbOK5
121008ms600kbOK5
130ms556kbKilled by signal 11(SIGSEGV).00
140ms552kbKilled by signal 11(SIGSEGV).0
150ms556kbKilled by signal 11(SIGSEGV).0
160ms556kbKilled by signal 11(SIGSEGV).0
170ms560kbKilled by signal 11(SIGSEGV).00
180ms552kbKilled by signal 11(SIGSEGV).0
190ms556kbKilled by signal 11(SIGSEGV).0
200ms552kbKilled by signal 11(SIGSEGV).0
Punctaj total60

Ceva nu functioneaza?