0_0_30419268_9359.cpp:4:1: error: 'll' does not name a type
ll a[12][12];
^
0_0_30419268_9359.cpp:5:1: error: 'll' does not name a type
ll dd(ll yy,ll x,ll y,ll len)
^
0_0_30419268_9359.cpp: In function 'int main()':
0_0_30419268_9359.cpp:16:4: error: 'll' was not declared in this scope
ll t;
^
0_0_30419268_9359.cpp:17:23: error: 't' was not declared in this scope
while(~scanf("%d",&t))
^
0_0_30419268_9359.cpp:18:12: error: 'a' was not declared in this scope
{memset(a,0,sizeof(a));
^
0_0_30419268_9359.cpp:19:15: error: expected ';' before 'i'
for(ll i=1;i<=t;i++)
^
0_0_30419268_9359.cpp:19:19: error: 'i' was not declared in this scope
for(ll i=1;i<=t;i++)
^
0_0_30419268_9359.cpp:20:16: error: expected ';' before 'j'
for(ll j=1;j<=t;j++)
^
0_0_30419268_9359.cpp:20:20: error: 'j' was not declared in this scope
for(ll j=1;j<=t;j++)
^
0_0_30419268_9359.cpp:24:11: error: expected ';' before 'len'
ll len=t;
^
0_0_30419268_9359.cpp:25:11: error: expected ';' before 'sum'
ll sum=0;
^
0_0_30419268_9359.cpp:26:11: error: expected ';' before 'id'
ll id=0;
^
0_0_30419268_9359.cpp:27:15: error: expected ';' before 'i'
for(ll i=1;i<=t/2;i++)
^
0_0_30419268_9359.cpp:27:19: error: 'i' was not declared in this scope
for(ll i=1;i<=t/2;i++)
^
0_0_30419268_9359.cpp:28:12: error: expected ';' before 'M'
{ll M=0;
^
0_0_30419268_9359.cpp:29:19: error: expected ';' before 'j'
for(ll j=i;j<=len-1;j++)
^
0_0_30419268_9359.cpp:29:23: error: 'j' was not declared in this scope
for(ll j=i;j<=len-1;j++)
^
0_0_30419268_9359.cpp:29:26: error: 'len' was not declared in this scope
for(ll j=i;j<=len-1;j++)
^
0_0_30419268_9359.cpp:31:17: error: expected ';' before 'r'
ll r=len+i-1; ll MM=dd(i,i,j,len);
^
0_0_30419268_9359.cpp:31:31: error: expected ';' before 'MM'
ll r=len+i-1; ll MM=dd(i,i,j,len);
^
0_0_30419268_9359.cpp:32:19: error: 'M' was not declared in this scope
if(M<MM)
^
0_0_30419268_9359.cpp:32:21: error: 'MM' was not declared in this scope
if(M<MM)
^
0_0_30419268_9359.cpp:35:20: error: 'id' was not declared in this scope
id=min(j-i,r-j);
^
0_0_30419268_9359.cpp:35:31: error: 'r' was not declared in this scope
id=min(j-i,r-j);
^
0_0_30419268_9359.cpp:39:21: error: 'id' was not declared in this scope
id=min(id,min(j-i,r-j));
^
0_0_30419268_9359.cpp:39:39: error: 'r' was not declared in this scope
id=min(id,min(j-i,r-j));
^
0_0_30419268_9359.cpp:43:12: error: 'sum' was not declared in this scope
sum+=M;
^
0_0_30419268_9359.cpp:43:17: error: 'M' was not declared in this scope
sum+=M;
^
0_0_30419268_9359.cpp:45:29: error: 'sum' was not declared in this scope
printf("%lld %lld\n",sum,id);
^
0_0_30419268_9359.cpp:45:33: error: 'id' was not declared in this scope
printf("%lld %lld\n",sum,id);
^
|