foo.cc: In function 'int main()':
foo.cc:13:5: warning: unused variable 'ans' [-Wunused-variable]
13 | ll ans=0;
| ^~~
foo.cc:11:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
foo.cc:12:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | for (ll i=1;i<=n;i++)scanf("%lld%lld%lld",&s[i],&e[i],&num[i]),num[i+n]=num[i],s[i+n]=s[i],e[i+n]=e[i];
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务