0_0_35715744_10192.cpp:15:9: error: 'LL' does not name a type
int l,r;LL now;
^
0_0_35715744_10192.cpp: In function 'void upl(long long int, long long int)':
0_0_35715744_10192.cpp:62:13: error: 'now' was not declared in this scope
now+=1ll*(p-pp+1)*v*f;
^
0_0_35715744_10192.cpp:65:13: error: 'now' was not declared in this scope
now+=1ll*(r-pp+1)*v*f;
^
0_0_35715744_10192.cpp: In function 'void upr(long long int, long long int)':
0_0_35715744_10192.cpp:77:13: error: 'now' was not declared in this scope
now+=1ll*(pp-p+1)*v*f;
^
0_0_35715744_10192.cpp:80:13: error: 'now' was not declared in this scope
now+=1ll*(pp-l+1)*v*f;
^
0_0_35715744_10192.cpp: At global scope:
0_0_35715744_10192.cpp:87:1: error: 'LL' does not name a type
LL ans[10009];
^
0_0_35715744_10192.cpp: In function 'int main()':
0_0_35715744_10192.cpp:4:13: error: expected primary-expression before 'long'
#define int long long
^
0_0_35715744_10192.cpp:93:13: note: in expansion of macro 'int'
Len=int(sqrt(n)+0.5);
^
0_0_35715744_10192.cpp:103:9: error: 'now' was not declared in this scope
now=0;
^
0_0_35715744_10192.cpp:109:13: error: 'ans' was not declared in this scope
ans[e[i].id]=now;
^
0_0_35715744_10192.cpp:112:29: error: 'ans' was not declared in this scope
printf("%lld\n",ans[i]);
^
|