Pagini recente » Borderou de evaluare (job #1389265) | Borderou de evaluare (job #526886) | Borderou de evaluare (job #2908075) | Borderou de evaluare (job #2156739) | Borderou de evaluare (job #1667247)
Borderou de evaluare (job #1667247)
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 |
1 | 0ms | 284kb | Incorect | 0 |
2 | 4ms | 292kb | Incorect | 0 |
3 | 4ms | 320kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 36ms | 840kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 48ms | 840kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 832ms | 868kb | Incorect | 0 |
7 | Depăşit | 852kb | Time limit exceeded. | 0 |
8 | Depăşit | 852kb | Time limit exceeded. | 0 |
9 | Depăşit | 848kb | Time limit exceeded. | 0 |
10 | Depăşit | 844kb | Time limit exceeded. | 0 |
Punctaj total | 0 |