Borderou de evaluare (job #2250630)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 30 septembrie 2018 15:06:38
Problema Wwt Status done
Runda Algoritmiada 2018 Runda Finala Seniori Compilator cpp | Vezi sursa
Scor 42

Raport evaluator

Compilare: user.cpp: In function ‘int get(std::vector<int>&, int)’: user.cpp:30:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void solve(int, int, int, int, std::vector<int>)’: user.cpp:37:41: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][0], dp[1 - i & 1][p][conf][0]); ~~^~~ user.cpp:38:41: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][1], dp[1 - i & 1][p][conf][1]); ~~^~~ user.cpp:42:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][1], dp[1 - i & 1][p][conf][0]); ~~^~~ user.cpp:43:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][1], dp[1 - i & 1][p][conf - p3[j]][0]); ~~^~~ user.cpp:46:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][0], dp[1 - i & 1][p][conf][1]); ~~^~~ user.cpp:47:45: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][0], dp[1 - i & 1][p][conf - p3[j] * 2][1]); ~~^~~ user.cpp: In function ‘int main()’: user.cpp:57:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&k); ^ user.cpp:60:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&arr[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✓14ms9512kbOK4
✗24ms11560kbOK5
✗316ms11564kbOK6
✓452ms13612kbOK5
✗5140ms17716kbOK6
✗6140ms17712kbOK5
✗7140ms17708kbOK6
✗8140ms17712kbOK5
✓9Depăşit18788kbTime limit exceeded.0
✗10Depăşit18788kbTime limit exceeded.0
✗11Depăşit18788kbTime limit exceeded.0
✗12Depăşit18788kbTime limit exceeded.0
✗13Depăşit18792kbTime limit exceeded.0
✗14Depăşit32924kbTime limit exceeded.0
✗15Depăşit32924kbTime limit exceeded.0
✓16Depăşit32920kbTime limit exceeded.0
✗17Depăşit32920kbTime limit exceeded.0
✗18Depăşit32924kbTime limit exceeded.0
✗19Depăşit32928kbTime limit exceeded.0
✗20Depăşit32920kbTime limit exceeded.0
Punctaj total42

Ceva nu functioneaza?