0_0_36514567_31226.cpp: In function 'db calc(int)':
0_0_36514567_31226.cpp:9:21: error: 'll' was not declared in this scope
int j=i,k=i,c=0;ll t=0;
^
0_0_36514567_31226.cpp:10:25: error: 't' was not declared in this scope
for(;!vis[j];j=a[j])t+=j,++c,vis[j]=1;
^
0_0_36514567_31226.cpp:11:22: error: 't' was not declared in this scope
for(;k!=j;k=a[k])t-=k,--c;
^
0_0_36514567_31226.cpp:12:24: error: 't' was not declared in this scope
return c==0?-1:(db)t/c;
^
|