0_0_30423336_11508.cpp:8:10: error: '_int128' does not name a type
using ll=_int128;
^
0_0_30423336_11508.cpp:10:1: error: 'll' does not name a type
ll dp[40];
^
0_0_30423336_11508.cpp:11:1: error: 'll' does not name a type
ll a,b;
^
0_0_30423336_11508.cpp: In function 'int solve(int)':
0_0_30423336_11508.cpp:18:5: error: 'll' was not declared in this scope
ll n=1ll;
^
0_0_30423336_11508.cpp:20:13: error: 'n' was not declared in this scope
n=n*2ll;
^
0_0_30423336_11508.cpp:25:12: error: expected ';' before 'rr'
ll rr;
^
0_0_30423336_11508.cpp:26:12: error: 'dp' was not declared in this scope
if(dp[mi-1]==-1) solve(mi-1);
^
0_0_30423336_11508.cpp:27:9: error: 'rr' was not declared in this scope
rr=dp[mi-1];
^
0_0_30423336_11508.cpp:27:12: error: 'dp' was not declared in this scope
rr=dp[mi-1];
^
0_0_30423336_11508.cpp:29:12: error: expected ';' before 'nmod'
ll nmod=n;
^
0_0_30423336_11508.cpp:30:12: error: expected ';' before 'ndouble'
ll ndouble=nmod*nmod;
^
0_0_30423336_11508.cpp:31:12: error: expected ';' before 'ntriple'
ll ntriple=ndouble*nmod;
^
0_0_30423336_11508.cpp:32:12: error: expected ';' before 'res1'
ll res1 = ((ntriple*((a+b)))-(ndouble*a));
^
0_0_30423336_11508.cpp:33:12: error: expected ';' before 'res2'
ll res2= ( (n/2ll)*9ll*nmod*a+(7ll*rr) );
^
0_0_30423336_11508.cpp:35:12: error: expected ';' before 'res'
ll res;
^
0_0_30423336_11508.cpp:36:12: error: 'res1' was not declared in this scope
if(res1>res2){
^
0_0_30423336_11508.cpp:36:17: error: 'res2' was not declared in this scope
if(res1>res2){
^
0_0_30423336_11508.cpp:37:13: error: 'res' was not declared in this scope
res=res2;
^
0_0_30423336_11508.cpp:39:9: error: 'res' was not declared in this scope
res=res1;
^
0_0_30423336_11508.cpp:40:16: error: 'res' was not declared in this scope
dp[mi]=res;
^
0_0_30423336_11508.cpp: In function 'int main()':
0_0_30423336_11508.cpp:57:13: error: 'dp' was not declared in this scope
dp[i]=-1;
^
0_0_30423336_11508.cpp:59:9: error: 'll' was not declared in this scope
ll n;
^
0_0_30423336_11508.cpp:60:14: error: 'n' was not declared in this scope
cin>>n>>a>>b;
^
0_0_30423336_11508.cpp:60:17: error: 'a' was not declared in this scope
cin>>n>>a>>b;
^
0_0_30423336_11508.cpp:60:20: error: 'b' was not declared in this scope
cin>>n>>a>>b;
^
0_0_30423336_11508.cpp:66:9: error: 'dp' was not declared in this scope
dp[0]=b;
^
|