Borderou de evaluare (job #2250534)

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

Raport evaluator

Compilare: user.cpp: In function ‘int get(std::vector<int>&, int)’: user.cpp:32:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:70:61: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][0], dp[1 - i & 1][p][conf][0]); ~~^~~ user.cpp:71:61: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][1], dp[1 - i & 1][p][conf][1]); ~~^~~ user.cpp:75:65: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][1], dp[1 - i & 1][p][conf][0]); ~~^~~ user.cpp:76:65: 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:79:65: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] add(dp[i & 1][j][conf][0], dp[1 - i & 1][p][conf][1]); ~~^~~ user.cpp:80:65: 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:39: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:42: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
14ms9512kbWA0
24ms11560kbOK5
312ms11564kbOK6
436ms13612kbOK5
5104ms17708kbOK6
6104ms17712kbOK5
7104ms17708kbOK6
8104ms17708kbOK5
9Depăşit18792kbTime limit exceeded.0
10Depăşit18796kbTime limit exceeded.0
11Depăşit18792kbTime limit exceeded.0
12Depăşit18796kbTime limit exceeded.0
13Depăşit18796kbTime limit exceeded.0
14Depăşit32928kbTime limit exceeded.0
15Depăşit32920kbTime limit exceeded.0
16Depăşit32924kbTime limit exceeded.0
17Depăşit32920kbTime limit exceeded.0
18Depăşit32928kbTime limit exceeded.0
19Depăşit32928kbTime limit exceeded.0
20Depăşit32924kbTime limit exceeded.0
Punctaj total38

Ceva nu functioneaza?