/in/foo.cc:12:12: error: '__int64' does not name a type
#define LL __int64
^
/in/foo.cc:15:1: note: in expansion of macro 'LL'
LL power[20];
^~
/in/foo.cc:12:12: error: '__int64' does not name a type
#define LL __int64
^
/in/foo.cc:19:4: note: in expansion of macro 'LL'
LL n,s,sq;
^~
/in/foo.cc: In function 'Node dfs(int, int, int, bool)':
/in/foo.cc:27:9: error: 'struct Node' has no member named 'n'
t.n = (mod!=0 && modSum!=0);
^
/in/foo.cc:28:9: error: 'struct Node' has no member named 's'
t.s = t.sq = 0;
^
/in/foo.cc:28:16: error: 'struct Node' has no member named 'sq'
t.s = t.sq = 0;
^~
/in/foo.cc:31:38: error: 'struct Node' has no member named 'n'
if(!limit && dp[pos][mod][modSum].n!=-1) return dp[pos][mod][modSum];
^
/in/foo.cc:34:8: error: 'struct Node' has no member named 'n'
ans.n = ans.s = ans.sq = 0;
^
/in/foo.cc:34:16: error: 'struct Node' has no member named 's'
ans.n = ans.s = ans.sq = 0;
^
/in/foo.cc:34:24: error: 'struct Node' has no member named 'sq'
ans.n = ans.s = ans.sq = 0;
^~
/in/foo.cc:39:11: error: 'struct Node' has no member named 'n'
ans.n = (ans.n + temp.n)%MOD;
^
/in/foo.cc:39:20: error: 'struct Node' has no member named 'n'
ans.n = (ans.n + temp.n)%MOD;
^
/in/foo.cc:39:29: error: 'struct Node' has no member named 'n'
ans.n = (ans.n + temp.n)%MOD;
^
/in/foo.cc:40:11: error: 'struct Node' has no member named 's'
ans.s = (ans.s + temp.s + ((i * power[pos])%MOD * temp.n) % MOD) % MOD ;
^
/in/foo.cc:40:20: error: 'struct Node' has no member named 's'
ans.s = (ans.s + temp.s + ((i * power[pos])%MOD * temp.n) % MOD) % MOD ;
^
/in/foo.cc:40:29: error: 'struct Node' has no member named 's'
ans.s = (ans.s + temp.s + ((i * power[pos])%MOD * temp.n) % MOD) % MOD ;
^
/in/foo.cc:40:39: error: 'power' was not declared in this scope
ans.s = (ans.s + temp.s + ((i * power[pos])%MOD * temp.n) % MOD) % MOD ;
^~~~~
/in/foo.cc:40:62: error: 'struct Node' has no member named 'n'
ans.s = (ans.s + temp.s + ((i * power[pos])%MOD * temp.n) % MOD) % MOD ;
^
/in/foo.cc:41:11: error: 'struct Node' has no member named 'sq'
ans.sq = (ans.sq + temp.sq + ((2*i*power[pos])%MOD*temp.s)%MOD + (((i*i*power[pos])%MOD*power[pos])%MOD*temp.n)%MOD)%MOD;
^~
/in/foo.cc:41:21: error: 'struct Node' has no member named 'sq'
ans.sq = (ans.sq + temp.sq + ((2*i*power[pos])%MOD*temp.s)%MOD + (((i*i*power[pos])%MOD*power[pos])%MOD*temp.n)%MOD)%MOD;
^~
/in/foo.cc:41:31: error: 'struct Node' has no member named 'sq'
ans.sq = (ans.sq + temp.sq + ((2*i*power[pos])%MOD*temp.s)%MOD + (((i*i*power[pos])%MOD*power[pos])%MOD*temp.n)%MOD)%MOD;
^~
/in/foo.cc:41:63: error: 'struct Node' has no member named 's'
ans.sq = (ans.sq + temp.sq + ((2*i*power[pos])%MOD*temp.s)%MOD + (((i*i*power[pos])%MOD*power[pos])%MOD*temp.n)%MOD)%MOD;
^
/in/foo.cc:41:116: error: 'struct Node' has no member named 'n'
ans.sq = (ans.sq + temp.sq + ((2*i*power[pos])%MOD*temp.s)%MOD + (((i*i*power[pos])%MOD*power[pos])%MOD*temp.n)%MOD)%MOD;
^
/in/foo.cc: At global scope:
/in/foo.cc:12:12: error: '__int64' does not name a type
#define LL __int64
^
/in/foo.cc:46:1: note: in expansion of macro 'LL'
LL calc(LL a)
^~
/in/foo.cc: In function 'void init()':
/in/foo.cc:60:11: error: 'power' was not declared in this scope
memset(power,0,sizeof(power));
^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:12:12: error: '__int64' was not declared in this scope
#define LL __int64
^
/in/foo.cc:70:4: note: in expansion of macro 'LL'
LL l,r;
^~
/in/foo.cc:75:27: error: 'l' was not declared in this scope
scanf(" %lld %lld",&l,&r);
^
/in/foo.cc:75:30: error: 'r' was not declared in this scope
scanf(" %lld %lld",&l,&r);
^
/in/foo.cc:76:10: error: expected ';' before 'ans'
LL ans = (calc(r) - calc(l-1) + MOD)%MOD;
^~~
/in/foo.cc:77:24: error: 'ans' was not declared in this scope
printf("%lld\n", ans);
^~~