foo.cc: In function 'int main()':
foo.cc:26:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
26 | int T;LL l,r;scanf("%d",&T),pw10[0]=1;
| ~~~~~^~~~~~~~~
foo.cc:28:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
28 | while(T--)scanf("%lld%lld",&l,&r),printf("%d\n",(solve(r)-solve(l-1)+P)%P);
| ~~~~~^~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务