divide.cpp:35:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
divide.cpp: In function 'int main()':
divide.cpp:42:56: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld %lld %lld" , &pl[i] , &g[i] , &e[i]);
~~~~~~ ^
divide.cpp:42:56: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
divide.cpp:42:56: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'int*' [-Wformat=]
divide.cpp:49:21: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int mid = r + l >> 1ll;
~~^~~
divide.cpp:42:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld" , &pl[i] , &g[i] , &e[i]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~