tri.cpp: In function 'bool chk(std::vector<std::pair<long long int, long long int> >&, pll, pll)':
tri.cpp:25:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m = l+r >> 1;
~^~
tri.cpp: In function 'int CCW(pll, pll, pll)':
tri.cpp:14:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
tri.cpp: In function 'int main()':
tri.cpp:36:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int K, M; scanf("%d%d",&K,&M);
~~~~~^~~~~~~~~~~~~~
tri.cpp:37:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1; i<=K; i++) scanf("%lld%lld", &P[i].X, &P[i].Y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tri.cpp:45:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
pll A, B; scanf("%lld%lld%lld%lld", &A.X, &A.Y, &B.X, &B.Y);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~