0_0_29069136_19437.cpp: In function 'int main()':
0_0_29069136_19437.cpp:17:9: error: 'll' was not declared in this scope
ll ans=10000000000000000;
^
0_0_29069136_19437.cpp:20:14: error: expected ';' before 'l'
ll l=n+(k-i),r=m+(k-i);
^
0_0_29069136_19437.cpp:21:14: error: expected ';' before 'ans1'
ll ans1=i*c;
^
0_0_29069136_19437.cpp:22:14: error: expected ';' before 'ans2'
ll ans2=100000000000000000;
^
0_0_29069136_19437.cpp:23:14: error: expected ';' before 'ans3'
ll ans3=100000000000000000;
^
0_0_29069136_19437.cpp:24:26: error: 'l' was not declared in this scope
for(int j=0;j<=l;j++){
^
0_0_29069136_19437.cpp:25:16: error: expected ';' before 'tmp111'
ll tmp111=l-j;
^
0_0_29069136_19437.cpp:26:16: error: expected ';' before 'cost1'
ll cost1=ceil(j*1.0/2)*a;
^
0_0_29069136_19437.cpp:27:16: error: expected ';' before 'cost2'
ll cost2=ceil(tmp111*1.0/3)*b;
^
0_0_29069136_19437.cpp:28:13: error: 'ans2' was not declared in this scope
ans2=min(ans2,cost1+cost2);
^
0_0_29069136_19437.cpp:28:27: error: 'cost1' was not declared in this scope
ans2=min(ans2,cost1+cost2);
^
0_0_29069136_19437.cpp:28:33: error: 'cost2' was not declared in this scope
ans2=min(ans2,cost1+cost2);
^
0_0_29069136_19437.cpp:30:26: error: 'r' was not declared in this scope
for(int j=0;j<=r;j++){
^
0_0_29069136_19437.cpp:31:18: error: expected ';' before 'tmp111'
ll tmp111=r-j;
^
0_0_29069136_19437.cpp:32:18: error: expected ';' before 'cost1'
ll cost1=ceil(j*1.0/2)*a;
^
0_0_29069136_19437.cpp:33:18: error: expected ';' before 'cost2'
ll cost2=ceil(tmp111*1.0/3)*b;
^
0_0_29069136_19437.cpp:34:15: error: 'ans3' was not declared in this scope
ans3=min(ans3,cost1+cost2);
^
0_0_29069136_19437.cpp:34:29: error: 'cost1' was not declared in this scope
ans3=min(ans3,cost1+cost2);
^
0_0_29069136_19437.cpp:34:35: error: 'cost2' was not declared in this scope
ans3=min(ans3,cost1+cost2);
^
0_0_29069136_19437.cpp:36:11: error: 'ans' was not declared in this scope
ans=min(ans,ans1+ans2+ans3);
^
0_0_29069136_19437.cpp:36:23: error: 'ans1' was not declared in this scope
ans=min(ans,ans1+ans2+ans3);
^
0_0_29069136_19437.cpp:36:28: error: 'ans2' was not declared in this scope
ans=min(ans,ans1+ans2+ans3);
^
0_0_29069136_19437.cpp:36:33: error: 'ans3' was not declared in this scope
ans=min(ans,ans1+ans2+ans3);
^
0_0_29069136_19437.cpp:38:15: error: 'ans' was not declared in this scope
cout<<ans<<endl;
^
|