Borderou de evaluare (job #1748245)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 26 august 2016 11:51:36
Problema Viteze Status done
Runda Junior Challenge 2016 Runda 1 Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:18: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(dp[1-i&1][rmq[l][lg[r-l+1]]]<dp[1-i&1][rmq[r-(1<<(lg[r-l+1]))+1][lg[r-l+1]]]){ ^ user.cpp:54:47: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(dp[1-i&1][rmq[l][lg[r-l+1]]]<dp[1-i&1][rmq[r-(1<<(lg[r-l+1]))+1][lg[r-l+1]]]){ ^ user.cpp:55:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] min=dp[1-i&1][rmq[l][lg[r-l+1]]]; ^ user.cpp:59:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] min=dp[1-i&1][rmq[r-(1<<(lg[r-l+1]))+1][lg[r-l+1]]]; ^ user.cpp:15:14: warning: unused variable ‘x’ [-Wunused-variable] int i,n,j,x,poz,l,r,k,log; ^ user.cpp:15:24: warning: unused variable ‘k’ [-Wunused-variable] int i,n,j,x,poz,l,r,k,log; ^ user.cpp:19:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&n); ^ user.cpp:21:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&lim[i]); ^ user.cpp:23:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&del[i]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms2240kbOK510
24ms2240kbOK5
34ms2260kbOK520
44ms2260kbOK5
54ms2264kbOK5
64ms2260kbOK5
724ms3344kbOK520
824ms3272kbOK5
936ms3984kbOK5
10104ms6348kbOK5
110ms272kbKilled by signal 11(SIGSEGV).00
120ms276kbKilled by signal 11(SIGSEGV).0
130ms272kbKilled by signal 11(SIGSEGV).0
140ms276kbKilled by signal 11(SIGSEGV).0
150ms272kbKilled by signal 11(SIGSEGV).0
160ms276kbKilled by signal 11(SIGSEGV).0
170ms280kbKilled by signal 11(SIGSEGV).00
180ms276kbKilled by signal 11(SIGSEGV).0
190ms276kbKilled by signal 11(SIGSEGV).0
200ms280kbKilled by signal 11(SIGSEGV).0
Punctaj total50

Ceva nu functioneaza?