foo.cc: In function 'int main()':
foo.cc:30:30: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
#define sc(a) scanf("%lld",&a)
~~^~
#define scc(a,b) scanf("%lld%lld",&a,&b)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define sccc(a,b,c) scanf("%lld%lld%lld",&a,&b,&c)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
using namespace std;
~~~~~~~~~~~~~~~~~~~~~
const int MAXN=1e6+5;
~~~~~~~~~~~~~~~~~~~~~~
const int MOD=1e9+7;
~~~~~~~~~~~~~~~~~~~~~
int n;
~~~~~~~
ll ans;
~~~~~~~~
ll llx[105],lly[105],urx[105],ury[105],x[205],y[205],xx[205],yy[205];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ll abss(ll x)
~~~~~~~~~~~~~~
{
~~
if (x<0) return -x;
~~~~~~~~~~~~~~~~~~~~
return x;
~~~~~~~~~~
}
~~
int main()
~~~~~~~~~~~
{
~~
sc(n);
~~~~
foo.cc:46:2: note: in expansion of macro 'sc'
sc(n);
^~
foo.cc:30:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
#define sc(a) scanf("%lld",&a)
~~~~~^~~~~~~~~~~
foo.cc:46:2: note: in expansion of macro 'sc'
sc(n);
^~
foo.cc:50:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld",&llx[i],&lly[i],&urx[i],&ury[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。