horses.cpp: In function 'Node getpref(int)':
horses.cpp:55:5: warning: declaration of 'ans' shadows a global declaration [-Wshadow]
55 | ld ans = 0.;
| ^~~
horses.cpp:30:14: note: shadowed declaration is here
30 | vector<Node> ans;
| ^~~
horses.cpp: In function 'void modifyX(int, int, int, int, int, int)':
horses.cpp:72:18: warning: unused parameter 'l' [-Wunused-parameter]
72 | void modifyX(int l, int r, int L, int R, int val, int node){
| ~~~~^
horses.cpp:72:25: warning: unused parameter 'r' [-Wunused-parameter]
72 | void modifyX(int l, int r, int L, int R, int val, int node){
| ~~~~^
horses.cpp:72:32: warning: unused parameter 'L' [-Wunused-parameter]
72 | void modifyX(int l, int r, int L, int R, int val, int node){
| ~~~~^
horses.cpp:72:39: warning: unused parameter 'R' [-Wunused-parameter]
72 | void modifyX(int l, int r, int L, int R, int val, int node){
| ~~~~^
horses.cpp:72:46: warning: unused parameter 'val' [-Wunused-parameter]
72 | void modifyX(int l, int r, int L, int R, int val, int node){
| ~~~~^~~
horses.cpp:72:55: warning: unused parameter 'node' [-Wunused-parameter]
72 | void modifyX(int l, int r, int L, int R, int val, int node){
| ~~~~^~~~
horses.cpp: In function 'void modifyY(int, int)':
horses.cpp:75:18: warning: unused parameter 'pos' [-Wunused-parameter]
75 | void modifyY(int pos, int val){
| ~~~~^~~
horses.cpp:75:27: warning: unused parameter 'val' [-Wunused-parameter]
75 | void modifyY(int pos, int val){
| ~~~~^~~
horses.cpp: In function 'int init(int, int*, int*)':
horses.cpp:85:16: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
85 | return ans[1].mul;
horses.cpp: In function 'int updateX(int, int)':
horses.cpp:90:16: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
90 | return ans[1].mul;
horses.cpp: In function 'int updateY(int, int)':
horses.cpp:95:16: warning: conversion from 'll' {aka 'long long int'} to 'int' may change value [-Wconversion]
95 | return ans[1].mul;