0_0_21504217_3380.cpp: In function 'long long int cal(long long int, long long int, long long int)':
0_0_21504217_3380.cpp:40:26: error: 'pri' was not declared in this scope
for (int k=(l-(l%pri)+pri);k<=r;)
^
0_0_21504217_3380.cpp:42:13: error: redeclaration of 'int pri'
int pri=prime[i];
^
0_0_21504217_3380.cpp:40:26: note: '<typeprefixerror>pri' previously declared here
for (int k=(l-(l%pri)+pri);k<=r;)
^
|