Borderou de evaluare (job #1667247)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 28 martie 2016 19:46:38
Problema Bcrc Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40:15: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] d[1-i&1][j]=0; ^ user.cpp:49:12: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] d[1-i&1][1]=d[i&1][ind(deq[e])]; ^ user.cpp:51:18: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(d[1-i&1][1]>0||i==1) ^ user.cpp:52:16: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] d[1-i&1][1]+=v[i].b; ^ user.cpp:54:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(max<d[1-i&1][1]) ^ user.cpp:55:19: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] max=d[1-i&1][1]; ^ user.cpp:62:15: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] d[1-i&1][j-x]=d[i&1][ind(deq[b])]; ^ user.cpp:64:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(d[1-i&1][j-x]>0||i==1) ^ user.cpp:65:20: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] d[1-i&1][j-x]+=v[i].b; ^ user.cpp:67:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(max<d[1-i&1][j-x]) ^ user.cpp:68:22: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] max=d[1-i&1][j-x]; ^ user.cpp:70:15: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(d[1-i&1][v[i].c]<v[i].b&&dist(1,v[i].c)<=v[i].t) ^ user.cpp:71:15: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] d[1-i&1][v[i].c]=v[i].b; ^ user.cpp:34:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d" ,&n,&m); ^ user.cpp:36:52: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d%d" ,&v[i].t,&v[i].c,&v[i].b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbIncorect0
24ms292kbIncorect0
34ms320kbKilled by signal 11(SIGSEGV).0
436ms840kbKilled by signal 11(SIGSEGV).0
548ms840kbKilled by signal 11(SIGSEGV).0
6832ms868kbIncorect0
7Depăşit852kbTime limit exceeded.0
8Depăşit852kbTime limit exceeded.0
9Depăşit848kbTime limit exceeded.0
10Depăşit844kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?