0_0_17419923_20848.cpp: In function 'int main()':
0_0_17419923_20848.cpp:16:45: error: expected ')' before 'i'
for(i=0;i<nstick;++i) scanf("%d%d",&sticks i .l,&sticks i .w);
^
0_0_17419923_20848.cpp:16:58: error: expected ')' before 'i'
for(i=0;i<nstick;++i) scanf("%d%d",&sticks i .l,&sticks i .w);
^
0_0_17419923_20848.cpp:19:5: error: invalid conversion from 'LWPair*' to 'int' [-fpermissive]
tmp=sticks i .w;
^
0_0_17419923_20848.cpp:19:13: error: expected ';' before 'i'
tmp=sticks i .w;
^
0_0_17419923_20848.cpp:20:27: error: expected ';' before 'j'
for(j=time;j>=0 && store j>=tmp;--j) ; // search from right to left
^
0_0_17419923_20848.cpp:20:33: error: expected ')' before ';' token
for(j=time;j>=0 && store j>=tmp;--j) ; // search from right to left
^
0_0_17419923_20848.cpp:20:37: error: expected ';' before ')' token
for(j=time;j>=0 && store j>=tmp;--j) ; // search from right to left
^
|