horses.cpp: In function 'll bin_pow(int, int)':
horses.cpp:19:23: warning: declaration of 'y' shadows a global declaration [-Wshadow]
19 | ll bin_pow(int x, int y){
| ~~~~^
horses.cpp:18:17: note: shadowed declaration is here
18 | vector <int> x, y;
| ^
horses.cpp:19:16: warning: declaration of 'x' shadows a global declaration [-Wshadow]
19 | ll bin_pow(int x, int y){
| ~~~~^
horses.cpp:18:14: note: shadowed declaration is here
18 | vector <int> x, y;
| ^
horses.cpp: In function 'bool chmax(int&, int)':
horses.cpp:28:24: warning: declaration of 'y' shadows a global declaration [-Wshadow]
28 | bool chmax(int &x, int y){
| ~~~~^
horses.cpp:18:17: note: shadowed declaration is here
18 | vector <int> x, y;
| ^
horses.cpp:28:17: warning: declaration of 'x' shadows a global declaration [-Wshadow]
28 | bool chmax(int &x, int y){
| ~~~~~^
horses.cpp:18:14: note: shadowed declaration is here
18 | vector <int> x, y;
| ^
horses.cpp: In function 'int F()':
horses.cpp:50:12: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
50 | return res;;
| ^~~
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:52:14: warning: declaration of 'N' shadows a global declaration [-Wshadow]
52 | int init(int N, int X[], int Y[]){
| ~~~~^
horses.cpp:16:23: note: shadowed declaration is here
16 | const ll Mod = 1e9+7, N = 5e5+1;
| ^
horses.cpp: In function 'void IO(std::string)':
horses.cpp:13:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | void IO(string name){freopen((name+".in").c_str(),"r",stdin); freopen((name+".out").c_str(),"w",stdout);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
horses.cpp:13:70: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | void IO(string name){freopen((name+".in").c_str(),"r",stdin); freopen((name+".out").c_str(),"w",stdout);}
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~