./Main.cpp: In function ‘int main()’:
./Main.cpp:114:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
114 | printf("%d\n",(d-a-1)/c);
| ~^ ~~~~~~~~~
| | |
| int long long int
| %lld
./Main.cpp:109:13: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
109 | int T;scanf("%d",&T);
| ~~~~~^~~~~~~~~
./Main.cpp:112:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
112 | scanf("%lld%lld%lld%lld",&a,&b,&c,&d);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Main.cpp: At global scope:
./Main.cpp:99:7: warning: ‘void {anonymous}::UNION(int, int)’ defined but not used [-Wunused-function]
99 | void UNION(int a,int b){
| ^~~~~
./Main.cpp:92:7: warning: ‘void {anonymous}::init_UF(int)’ defined but not used [-Wunused-function]
92 | void init_UF(int n){
| ^~~~~~~
./Main.cpp:90:6: warning: ‘int {anonymous}::sig(double)’ defined but not used [-Wunused-function]
90 | int sig(double r) { return (r < -EPS) ? -1 : (r > +EPS) ? +1 : 0; }
| ^~~
./Main.cpp:89:9: warning: ‘double {anonymous}::ABS(double)’ defined but not used [-Wunused-function]
89 | double ABS(double a){return max(a,-a);}
| ^~~
./Main.cpp:88:12: warning: ‘long long int {anonymous}::ABS(long long int)’ defined but not used [-Wunused-function]
88 | long long ABS(long long a){return max(a,-a);}
| ^~~
./Main.cpp:87:6: warning: ‘int {anonymous}::ABS(int)’ defined but not used [-Wunused-function]
87 | int ABS(int a){return max(a,-a);}
| ^~~
./Main.cpp:76:6: warning: ‘int {anonymous}::pw_mod_int(int, int, int)’ defined but not used [-Wunused-function]
76 | int pw_mod_int(i...